Difference between revisions of "User:Akai/myskin.css"
From ASSS Wiki
m |
m |
||
| Line 5: | Line 5: | ||
} | } | ||
| − | li { /* all list items */ | + | ul > li:first-child { /* all list items */ |
float: left; | float: left; | ||
position: relative; | position: relative; | ||
| Line 11: | Line 11: | ||
} | } | ||
| − | li | + | li { /* second-level lists */ |
display: none; | display: none; | ||
position: absolute; | position: absolute; | ||
Revision as of 22:58, 15 January 2005
ul { /* all lists */
padding: 0;
margin: 0;
list-style: none;
}
ul > li:first-child { /* all list items */
float: left;
position: relative;
width: 10em;
}
li { /* 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;
}