Difference between revisions of "Template:USTC-Software/style"
Line 135: | Line 135: | ||
footer | footer | ||
{ | { | ||
− | background-color: | + | background-color: lightblue; |
font-size: 20px; | font-size: 20px; | ||
} | } |
Revision as of 22:00, 18 September 2015
/*styles for common elements, ids and classes*/ html, body, #globalWrapper, #top_menu_14, #content, #globalWrapper > div.visualClear, #top {
margin:0; border:0; padding:0; width:inherit; background-color:#aaaaaa;
}
- top_menu_14
{
padding-bottom:2px; background-color:#333333;
}
- mw-content-text
{
margin:0 auto; background-color:#ffffff;
}
- main
{
padding:0; margin-top:16px;
}
- top_menu_14
{
position:fixed; width:100%;
}
- mw-content-text > ul
{
overflow:hidden; height:47px; padding: 20px 300px; position:fixed; top:16px; z-index: 10; font-size:16px; box-sizing: content-box; width:100%; background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
}
- mw-content-text > ul, #mw-content-text > ul ul
{
list-style:none; margin: 0;
}
- mw-content-text > ul li
{
float:left;
}
- mw-content-text > ul li a, #mw-content-text > ul li span, #mw-content-text > ul li strong
{
display:block; padding:10px 15px; color: #555; font-family:'Lucida Handwriting',sans-serif; text-decoration:none; cursor:pointer; -webkit-user-select:none; -moz-user-select:none; -ms-user-select:none;
}
- mw-content-text > ul li a:hover, #mw-content-text > ul li span:hover, #mw-content-text > ul li strong:hover
{
color:#22ff00;
}
- mw-content-text > ul li ul li
{
float:none;
}
- mw-content-text > ul li ul
{
display:none; position:fixed;
}
- mw-content-text > ul li:hover ul
{
display:block; position:fixed;
}
- mw-content-text > ul
{
float:right;
}
- teamLogo
{
width:60px; height:60px; left:0; top:0;
}
/*styles for Page:Project*/ .content {
font-family:Roboto,sans-serif;
}
img.fig {
justify-content:center;
}
div.content > h2 {
font-size:30px;
}
div.content > p {
font-size:20px;
}
div.content > ol {
font-size:20px;
}
footer {
background-color: lightblue; font-size: 20px;
}
- ustc_address
{
text-align: center; padding-left: 100px; padding-top: 60px; margin: 0;
}
- contact
{
float: right; padding: 0 180px; margin-top: -300px;
}
img.contact {
height: 50px;
}
- ustc
{
margin-top: 100px; padding-left: 120px;
}
- dbsc_white
{
width: 200px;
}
- sponseror
{
float: right; margin-top: -150px; margin-right: 240px;
}
- copyright
{
font-size: 12px; margin: 0; padding-bottom: 30px; padding-left: 100px;
}
- top_new
{
position: fixed; width: 50px; right: 30px; bottom: 30px;
}