MediaWiki:Monobook.css
From Wiki.cyring.fr
(Difference between revisions)
Line 101: | Line 101: | ||
#access a { | #access a { | ||
- | color: #624740; | + | color: #624740; |
- | + | display: block; | |
- | line-height: 22px; | + | line-height: 22px; |
- | margin: 0px 24px 0px 0px; | + | margin: 0px 24px 0px 0px; |
- | padding: 0px 8px 0px 12px; | + | padding: 0px 8px 0px 12px; |
+ | text-decoration: none; | ||
} | } | ||
#access ul ul { | #access ul ul { |
Revision as of 15:49, 14 May 2012
/* Monobook's child theme by CyrIng. */ body { background-color: #aa4400; background-image: none; } div#header { background-color: #ffffff; height: 4.5em; margin: 1% 1% 0 1%; padding: 0 0 0.5em; } div#globalWrapper { background-color: #ffffff; border-top: 1px solid #aa4400; height: 98%; margin: 0 1% 0; position: absolute; width: 98%; } div#shadow { background-color: rgba(255, 255, 255, 1.0); min-height: 95%; min-width: 100%; margin: 0; padding: 0; } div#footer { border-bottom: 1px solid #aa4400; border-top: 1px solid #aa4400; } div#column-content { margin: 0 0 0.6em 0; width: 85% } div#column-one { max-width: 15%; } div#content { margin: 2.8em 0 0 0; } a:hover { background-color: #aa4400; text-decoration: none; color: #fff0f0; } #p-personal li a:hover { background-color: #aa4400; color: #fff0f0; border-radius: 0.3em 0.3em 0.3em 0.3em; } #p-cactions { left: 15%; } #p-cactions li a:hover { background-color: #aa4400; color: #fff0f0; } .portlet { padding: 0 0.5em; width: auto; } .portlet li { white-space: nowrap; } #p-logo { float: left; height: auto; padding: 0.5em 0 0 1em; position: relative; width: auto; } #p-logo a, #p-logo a:hover { height: 45px; width: 135px; } #p-logo a:hover { background-color: transparent; } div#access { float: left; margin: 2.5em 0 0 1.5em; } #access a { color: #624740; display: block; line-height: 22px; margin: 0px 24px 0px 0px; padding: 0px 8px 0px 12px; text-decoration: none; } #access ul ul { background: #fff0f0; border: 1px solid #aa4400; box-shadow: 2px 3px 1px #aa4400; display: none; padding: 6px 0; position: absolute; top: auto; width: 10em; z-index: 99999; } #access ul ul li { min-width: 100%; white-space: nowrap; } #access ul ul ul { left: 100%; max-width: 100%; min-width: 100%; position: absolute; top: -7px; } #access ul ul a { background: transparent; height: auto; line-height: 22px; margin: 2px 6px; padding: 2px 6px; width: auto; } #access ul li.current_page_item > a { color: #0066CC; } #access ul li.current-menu-ancestor > a { background: #624740; border-radius: 0.3em 0.3em 0.3em 0.3em; color: #fff0f0; } #access ul li.current-menu-item > a { background: #624740; border-radius: 0.3em 0.3em 0.3em 0.3em; color: #fff0f0; } #access ul li.current-menu-parent > a { background: #624740; border-radius: 0.3em 0.3em 0.3em 0.3em; color: #fff0f0; } #access li:hover > a, #access ul ul :hover > a { background: #aa4400; border-radius: 0.3em 0.3em 0.3em 0.3em; color: #fff0f0; } #access ul li.current-menu-parent:hover > a { background: #aa4400; border-radius: 0.3em 0.3em 0.3em 0.3em; }