User:76561199218134152/common.css: Difference between revisions
From Workers & Resources: Soviet Republic Official Wiki
No edit summary Tag: Manual revert |
No edit summary Tag: Reverted |
||
Line 1: | Line 1: | ||
:root { | :root { | ||
-- | --primary-color: #314550; | ||
} | } | ||
.portable-infobox { | |||
border: 1px solid var(--primary-color); | |||
border-radius: 1px; | |||
background-color: transparent; | |||
} | |||
.mw-body .mw-parser-output h1:after, .mw-body .mw-parser-output h2:after, | |||
.portable-infobox .pi-title { | .portable-infobox .pi-title { | ||
border-bottom: 0; | border-bottom: 0; | ||
line-height: 2; | line-height: 2; | ||
font-weight: | font-size: 22px; | ||
font-weight: bold; | |||
} | |||
.portable-infobox .pi-title, | |||
.portable-infobox .pi-secondary-background { | |||
background-color: var(--primary-color); | |||
color: white; | |||
text-align: center; | |||
} | } | ||
.portable-infobox .pi-secondary-background { | .portable-infobox .pi-secondary-background { | ||
background- | font-size: 16px; | ||
font- | |||
padding-top: 0.5em; | |||
padding-bottom: 0.5em; | |||
} | |||
.pi-section-navigation .pi-section-tab, .pi-media-collection .pi-tab-link { | |||
border: 0; | |||
} | |||
.pi-section-navigation .pi-section-tab.pi-section-active, .pi-section-navigation .pi-section-tab.current, .pi-media-collection .pi-tab-link.current { | |||
background: none; | |||
border-bottom: 3px solid var(--primary-color) !important; | |||
} | |||
.portable-infobox .pi-data-label { | |||
font-weight: bold !important; | |||
} | |||
.pi-data-value { | |||
padding-left: 0 !important; | |||
} | |||
.pi-image { | |||
margin: 10px 5px !important; | |||
} | } |
Revision as of 04:17, 9 October 2024
:root { --primary-color: #314550; } .portable-infobox { border: 1px solid var(--primary-color); border-radius: 1px; background-color: transparent; } .mw-body .mw-parser-output h1:after, .mw-body .mw-parser-output h2:after, .portable-infobox .pi-title { border-bottom: 0; line-height: 2; font-size: 22px; font-weight: bold; } .portable-infobox .pi-title, .portable-infobox .pi-secondary-background { background-color: var(--primary-color); color: white; text-align: center; } .portable-infobox .pi-secondary-background { font-size: 16px; padding-top: 0.5em; padding-bottom: 0.5em; } .pi-section-navigation .pi-section-tab, .pi-media-collection .pi-tab-link { border: 0; } .pi-section-navigation .pi-section-tab.pi-section-active, .pi-section-navigation .pi-section-tab.current, .pi-media-collection .pi-tab-link.current { background: none; border-bottom: 3px solid var(--primary-color) !important; } .portable-infobox .pi-data-label { font-weight: bold !important; } .pi-data-value { padding-left: 0 !important; } .pi-image { margin: 10px 5px !important; }