Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
(Added some routebox rules) |
|||
(8 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
/** GENERAL CLASSES **/ | /** GENERAL CLASSES **/ | ||
.center { | .center { | ||
− | text-align: center; | + | text-align: center !important; |
} | } | ||
.right { | .right { | ||
− | text-align: right; | + | text-align: right !important; |
} | } | ||
Line 17: | Line 17: | ||
text-align: center; | text-align: center; | ||
border: 1px solid #a2a9b1; | border: 1px solid #a2a9b1; | ||
− | + | border-spacing: 3px; | |
− | + | background-color: #f8f9fa; | |
− | + | color: black; | |
− | + | margin: 0.5em 0 0.5em 1em; | |
− | + | padding: 0.2em; | |
− | + | clear: right; | |
− | + | font-size: 88%; | |
− | + | line-height: 1.5em; | |
} | } | ||
Line 32: | Line 32: | ||
.routebox td, .routebox th { | .routebox td, .routebox th { | ||
− | + | vertical-align: top; | |
− | + | text-align: left; | |
} | } | ||
Line 39: | Line 39: | ||
font-size: 125%; | font-size: 125%; | ||
font-weight: bold; | font-weight: bold; | ||
+ | } | ||
+ | |||
+ | .routebox .rb-subheader { | ||
+ | text-align: center; | ||
+ | background: #006A4D; | ||
+ | color:white; | ||
+ | } | ||
+ | |||
+ | /** BANNER MESSAGE **/ | ||
+ | .banner_message { | ||
+ | border-top: 1px solid #ccc; | ||
+ | border-bottom: 1px solid #ccc; | ||
+ | margin: 5px 0; | ||
+ | padding: 5px 0; | ||
+ | } | ||
+ | |||
+ | .banner_message.see { | ||
+ | border: 0 !important; | ||
+ | margin: 0 0 0 1.5em !important; | ||
+ | padding: 0 !important; | ||
} | } |
Latest revision as of 09:46, 3 July 2021
/* CSS placed here will be applied to all skins */ /** GENERAL CLASSES **/ .center { text-align: center !important; } .right { text-align: right !important; } /** ROUTEBOX **/ .routebox { float: right; width: 22em; width: 300px; text-align: center; border: 1px solid #a2a9b1; border-spacing: 3px; background-color: #f8f9fa; color: black; margin: 0.5em 0 0.5em 1em; padding: 0.2em; clear: right; font-size: 88%; line-height: 1.5em; } .routebox > table { font-size: 90%; } .routebox td, .routebox th { vertical-align: top; text-align: left; } .routebox .rb-routename { font-size: 125%; font-weight: bold; } .routebox .rb-subheader { text-align: center; background: #006A4D; color:white; } /** BANNER MESSAGE **/ .banner_message { border-top: 1px solid #ccc; border-bottom: 1px solid #ccc; margin: 5px 0; padding: 5px 0; } .banner_message.see { border: 0 !important; margin: 0 0 0 1.5em !important; padding: 0 !important; }