Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
m |
(Add navbox CSS) |
||
Line 76: | Line 76: | ||
td.mw-wikiforum-thread-main, td.mw-wikiforum-thread-sub { | td.mw-wikiforum-thread-main, td.mw-wikiforum-thread-sub { | ||
word-break: break-word; | word-break: break-word; | ||
+ | } | ||
+ | |||
+ | /* Default styling for Navbar template */ | ||
+ | .navbar { | ||
+ | display: inline; | ||
+ | font-size: 88%; | ||
+ | font-weight: normal; | ||
+ | } | ||
+ | .navbar ul { | ||
+ | display: inline; | ||
+ | white-space: nowrap; | ||
+ | } | ||
+ | .mw-body-content .navbar ul { | ||
+ | line-height: inherit; | ||
+ | } | ||
+ | .navbar li { | ||
+ | word-spacing: -0.125em; | ||
+ | } | ||
+ | .navbar.mini li abbr[title] { | ||
+ | font-variant: small-caps; | ||
+ | border-bottom: none; | ||
+ | text-decoration: none; | ||
+ | cursor: inherit; | ||
+ | } | ||
+ | /* Navbar styling when nested in infobox and navbox */ | ||
+ | .infobox .navbar { | ||
+ | font-size: 100%; | ||
+ | } | ||
+ | .navbox .navbar { | ||
+ | display: block; | ||
+ | font-size: 100%; | ||
+ | } | ||
+ | .navbox-title .navbar { | ||
+ | /* @noflip */ | ||
+ | float: left; | ||
+ | /* @noflip */ | ||
+ | text-align: left; | ||
+ | /* @noflip */ | ||
+ | margin-right: 0.5em; | ||
} | } |
Revision as of 02:24, 19 February 2019
body { font-family: "Helvetica Neue",Helvetica,Arial,sans-serif; } .wikia-infobox { border: 1px #a2a9b1 solid; background: #f8f9fa; float: right; line-height: 15px; margin: 0 0 16px 16px; padding: 15px 8px 8px; width: 247px } .wikia-infobox td, .wikia-infobox th { overflow:hidden; padding: 2px 3px 7px; vertical-align:top } .wikia-infobox th { font-weight: bold; text-align: left; width: 20% } .wikia-infobox .wikia-infobox-header { font-size: 17px; font-weight: bold; margin-top: 20px; padding: 5px 3px 8px; text-align: left } .wikia-infobox th .wikia-infobox-section-header { border-top: 1px #a2a9b1 solid; margin-top: 7px; padding-top: 20px } .wikia-infobox .wikia-infobox-image { overflow: hidden; padding: 0; text-align: center; width: 225px } .wikia-infobox .wikia-infobox-caption { font-size: 12px; text-align: center } .mainpage-table { border-spacing: 1em; } .mainpage-table th { padding: 12pt; font-size: 2em; border-top-left-radius: 12pt; border-top-right-radius: 12pt; background: #fe7e02; } .mainpage-table td { padding: 1em; border-bottom-left-radius: 12pt; border-bottom-right-radius: 12pt; background: #fdb25b; } .gallerybox .thumb img { border: 1px #7f7f7f solid; } td.mw-wikiforum-thread-main, td.mw-wikiforum-thread-sub { word-break: break-word; } /* Default styling for Navbar template */ .navbar { display: inline; font-size: 88%; font-weight: normal; } .navbar ul { display: inline; white-space: nowrap; } .mw-body-content .navbar ul { line-height: inherit; } .navbar li { word-spacing: -0.125em; } .navbar.mini li abbr[title] { font-variant: small-caps; border-bottom: none; text-decoration: none; cursor: inherit; } /* Navbar styling when nested in infobox and navbox */ .infobox .navbar { font-size: 100%; } .navbox .navbar { display: block; font-size: 100%; } .navbox-title .navbar { /* @noflip */ float: left; /* @noflip */ text-align: left; /* @noflip */ margin-right: 0.5em; }