Always snap to grid
Difference between revisions of "MediaWiki:Monobook.css"
From Unreal Wiki, The Unreal Engine Documentation Site
Line 114: | Line 114: | ||
color: inherit; | color: inherit; | ||
padding: 0; | padding: 0; | ||
+ | margin: 0; | ||
} | } | ||
.highlighted-source, .highlighted-source * { | .highlighted-source, .highlighted-source * { |
Revision as of 11:54, 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 */ #p-cactions li, #p-cactions li a { background: #e0f0f7; } #content, #p-cactions li.selected a, #p-cactions li a:hover { background: #eff7ff; } /* page tab border color */ #p-cactions li { border-color: #c0c0c0; } #p-cactions li.selected { border-color: #aaa; } /* personal links */ #p-personal li a:hover { background-color: transparent; text-decoration: underline; } /* heading line color */ h1, h2 { border-bottom: #cde solid 1px; } hr { color: #909; background-color: #909; margin-top: 1em; margin-bottom: 1em; } /** 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; } #f-list { margin-left: 100px; margin-right: 470px; } #footer li#lastmod { margin-left: 0; } #footer li#disclaimer { margin-right: 0; } /** 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 pre { background-color: transparent; border: none; color: inherit; padding: 0; margin: 0; } .highlighted-source, .highlighted-source * { line-height: 1.1em; } /* </source><!-- end of preview fix --> */