Difference between revisions of "Template:USTC-Software/style.css"

Line 5: Line 5:
 
     width: inherit;
 
     width: inherit;
 
     background-color: #aaa;
 
     background-color: #aaa;
 +
}
 +
#top_menu_14 {
 +
    padding-bottom: 2px;
 +
    background-color: #333;
 
}
 
}
 
#bodyContent {
 
#bodyContent {

Revision as of 05:25, 6 August 2015

html, body, #globalWrapper, #top_menu_14, #content, #globalWrapper > div.visualClear, #top {

   margin: 0;
   border: 0;
   padding: 0;
   width: inherit;
   background-color: #aaa;

}

  1. top_menu_14 {
   padding-bottom: 2px;
   background-color: #333;

}

  1. bodyContent {
   margin: 0 auto;
   width: 965px;
   background-color: #fff;

}

  1. main {
   padding: 10px;

}

  1. top_menu_14 {
   position: relative;

}

  1. bodyContent > ul {
   overflow: hidden;

}

  1. bodyContent > ul, #bodyContent > ul ul {
   list-style: none;
   background: #333;
   margin: 0;
   padding: 0;

}

  1. bodyContent > ul li {
   float: left;

}

  1. 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;

}

  1. bodyContent > ul li a:hover, #bodyContent > ul li span:hover, #bodyContent > ul li strong:hover {
   background: #ecc;

}

  1. bodyContent > ul li ul li {
   float: none;

}

  1. bodyContent > ul li ul {
   display: none;
   position: absolute;

}

  1. bodyContent > ul li:hover ul {
   display: block;

}