MediaWiki:Monobook.css
From Wiki.cyring.fr
(Difference between revisions)
Line 100: | Line 100: | ||
} | } | ||
- | #access a { | + | div#access a { |
color: #624740; | color: #624740; | ||
display: block; | display: block; | ||
Line 109: | Line 109: | ||
text-decoration: none; | text-decoration: none; | ||
} | } | ||
- | #access ul ul { | + | div#access ul ul { |
background: #fff0f0; | background: #fff0f0; | ||
border: 1px solid #aa4400; | border: 1px solid #aa4400; | ||
Line 120: | Line 120: | ||
z-index: 99999; | z-index: 99999; | ||
} | } | ||
- | #access ul ul li { | + | div#access ul ul li { |
min-width: 100%; | min-width: 100%; | ||
white-space: nowrap; | white-space: nowrap; | ||
} | } | ||
- | #access ul ul ul { | + | div#access ul ul ul { |
left: 100%; | left: 100%; | ||
max-width: 100%; | max-width: 100%; | ||
Line 131: | Line 131: | ||
top: -7px; | top: -7px; | ||
} | } | ||
- | #access ul ul a { | + | div#access ul ul a { |
background: transparent; | background: transparent; | ||
height: auto; | height: auto; | ||
Line 139: | Line 139: | ||
width: auto; | width: auto; | ||
} | } | ||
- | #access ul li.current_page_item > a { | + | div#access ul li.current_page_item > a { |
color: #0066CC; | color: #0066CC; | ||
} | } | ||
- | #access ul li.current-menu-ancestor > a { | + | div#access ul li.current-menu-ancestor > a { |
background: #624740; | background: #624740; | ||
border-radius: 0.3em 0.3em 0.3em 0.3em; | border-radius: 0.3em 0.3em 0.3em 0.3em; | ||
color: #fff0f0; | color: #fff0f0; | ||
} | } | ||
- | #access ul li.current-menu-item > a { | + | div#access ul li.current-menu-item > a { |
background: #624740; | background: #624740; | ||
border-radius: 0.3em 0.3em 0.3em 0.3em; | border-radius: 0.3em 0.3em 0.3em 0.3em; | ||
color: #fff0f0; | color: #fff0f0; | ||
} | } | ||
- | #access ul li.current-menu-parent > a { | + | div#access ul li.current-menu-parent > a { |
background: #624740; | background: #624740; | ||
border-radius: 0.3em 0.3em 0.3em 0.3em; | border-radius: 0.3em 0.3em 0.3em 0.3em; | ||
color: #fff0f0; | color: #fff0f0; | ||
} | } | ||
- | #access li:hover > a, | + | div#access li:hover > a, |
- | #access ul ul :hover > a { | + | div#access ul ul :hover > a { |
background: #aa4400; | background: #aa4400; | ||
border-radius: 0.3em 0.3em 0.3em 0.3em; | border-radius: 0.3em 0.3em 0.3em 0.3em; | ||
color: #fff0f0; | color: #fff0f0; | ||
} | } | ||
- | #access ul li.current-menu-parent:hover > a { | + | div#access ul li.current-menu-parent:hover > a { |
background: #aa4400; | background: #aa4400; | ||
border-radius: 0.3em 0.3em 0.3em 0.3em; | border-radius: 0.3em 0.3em 0.3em 0.3em; | ||
} | } |
Revision as of 16:01, 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; } div#access a { color: #624740; display: block; font-size: 13px; line-height: 22px; margin: 0px 24px 0px 0px; padding: 0px 8px 0px 12px; text-decoration: none; } div#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; } div#access ul ul li { min-width: 100%; white-space: nowrap; } div#access ul ul ul { left: 100%; max-width: 100%; min-width: 100%; position: absolute; top: -7px; } div#access ul ul a { background: transparent; height: auto; line-height: 22px; margin: 2px 6px; padding: 2px 6px; width: auto; } div#access ul li.current_page_item > a { color: #0066CC; } div#access ul li.current-menu-ancestor > a { background: #624740; border-radius: 0.3em 0.3em 0.3em 0.3em; color: #fff0f0; } div#access ul li.current-menu-item > a { background: #624740; border-radius: 0.3em 0.3em 0.3em 0.3em; color: #fff0f0; } div#access ul li.current-menu-parent > a { background: #624740; border-radius: 0.3em 0.3em 0.3em 0.3em; color: #fff0f0; } div#access li:hover > a, div#access ul ul :hover > a { background: #aa4400; border-radius: 0.3em 0.3em 0.3em 0.3em; color: #fff0f0; } div#access ul li.current-menu-parent:hover > a { background: #aa4400; border-radius: 0.3em 0.3em 0.3em 0.3em; }