Template:Tsinghua:Common-Style

From 2014.igem.org

(Difference between revisions)
Line 287: Line 287:
iGEM top section
iGEM top section
*******************************************/
*******************************************/
 +
/* Styles for Wiki*/
 +
#p-logo {
 +
    height:0px; overflow:hidden; display: none;
 +
}
#top-section {
#top-section {
-
     position: relative;
+
     background-color: #444444;
     height: 20px;
     height: 20px;
-
     width: 960px;
+
     border-width:0px;
-
margin: 0 auto 0 auto;
+
    border-top-width:0px;
}
}
-
 
+
#content {
-
#p-logo {
+
line-height: normal;
-
    position: absolute;
+
     width: 975px;
-
     z-index: 1;
+
     border-left-width:0px;
-
     height: 20px;
+
     border-right-width:0px;
-
     width: 960px;
+
     padding:0px;
-
}
+
-
#p-logo h5 {
+
-
     display: none;
+
}
}
-
#p-logo a,
 
-
#p-logo a:hover {
 
-
    text-decoration: none;
 
-
}
 
-
#search-controls {
+
#contentSub {
-
position: absolute;
+
display: none;
-
right: 15px;
+
-
width: 150px;
+
-
height: 20px;
+
-
background-color: transparent;
+
-
    text-align: center;
+
-
    z-index: 3;
+
-
}
+
-
input.searchButton {
+
-
margin: 1px 5px 0 10px;
+
-
font-size: 100%;
+
-
background: none;
+
-
border: none;
+
-
color: #AAAAFF;
+
-
font-weight: bold;
+
-
}
+
-
input.searchButton:hover {
+
-
color: white;
+
-
}
+
-
#searchInput {
+
-
    width: 10.9em;
+
-
    margin: 0;
+
-
    font-size: 95%;
+
-
}
+
-
#searchGoButton {
+
-
margin-right: 0px;
+
-
margin-left: 35px;
+
}
}
-
 
+
.firstHeading {
-
#menubar {
+
     display: none;
-
     position: absolute;
+
-
    white-space: nowrap;
+
-
    top: 0px;
+
-
    width: 400px;
+
-
    z-index: 5;
+
-
    font-family: sans-serif;
+
-
    font-size: 95%;
+
-
height: 20px;
+
-
    line-height: 0px;
+
}
}
-
 
+
div#catlinks {
-
.left-menu, .left-menu a {
+
     visibility: hidden;
-
     left: 0px;
+
     height: 0px;
-
     text-align: left;
+
-
    color:transparent;
+
-
    text-transform: lowercase;
+
}
}
-
 
+
#searchInput
-
.left-menu:hover {
+
{
-
     color: white;
+
     position:relative;
-
     background-color: #555555
+
     height:0px;
 +
    margin-bottom:0em;
 +
    visibility:hidden;
}
}
-
.right-menu, .right-menu a {
+
input.searchButton
-
    right: 0px;
+
{
-
     text-align: right;
+
    height:0px;
-
     color: white;
+
     margin-bottom:0em;
 +
     visibility:hidden;
}
}
-
#menubar ul {
 
-
    color: #555555;
 
-
    list-style: none;
 
-
}
 
-
#menubar li {
 
-
display: inline;
 
-
position: relative;
 
-
cursor: pointer;
 
-
padding-top: 0px;
 
-
}
 
-
.left-menu li a {
 
-
    padding: 0px 0px 0px 0px;
 
-
}
 
-
.left-menu .selected {
 
-
#    color: white;
 
-
}
 
-
#.left-menu .selected:hover {
 
-
#    color: #5555FF;
 
-
#}
 
-
.left-menu:hover a {
+
div#bodyContent > p:first-child {
-
    color: white;
+
display:none;
}
}
-
.right-menu li {
 
-
#    background-color: #606060;
 
-
}
 
-
.right-menu li a {
 
-
    padding: 0px 0px 0px 0px;
 
-
    color: white;
 
-
    background-color: #606060;
 
-
}
 
-
.right-menu li a:hover {
 
-
    color: #aaaaff;
 
-
    text-decoration: underline;
 
-
}
 
-
 
/* ~~ The footer ~~ */
/* ~~ The footer ~~ */

Revision as of 06:08, 14 October 2014