Difference between revisions of "MediaWiki:Common.css"
From Cargo Handbook - the world's largest cargo transport guidelines website
Line 1: | Line 1: | ||
− | /* | + | /* CSS placed here will be applied to all skins */ |
− | + | body { | |
− | + | background-color: #ffffff; | |
− | |||
− | |||
− | |||
} | } | ||
− | / | + | |
− | div. | + | div#mw-panel div.portal div.body ul li a { |
− | + | color: #00b6dd; | |
+ | } | ||
+ | |||
+ | .mw-body h1, .mw-body h2 { | ||
+ | font-family: sans-serif; | ||
+ | line-height: 1.3; | ||
+ | margin-bottom: 0.25em; | ||
+ | padding: 0; | ||
+ | } | ||
+ | |||
+ | div#mw-panel div.portal div.body ul li { | ||
+ | list-style-image: url("http://www.cargohandbook.com/skins/monobook/bullet.gif?2014-08-12T11:01:40Z"); | ||
+ | list-style-type: square; | ||
+ | } | ||
+ | |||
+ | div#mw-panel div.portal div.body ul li a:visited { | ||
+ | color: #00b6dd; | ||
+ | } | ||
+ | |||
+ | a { | ||
+ | color: #00b6dd; | ||
+ | |||
+ | } | ||
+ | |||
+ | .mw-body a.external { | ||
+ | color: #00b6dd; | ||
+ | } | ||
+ | |||
+ | .mw-body a.external:visited { | ||
+ | color: #00b6dd; | ||
+ | } | ||
+ | |||
+ | a:visited { | ||
+ | color: #00b6dd; | ||
} | } | ||
− | # | + | div#mw-head { |
− | + | position: absolute; | |
− | + | right: 0; | |
− | + | top: 208px; | |
− | + | width: 100%; | |
+ | z-index: 100; | ||
} | } | ||
− | + | .mw-body { | |
+ | margin-left: 11em; | ||
+ | margin-top: 207px; | ||
+ | padding: 1.25em 1.5em 1.5em; | ||
+ | } | ||
− | |||
− | #mw- | + | div#mw-panel { |
+ | font-size: inherit; | ||
+ | left: 0; | ||
+ | padding-top: 1em; | ||
+ | position: absolute; | ||
+ | top: 160px; | ||
+ | width: 100em; | ||
+ | } | ||
+ | |||
+ | #p-logo { | ||
+ | left: 0.5em; | ||
+ | } | ||
+ | #p-logo { | ||
+ | height: 290px; | ||
+ | left: 0; | ||
+ | position: absolute; | ||
+ | top: -160px; | ||
+ | width: 120em; | ||
+ | } | ||
+ | |||
+ | |||
+ | #p-logo a { | ||
+ | background-position: center center; | ||
+ | background-repeat: no-repeat; | ||
+ | display: block; | ||
+ | height: 287px; | ||
+ | text-decoration: none; | ||
+ | width: 120em; | ||
+ | } | ||
+ | |||
+ | #mw-page-base { | ||
+ | background-color: #ffffff; | ||
+ | background-image: none; | ||
+ | background-position: left bottom; | ||
+ | background-repeat: repeat-x; | ||
+ | height: 5em; | ||
+ | } | ||
+ | |||
+ | #p-personal { | ||
+ | right: 1em; | ||
+ | } | ||
+ | #p-personal { | ||
+ | position: absolute; | ||
+ | right: 0.75em; | ||
+ | top: -13em; | ||
+ | z-index: 100; | ||
+ | } | ||
+ | |||
+ | div#mw-panel #p-logo + div.portal { | ||
+ | background-image: none; | ||
+ | margin-top: 120px; | ||
+ | } | ||
+ | |||
#f-poweredbyico { display: none; } | #f-poweredbyico { display: none; } | ||
#lastmod { display: none; } | #lastmod { display: none; } |
Revision as of 12:59, 13 February 2017
/* CSS placed here will be applied to all skins */ body { background-color: #ffffff; } div#mw-panel div.portal div.body ul li a { color: #00b6dd; } .mw-body h1, .mw-body h2 { font-family: sans-serif; line-height: 1.3; margin-bottom: 0.25em; padding: 0; } div#mw-panel div.portal div.body ul li { list-style-image: url("http://www.cargohandbook.com/skins/monobook/bullet.gif?2014-08-12T11:01:40Z"); list-style-type: square; } div#mw-panel div.portal div.body ul li a:visited { color: #00b6dd; } a { color: #00b6dd; } .mw-body a.external { color: #00b6dd; } .mw-body a.external:visited { color: #00b6dd; } a:visited { color: #00b6dd; } div#mw-head { position: absolute; right: 0; top: 208px; width: 100%; z-index: 100; } .mw-body { margin-left: 11em; margin-top: 207px; padding: 1.25em 1.5em 1.5em; } div#mw-panel { font-size: inherit; left: 0; padding-top: 1em; position: absolute; top: 160px; width: 100em; } #p-logo { left: 0.5em; } #p-logo { height: 290px; left: 0; position: absolute; top: -160px; width: 120em; } #p-logo a { background-position: center center; background-repeat: no-repeat; display: block; height: 287px; text-decoration: none; width: 120em; } #mw-page-base { background-color: #ffffff; background-image: none; background-position: left bottom; background-repeat: repeat-x; height: 5em; } #p-personal { right: 1em; } #p-personal { position: absolute; right: 0.75em; top: -13em; z-index: 100; } div#mw-panel #p-logo + div.portal { background-image: none; margin-top: 120px; } #f-poweredbyico { display: none; } #lastmod { display: none; }