Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
m |
Taskman 4D (talk | contribs) |
||
(14 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | /* | + | /* General */ |
− | table.navbox { | + | .tw-center { |
− | width: | + | text-align: center; |
+ | } | ||
+ | |||
+ | .tw-right { | ||
+ | text-align: right; | ||
+ | } | ||
+ | |||
+ | .tw-stars { | ||
+ | color: #d4af37; | ||
+ | } | ||
+ | /* General end */ | ||
+ | |||
+ | /* Template:Clear */ | ||
+ | .tw-clear-left { | ||
+ | clear: left; | ||
+ | } | ||
+ | |||
+ | .tw-clear-right { | ||
+ | clear: right; | ||
+ | } | ||
+ | |||
+ | .tw-clear-both { | ||
+ | clear: both; | ||
+ | } | ||
+ | /* Template:Clear end */ | ||
+ | |||
+ | /* Template:HeaderBar */ | ||
+ | .tw-headerbar { | ||
+ | margin: auto; | ||
+ | width: 50%; | ||
+ | } | ||
+ | |||
+ | .tw-headerbar-icon { | ||
+ | width: 40px; | ||
+ | text-align: center; | ||
+ | } | ||
+ | /* Template:HeaderBar end */ | ||
+ | |||
+ | /* Module:IDs */ | ||
+ | .tw-id { | ||
+ | font-family: monospace; | ||
+ | font-size: 13px; | ||
+ | } | ||
+ | /* Module:IDs end */ | ||
+ | |||
+ | /* Infoboxes */ | ||
+ | .tw-infobox { | ||
+ | width: 300px; | ||
+ | margin-left: 5px; | ||
+ | } | ||
+ | |||
+ | .tw-infobox .tw-infobox-header { | ||
+ | font-size: 16px; | ||
+ | text-align: center; | ||
+ | } | ||
+ | |||
+ | .tw-infobox .tw-infobox-multi-top { | ||
+ | border-bottom: 0px solid; | ||
+ | text-align: center; | ||
+ | } | ||
+ | |||
+ | .tw-infobox .tw-infobox-multi-bottom { | ||
+ | border-top: 0px solid; | ||
+ | text-align: center; | ||
+ | } | ||
+ | |||
+ | .tw-infobox .tw-infobox-row-title { | ||
+ | border: 0px solid; | ||
+ | width: 100px; | ||
+ | vertical-align: top; | ||
+ | } | ||
+ | |||
+ | .tw-infobox .tw-infobox-row { | ||
+ | border: 0px solid; | ||
+ | text-align: right; | ||
+ | } | ||
+ | /* Infoboxes end */ | ||
+ | |||
+ | /* Template:Infobox Task */ | ||
+ | .tw-infobox .tw-infobox-row.tw-infobox-task-id-block { | ||
+ | padding-right: 0em; | ||
+ | } | ||
+ | /* Template:Infobox Task end */ | ||
+ | |||
+ | /* Template:Navbox */ | ||
+ | table.tw-navbox { | ||
+ | width: 100%; | ||
margin: auto; | margin: auto; | ||
border: #ddd 1px solid; | border: #ddd 1px solid; | ||
Line 7: | Line 93: | ||
} | } | ||
− | .navbox-header { | + | .tw-navbox-header { |
background: #eef; | background: #eef; | ||
} | } | ||
− | .navbox-header .mw-collapsible-toggle { | + | .tw-navbox-header .mw-collapsible-toggle { |
font-size: 10px; | font-size: 10px; | ||
} | } | ||
− | .navbox-group-title { | + | .tw-navbox-group-title { |
background: #dde; | background: #dde; | ||
font-weight: bold; | font-weight: bold; | ||
Line 21: | Line 107: | ||
} | } | ||
− | .navbox-group-title p, .navbox-group p { | + | .tw-navbox-group-title p, .tw-navbox-group p { |
margin: 0.1em; | margin: 0.1em; | ||
} | } | ||
− | .navbox-group-title p { | + | .tw-navbox-group-title p { |
padding-left: 5px; | padding-left: 5px; | ||
} | } | ||
− | /* | + | /* Template:Navbox end */ |
+ | |||
+ | /* Template:RuleHeader */ | ||
+ | .tw-ruleheader { | ||
+ | margin: 5px; | ||
+ | padding: 5px 10px; | ||
+ | background-color: #eef; | ||
+ | border: 1px solid #ddd; | ||
+ | font-style: italic; | ||
+ | } | ||
+ | /* Template:RuleHeader end */ | ||
+ | |||
+ | /* Template:Update history */ | ||
+ | .tw-update-history { | ||
+ | background: #f8f9fa; | ||
+ | max-height: 350px; | ||
+ | overflow-y: auto; | ||
+ | border: 0px solid black; | ||
+ | border-radius: 2px; | ||
+ | } | ||
+ | |||
+ | .tw-update-history .tw-update-history-list { | ||
+ | list-style-type: none; | ||
+ | list-style-image: none; | ||
+ | margin-left: 0.2em; | ||
+ | } | ||
+ | /* Template:Update history end */ |
Latest revision as of 09:01, 20 October 2023
/* General */ .tw-center { text-align: center; } .tw-right { text-align: right; } .tw-stars { color: #d4af37; } /* General end */ /* Template:Clear */ .tw-clear-left { clear: left; } .tw-clear-right { clear: right; } .tw-clear-both { clear: both; } /* Template:Clear end */ /* Template:HeaderBar */ .tw-headerbar { margin: auto; width: 50%; } .tw-headerbar-icon { width: 40px; text-align: center; } /* Template:HeaderBar end */ /* Module:IDs */ .tw-id { font-family: monospace; font-size: 13px; } /* Module:IDs end */ /* Infoboxes */ .tw-infobox { width: 300px; margin-left: 5px; } .tw-infobox .tw-infobox-header { font-size: 16px; text-align: center; } .tw-infobox .tw-infobox-multi-top { border-bottom: 0px solid; text-align: center; } .tw-infobox .tw-infobox-multi-bottom { border-top: 0px solid; text-align: center; } .tw-infobox .tw-infobox-row-title { border: 0px solid; width: 100px; vertical-align: top; } .tw-infobox .tw-infobox-row { border: 0px solid; text-align: right; } /* Infoboxes end */ /* Template:Infobox Task */ .tw-infobox .tw-infobox-row.tw-infobox-task-id-block { padding-right: 0em; } /* Template:Infobox Task end */ /* Template:Navbox */ table.tw-navbox { width: 100%; margin: auto; border: #ddd 1px solid; font-size: 12px; } .tw-navbox-header { background: #eef; } .tw-navbox-header .mw-collapsible-toggle { font-size: 10px; } .tw-navbox-group-title { background: #dde; font-weight: bold; width: 125px; } .tw-navbox-group-title p, .tw-navbox-group p { margin: 0.1em; } .tw-navbox-group-title p { padding-left: 5px; } /* Template:Navbox end */ /* Template:RuleHeader */ .tw-ruleheader { margin: 5px; padding: 5px 10px; background-color: #eef; border: 1px solid #ddd; font-style: italic; } /* Template:RuleHeader end */ /* Template:Update history */ .tw-update-history { background: #f8f9fa; max-height: 350px; overflow-y: auto; border: 0px solid black; border-radius: 2px; } .tw-update-history .tw-update-history-list { list-style-type: none; list-style-image: none; margin-left: 0.2em; } /* Template:Update history end */