MediaWiki:Common.css: Difference between revisions
From SoftDiamond Wiki
Jump to navigationJump to search
SoftDiamond (talk | contribs) No edit summary |
SoftDiamond (talk | contribs) No edit summary |
||
Line 4: | Line 4: | ||
#f-list #disclaimer { display: none; } | #f-list #disclaimer { display: none; } | ||
. | /* Navbox template style */ | ||
table.navbox { | |||
border: 1px solid #aaa; | |||
clear: both; | |||
margin: 0 | /*font-size: 12px;*/ | ||
margin-top: 0.75em !important; | |||
width: | /*text-align: center;*/ | ||
width: 100%; | |||
border-radius: 8px; | |||
padding: 6px; | |||
background-color: var(--template-background-color-1); | |||
background-color | |||
} | } | ||
. | |||
/* Border between adjacent navboxes */ | |||
table.navbox + table.navbox { | |||
margin-top: -1px; | |||
} | } | ||
. | |||
text-align: center; | .navbox-title, | ||
background-color: | .navbox-abovebelow, | ||
table.navbox th { | |||
padding-left: 1em; | |||
padding-right: 1em; | |||
text-align: center; | |||
} | |||
.navbox-group { | |||
font-weight: bold; | |||
padding-left: 1em; | |||
padding-right: 1em; | |||
white-space: nowrap; | |||
} | |||
/* Base background */ | |||
.navbox, .navbox-subgroup { | |||
background: rgba(0, 0, 0, 0.1); | |||
} | |||
.navbox-list { | |||
border-color: rgba(0, 0, 0, 0.1); /* Must match background color */ | |||
} | } |
Revision as of 08:53, 22 February 2023
/* CSS placed here will be applied to all skins */ #f-list #privacy { display: none; } #f-list #disclaimer { display: none; } /* Navbox template style */ table.navbox { border: 1px solid #aaa; clear: both; /*font-size: 12px;*/ margin-top: 0.75em !important; /*text-align: center;*/ width: 100%; border-radius: 8px; padding: 6px; background-color: var(--template-background-color-1); } /* Border between adjacent navboxes */ table.navbox + table.navbox { margin-top: -1px; } .navbox-title, .navbox-abovebelow, table.navbox th { padding-left: 1em; padding-right: 1em; text-align: center; } .navbox-group { font-weight: bold; padding-left: 1em; padding-right: 1em; white-space: nowrap; } /* Base background */ .navbox, .navbox-subgroup { background: rgba(0, 0, 0, 0.1); } .navbox-list { border-color: rgba(0, 0, 0, 0.1); /* Must match background color */ }