MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
No edit summary
Tag: Reverted
No edit summary
 
(14 intermediate revisions by 2 users not shown)
Line 21: Line 21:


.main-page-box {
.main-page-box {
   background-color: #1a1a1a;
   background-color: #191e29;
   color: #ffffff;
   color: #ffffff;
   padding: 20px;
   padding: 10px;
   border-radius: 10px;
   border-radius: 10px;
   margin: 10px;
   margin: 10px;
   flex: 1 1 300px;
   flex: 1 1 300px;
   text-align: center;
   text-align: left;
   box-sizing: border-box;
   box-sizing: border-box;
}
}
 
.Rarity.Standard {
@media (max-width: 900px) {
color: #319dff;
  .box {
    flex: 1 1 100%; /* Each box takes full width in smaller viewports */
  }
}
}


 
.Rarity.Rare {
 
color: #955bff;
.ModuleGenerator-container {
  position: relative;
  width: 298px;
  height: 404px;
}
}


.ModuleGenerator-container img,
.Rarity.Ultimate {
.ModuleGenerator-container span,
color: #ffbb4d;
.ModuleGenerator-container div {
  position: absolute;
}
}


.ModuleGenerator-container img {
.Rarity.Transcendent {
  max-width: 100%;
color: #ff7c70;
  max-height: 100%;
  z-index: 1;
}
}


.ModuleGenerator-container span {
@media (max-width: 900px) {
  display: block;
   .box {
}
    flex: 1 1 100%; /* Each box takes full width in smaller viewports */
 
   }
.ModuleGenerator-bg-light2 {
  opacity: 0.33;
}
 
.ModuleGenerator-icon {
  top: 50px;
  margin-right: auto;
  margin-left: auto;
  left: 0;
  right: 0;
  z-index: 2;
}
 
.ModuleGenerator-module-class {
  width: 36px;
  height: 36px;
  top: 8px;
  left: 10px;
}
 
.ModuleGenerator-socket-type {
   width: 36px;
  height: 36px;
  top: 8px;
  left: 48px;
}
 
.ModuleGenerator-cost-icon {
  width: 36px;
  height: 36px;
  top: 8px;
  right: 36px;
}
 
.ModuleGenerator-cost {
  top: 4px;
  right: 18px;
  color: #fff;
  font-family: "Teko", sans-serif;
  font-size: 36px;
  z-index: 2;
}
 
.ModuleGenerator-name {
  top: 240px;
  color: #fff;
  text-align: center;
  font-family: "Noto Sans", sans-serif;
  font-size: 36px;
  font-weight: 500;
  line-height: 1;
  z-index: 2;
}
 
.ModuleGenerator-rarity-mask {
  left: 25%;
  top: 50px;
  width: 148px;
  height: 148px;
  margin-left: auto;
  margin-right: auto;
   z-index: 2;
}
 
.ModuleGenerator-special-mask {
  z-index: 3;
}
}

Latest revision as of 02:26, 1 July 2024

/* CSS placed here will be applied to all skins */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}
.image-grid img {
    max-width: 100%;
    height: auto;
}

body.page-Main_Page div#siteSub { display: none !important; }


.main-page-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  padding: 20px;
}

.main-page-box {
  background-color: #191e29;
  color: #ffffff;
  padding: 10px;
  border-radius: 10px;
  margin: 10px;
  flex: 1 1 300px;
  text-align: left;
  box-sizing: border-box;
}
.Rarity.Standard {
	color: #319dff;
}

.Rarity.Rare {
	color: #955bff;
}

.Rarity.Ultimate {
	color: #ffbb4d;
}

.Rarity.Transcendent {
	color: #ff7c70;
}

@media (max-width: 900px) {
  .box {
    flex: 1 1 100%; /* Each box takes full width in smaller viewports */
  }
}