Cogito, ergo sum
Difference between revisions of "MediaWiki:Monobook.css"
From Unreal Wiki, The Unreal Engine Documentation Site
m |
(page tabs and footer adjustments) |
||
Line 1: | Line 1: | ||
− | /* | + | /* <!-- Fix for weird-looking preview and diff, doesn't affect CSS content --><source lang="css"> */ |
− | Fix for weird-looking preview and diff, doesn't affect CSS content | + | |
− | <source lang="css"> | + | |
− | */ | + | |
/** Unreal Wiki Style ********************************************************** | /** Unreal Wiki Style ********************************************************** | ||
Line 33: | Line 30: | ||
#content, | #content, | ||
#p-cactions li, | #p-cactions li, | ||
− | #p-cactions li a | + | #p-cactions li a { |
+ | background: #e0f0f7; | ||
+ | } | ||
#p-cactions li.selected a, | #p-cactions li.selected a, | ||
#p-cactions li a:hover { | #p-cactions li a:hover { | ||
background: #eff7ff; | background: #eff7ff; | ||
+ | } | ||
+ | |||
+ | /* page tab border color */ | ||
+ | #p-cactions li { | ||
+ | border-color: #bbb; | ||
+ | } | ||
+ | #p-cactions li.selected { | ||
+ | border-color: #aaa; | ||
} | } | ||
Line 55: | Line 62: | ||
} | } | ||
#f-poweredbyico { | #f-poweredbyico { | ||
− | top: - | + | top: -4px; |
margin-right: 0px; | margin-right: 0px; | ||
} | } | ||
Line 62: | Line 69: | ||
} | } | ||
#footer { | #footer { | ||
− | height: | + | background: #eee; |
+ | border-top-color: #aaa; | ||
+ | border-bottom-color: #aaa; | ||
+ | height: 42px; | ||
padding: 4px 0pt 14px; | padding: 4px 0pt 14px; | ||
+ | } | ||
+ | #copyright { | ||
+ | white-space: nowrap; | ||
} | } | ||
Line 83: | Line 96: | ||
} | } | ||
− | /* | + | /* </source><!-- end of preview fix --> */ |
− | </source> | + | |
− | + |
Revision as of 07:17, 2 March 2008
/* <!-- Fix for weird-looking preview and diff, doesn't affect CSS content --><source lang="css"> */ /** Unreal Wiki Style ********************************************************** * * Description: Adjustments to the style to give the site a bit more of a unique * identity */ /* global background color */ body { background: #cfe7ff; } /* indent sidebar boxes a tiny bit */ #p-navigation, #p-search, #p-tb { margin-left: 0.4em; width: 11.2em; } /* sidebar box background color */ #p-navigation .pBody, #p-search .pBody, #p-tb .pBody { background: #eff7ff; } /* content and page tab background color */ #content, #p-cactions li, #p-cactions li a { background: #e0f0f7; } #p-cactions li.selected a, #p-cactions li a:hover { background: #eff7ff; } /* page tab border color */ #p-cactions li { border-color: #bbb; } #p-cactions li.selected { border-color: #aaa; } /* heading line color */ h1, h2 { border-bottom: #cde solid 1px; } /** Advertisement placement **************************************************** * * Description: Positions the advertisement corrently, and adjusts the footer * bar to fit in well with it. */ #f-copyrightico { top: 10px; } #f-poweredbyico { top: -4px; margin-right: 0px; } #f-poweredbyico, #f-copyrightico { height: auto; } #footer { background: #eee; border-top-color: #aaa; border-bottom-color: #aaa; height: 42px; padding: 4px 0pt 14px; } #copyright { white-space: nowrap; } /** Source code highlighter modifications ************************************** * * Description: Adjustments to the source code highlighter to fit better with * the rest of the site style. */ .highlighted-source { background-color: #f9f9f9; border: 1px dashed #2f6fab; color: black; padding: 1em; } .highlighted-source, .highlighted-source * { line-height: 1.1em; } /* </source><!-- end of preview fix --> */