1,212
edits
Jack Phoenix (talk | contribs) (cleanup for non-Monobook sidebar CSS and use full URL for Monobook sidebar gradient image) |
Jack Phoenix (talk | contribs) (thanks for making sense, MediaWiki, I really appreciate it) |
||
Line 314: | Line 314: | ||
/*** Monobook Sidebar ***/ | /*** Monobook Sidebar ***/ | ||
/* without an ugly padding */ | /* without an ugly padding */ | ||
#p- | #p-Navigation ul { | ||
margin: 0; | margin: 0; | ||
} | } | ||
#p- | #p-Navigation > div { | ||
border-color: #333; | border-color: #333; | ||
background: #fec423; | background: #fec423; | ||
Line 323: | Line 323: | ||
} | } | ||
/* que no sea un list */ | /* que no sea un list */ | ||
#p- | #p-Navigation li { | ||
display: block; | display: block; | ||
list-style-image: none !important; /* for IE */ | list-style-image: none !important; /* for IE */ | ||
} | } | ||
/* general design of the links */ | /* general design of the links */ | ||
#p- | #p-Navigation li > a { | ||
display: block; | display: block; | ||
position: relative; | position: relative; | ||
Line 342: | Line 342: | ||
} | } | ||
/* special menu just for the class */ | /* special menu just for the class */ | ||
#p- | #p-Navigation > div > ul > li > a { | ||
background: #edce01 url(http://www.halopedian.com/images/8/86/Menu_gradient.png) no-repeat left center; | background: #edce01 url(http://www.halopedian.com/images/8/86/Menu_gradient.png) no-repeat left center; | ||
margin: 1px 1px 0 1px; | margin: 1px 1px 0 1px; | ||
Line 350: | Line 350: | ||
text-shadow: #555 1px 1px 3px; | text-shadow: #555 1px 1px 3px; | ||
} | } | ||
#p- | #p-Navigation > div > ul > li.hover > a { | ||
color: #fff5a1; | color: #fff5a1; | ||
text-shadow: #AAA46C 1px 1px 3px; | text-shadow: #AAA46C 1px 1px 3px; | ||
} | } | ||
#p- | #p-Navigation > div > ul > li > a > em { | ||
right: 8px; | right: 8px; | ||
} | } | ||
/* submenu marker */ | /* submenu marker */ | ||
#p- | #p-Navigation em { | ||
font-style: normal; | font-style: normal; | ||
font-family: arial,sans-serif; | font-family: arial,sans-serif; | ||
Line 369: | Line 369: | ||
} | } | ||
/* hover */ | /* hover */ | ||
#p- | #p-Navigation li > ul > li.hover > a { | ||
background-color: #FFD14E; | background-color: #FFD14E; | ||
} | } | ||
#p- | #p-Navigation li.hover > ul.sub-menu { | ||
display: block; | display: block; | ||
} | } | ||
/* general submenu */ | /* general submenu */ | ||
#p- | #p-Navigation ul.sub-menu { | ||
border: 1px solid #aaa; | border: 1px solid #aaa; | ||
display: none; | display: none; | ||
Line 390: | Line 390: | ||
} | } | ||
/* Only the first */ | /* Only the first */ | ||
#p- | #p-Navigation > div > ul > li > ul.sub-menu { | ||
margin-left: 12.6em; | margin-left: 12.6em; | ||
} | } | ||
/*** End Monobook Sidebar ***/ | /*** End Monobook Sidebar ***/ |