MediaWiki:Common.css: Difference between revisions
Avinasharora (talk | contribs) No edit summary |
Avinasharora (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
#bottom-nav { | #bottom-nav | ||
{ | |||
margin-top:15px | |||
margin | |||
} | } | ||
#bottom-nav | #bottom-nav h3 | ||
margin: | { | ||
list-style:none; | |||
position:relative; | |||
float:left; | |||
margin:0; | |||
padding:0; | |||
display:inline | |||
} | } | ||
#bottom-nav | #bottom-nav ul a | ||
color: # | { | ||
text- | display:block; | ||
color:#333; | |||
text-decoration:none; | |||
font-weight:700; | |||
font-size:12px; | |||
line-height:32px; | |||
padding:0 15px; | |||
font-family:"HelveticaNeue","Helvetica Neue",Helvetica,Arial,sans-serif | |||
} | } | ||
#bottom-nav | |||
#bottom-nav ul li | |||
{ | |||
position:relative; | |||
float:left; | |||
margin:0; | |||
padding:0 | |||
} | |||
#bottom-nav li.current-menu-item | |||
{ | |||
background:#ddd | |||
} | |||
#bottom-nav ul li:hover | |||
{ | |||
background:#f6f6f6 | |||
} | |||
#bottom-nav ul ul | |||
{ | |||
display:none; | |||
position:absolute; | |||
top:100%; | |||
left:0; | |||
background:#fff; | |||
padding:0 | |||
} | |||
#bottom-nav ul ul li | |||
{ | |||
float:none; | |||
width:200px | |||
} | |||
#bottom-nav ul ul a | |||
{ | |||
line-height:120%; | |||
padding:10px 15px | |||
} | |||
#bottom-nav ul ul ul | |||
{ | |||
top:0; | |||
left:100% | |||
} | } | ||
#bottom-nav | #bottom-nav ul li:hover > ul | ||
display: | { | ||
display:block | |||
} | } |
Revision as of 22:35, 7 March 2017
#bottom-nav { margin-top:15px } #bottom-nav h3 { list-style:none; position:relative; float:left; margin:0; padding:0; display:inline } #bottom-nav ul a { display:block; color:#333; text-decoration:none; font-weight:700; font-size:12px; line-height:32px; padding:0 15px; font-family:"HelveticaNeue","Helvetica Neue",Helvetica,Arial,sans-serif } #bottom-nav ul li { position:relative; float:left; margin:0; padding:0 } #bottom-nav li.current-menu-item { background:#ddd } #bottom-nav ul li:hover { background:#f6f6f6 } #bottom-nav ul ul { display:none; position:absolute; top:100%; left:0; background:#fff; padding:0 } #bottom-nav ul ul li { float:none; width:200px } #bottom-nav ul ul a { line-height:120%; padding:10px 15px } #bottom-nav ul ul ul { top:0; left:100% } #bottom-nav ul li:hover > ul { display:block }