Difference between revisions of "Template:USTC-Software/style.css"
Line 1: | Line 1: | ||
+ | html, body, #globalWrapper, #content { | ||
+ | margin: 0; | ||
+ | border: 0; | ||
+ | padding: 0; | ||
+ | } | ||
+ | #bodyContent { | ||
+ | margin: 0 auto; | ||
+ | } | ||
+ | #main { | ||
+ | padding: 5px; | ||
+ | } | ||
+ | #top_menu_14 { | ||
+ | position: relative; | ||
+ | } | ||
+ | |||
#bodyContent > ul { | #bodyContent > ul { | ||
overflow: hidden; | overflow: hidden; | ||
Line 34: | Line 49: | ||
#bodyContent > ul li:hover ul { | #bodyContent > ul li:hover ul { | ||
display: block; | display: block; | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } |
Revision as of 05:12, 6 August 2015
html, body, #globalWrapper, #content {
margin: 0; border: 0; padding: 0;
}
- bodyContent {
margin: 0 auto;
}
- main {
padding: 5px;
}
- top_menu_14 {
position: relative;
}
- bodyContent > ul {
overflow: hidden;
}
- bodyContent > ul, #bodyContent > ul ul {
list-style: none; background: #333; margin: 0; padding: 0;
}
- bodyContent > ul li {
float: left;
}
- bodyContent > ul li a, #bodyContent > ul li span, #bodyContent > ul li strong {
display: block; padding: 10px 15px; color: #ccc; text-decoration: none; border-right: 1px solid; cursor: pointer; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none;
}
- bodyContent > ul li a:hover, #bodyContent > ul li span:hover, #bodyContent > ul li strong:hover {
background: #ecc;
}
- bodyContent > ul li ul li {
float: none;
}
- bodyContent > ul li ul {
display: none; position: absolute;
}
- bodyContent > ul li:hover ul {
display: block;
}