Sb forum speech.png DiscordLink.png FacebookLink.png RedditLink.png SteamLink.png TwitterLink.png YoutubeLink.png

Difference between revisions of "Template:SB Infobox Compact"

From Starbase wiki
Jump to navigation Jump to search
m
m (Removed stylesheets: ported to common.css)
 
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><div class="Infobox-Compact">{{#invoke:SB_Infobox_Begin|main}}</div>{{#css:
<includeonly><div class="Infobox-Compact">{{#invoke:SB_Infobox_Begin|main}}</div>{{#if:{{{includeComposition}}}||{{#css:
.Infobox-Compact {
.Infobox-Compact .SB-IBDS-Construction, .Infobox-Compact .SB-Infobox-Construction-Section {
   display: grid;
   display:none;
  grid-template-columns: repeat(auto-fit, minmax(22em, 1fr));
  grid-gap: 0.5em
}
}
 
}}
.Infobox-Compact .SB-Infobox-Image-Wrap img {
}}
  max-height: 8vw;
</includeonly>
}
 
.Infobox-Compact .SB-Infobox {
  float: none;
  clear: none;
  padding: 0;
  width: auto;
  margin: 0;
}
 
.Infobox-Compact .SB-Infobox-Construction-Section, .Infobox-Compact .SB-Infobox-Data-Section-Header::before, .SB-IBDS-Construction, .Infobox-Compact .SB-Infobox-Header-Caption, .Infobox-Compact p, .Infobox-Compact .IB-Components, .Infobox-Compact .SB-Infobox-Component-Wrap {
  display: none;
}
 
.Infobox-Compact .SB-Infobox-Data-Section-Header {
  margin-top: 0.25em;
}
 
.Infobox-Compact .SB-Infobox-Name {
  font-size: 1.6em;
}
 
.Infobox-Compact .SB-Infobox-Image-Wrap {
  width: 90%;
  margin: auto;
  background: none;
  padding: 1em;
}
 
.Infobox-Compact .SB-Infobox-Header {
  background: linear-gradient(transparent,#3a808045);
  height: 10vw;
}
 
.Infobox-Compact .SB-Infobox-Data-Cell:nth-of-type(3), .Infobox-Compact .SB-Infobox-Data-Cell:nth-of-type(4), .Infobox-Compact .SB-Infobox-Data-Cell:nth-of-type(5) {
  display: none;
}
}}</includeonly>

Latest revision as of 18:53, 7 March 2022

Cookies help us deliver our services. By using our services, you agree to our use of cookies.