Bureaucrats, Check users, Interface administrators, Push subscription managers, Suppressors, Administrators, upwizcampeditors
1,762
edits
imported>Explodabat (testing a fix to the description or other items being compressed by the flexboxes in the infobox display) |
(removing fandom specific css + beautifying) |
||
Line 1: | Line 1: | ||
/* CSS for templates and such */ | /* CSS for templates and such */ | ||
/* Styles by: NHeoShadow | | /* Styles originally by: NHeoShadow | Remade for use on the Galaxypedia by smallketchup82 */ | ||
/* For template cards, like VIP ship only, limited class, admin class, unreleased, etc.. */ | /* For template cards, like VIP ship only, limited class, admin class, unreleased, etc.. */ | ||
div.TemplateRevision .container{ | div.TemplateRevision .container { | ||
background-color: var(--mainbgcolor); | |||
padding: 8px; | |||
font-family: Calibri; | |||
font-size: 14px; | |||
border-top: 5px solid var(--mainbordercolorS); | |||
line-height: 18px; | |||
box-shadow: 1px 1px 1px black; | |||
opacity: 0.90; | |||
transition: 0.5s; | |||
display: block; | |||
cursor: default; | |||
border-radius: 10px; | |||
} | } | ||
div.TemplateRevision .container h1{ | |||
div.TemplateRevision .container h1 { | |||
font-size: 26px; | |||
font-variant: small-caps; | |||
font-weight: bold; | |||
margin: 0; | |||
padding: 0; | |||
display: block; | |||
margin-top: -4px; | |||
} | } | ||
div.TemplateRevision .container h3{ | |||
div.TemplateRevision .container h3 { | |||
font-size: 18px; | font-size: 18px; | ||
font-weight: normal; | font-weight: normal; | ||
Line 32: | Line 34: | ||
padding: 0; | padding: 0; | ||
display: block; | display: block; | ||
} | } | ||
div.TemplateRevision .container:hover { | |||
. | opacity: 1; | ||
} | } | ||
/* Apply header styling to any element classed as a header--used for <p> or similar elements to avoid TOC errors */ | |||
.header1 { | |||
font-size: 26px; | |||
font-variant: small-caps; | |||
font-weight: bold; | |||
margin: 1px !important; | |||
padding: 0; | |||
display: block; | |||
margin-top: -4px !important; | |||
line-height: 34px; | |||
} | } | ||
.header3 { | |||
.header3{ | |||
font-size: 18px; | font-size: 18px; | ||
font-weight: normal; | font-weight: normal; | ||
Line 86: | Line 60: | ||
} | } | ||
/*enforce minimum width on infobox header to prevent flex item compression*/ | /* enforce minimum width on infobox header to prevent flex item compression */ | ||
h3.pi-data-label.pi-secondary-font{ | h3.pi-data-label.pi-secondary-font { | ||
min-width: 90px; | |||
} | } | ||
edits