Difference between revisions of "User:Akai/myskin.css"
From ASSS Wiki
m |
m |
||
Line 1: | Line 1: | ||
+ | ul { /* all lists */ | ||
+ | padding: 0; | ||
+ | margin: 0; | ||
+ | list-style: none; | ||
+ | } | ||
+ | |||
+ | li { /* all list items */ | ||
+ | float: left; | ||
+ | position: relative; | ||
+ | width: 10em; | ||
+ | } | ||
+ | |||
+ | li ul { /* second-level lists */ | ||
+ | display: none; | ||
+ | position: absolute; | ||
+ | top: 1em; | ||
+ | left: 0; | ||
+ | } | ||
+ | |||
+ | li>ul { /* to override top and left in browsers other than IE, which will position to the top right of the containing li, rather than bottom left */ | ||
+ | top: auto; | ||
+ | left: auto; | ||
+ | } | ||
+ | |||
+ | li:hover ul, li.over ul { /* lists nested under hovered list items */ | ||
+ | display: block; | ||
+ | } | ||
body { | body { | ||
background: black; | background: black; |
Revision as of 23:57, 15 January 2005
ul { /* all lists */ padding: 0; margin: 0; list-style: none; } li { /* all list items */ float: left; position: relative; width: 10em; } li ul { /* second-level lists */ display: none; position: absolute; top: 1em; left: 0; } li>ul { /* to override top and left in browsers other than IE, which will position to the top right of the containing li, rather than bottom left */ top: auto; left: auto; } li:hover ul, li.over ul { /* lists nested under hovered list items */ display: block; } body { background: black; color: whitesmoke; font-family: trebuchet ms; font-size: small; } a { color: whitesmoke; } textarea { background: black; color: lightskyblue; border: 1px solid white; padding: 0.25em; font-family: courier; font-size: small; } #f-disclaimer { display: none; } h5 { font-family: trebuchet ms; font-size: small; } table { background-color: black; } #f-poweredbyico { display: none; } pre { color: lightskyblue; } input { background: black; border: 1px solid white; color: limegreen; font-family: trebuchet ms; } input:hover { border: 1px solid limegreen; }