Team:HUST-China/template/reset

From 2013.igem.org

(Difference between revisions)
(Created page with "- hiding the top section: body{position:absolute; top:0px; width:100%; height:1480px;} #top-section{ height:0px; border:none; width:980px; margin:0 auto; pad...")
Line 1: Line 1:
-
/* hiding the top section*/
+
<html><style>
-
body{position:absolute; top:0px; width:100%; height:1480px;}
+
#top-section{
#top-section{
-
  height:0px;
+
     position: absolute;
-
     border:none;
+
     width: 100%;
-
     width:980px;
+
     height: 0;
-
     margin:0 auto;
+
     border: none;
-
     padding:0 0 0 0;
+
-
    background-color:transparent;
+
-
    overflow:hide;
+
-
 
+
}
}
-
#p-logo{display:none;}
+
#top-section #menubar.left-menu{
-
#search-controls{display:none;}
+
     position: absolute;
-
#top{display:none;}
+
     top: 0; left: 0;
-
.firstHeading{display:none;}
+
     font-size:10px;
-
/* end of hiding the top section*/
+
-
 
+
-
/* global setting*/
+
-
#globalWrapper{position:absolute; top:0px;left:0px; width:100%; padding:0 0 0 0;margin:0 0 0 0;height:100%;font-family: calibri, Arial, Helvetica, sans-serif;}
+
-
#content{
+
-
    background-color:transparent;
+
-
    border:none;
+
-
    width:1200px;
+
-
    height:700px;
+
-
    marign:0 auto;
+
-
    padding:0 0 0 0;
+
-
    top:-40px;
+
-
    }
+
-
#bodyContent{
+
-
    background-color:transparent;
+
-
    border:none;
+
-
   
+
-
    }
+
-
siteSub{
+
-
    display:none;
+
-
    border:none;
+
-
    }
+
-
contentSub{
+
-
    display:none;
+
-
    }
+
-
/* end of global setting*/
+
-
 
+
-
/*hiding the footer-box*/
+
-
#footer-box{display:none;}
+
-
#catlinks{display:none;}
+
-
/*end of hiding the footer book*/
+
-
 
+
-
/* menu (page, edit ...) */
+
-
#menubar {
+
-
    background-color:transparent;
+
-
     position: relative;
+
-
    float:left;
+
-
    white-space: nowrap;
+
-
     top:-6px;
+
-
    width: 490px;
+
-
    z-index: 5000;
+
-
    font-family: sans-serif;
+
-
     font-size: 95%;
+
-
    line-height: 1em;
+
-
    z-index:99;
+
}
}
-
 
+
#top-section #menubar.right-menu{
-
 
+
     position: absolute;
-
.left-menu, .left-menu a {
+
     top: 0; right: 0;
-
     text-align: left;
+
     font-size:10px;
-
     color:#999999;
+
-
     text-transform: lowercase;
+
}
}
-
 
+
.editsection,
-
.left-menu:hover {
+
#top-section #p-logo,
-
    color: #D00000;
+
#top-section #search-controls,
-
     background-color: transparent;
+
#content h1.firstHeading,
 +
#content #bodyContent #contentSub,
 +
#content #bodyContent p,    /* holly crap, they have p element for script tag and no id and no class... */
 +
#catlinks{
 +
     display: none;
}
}
-
 
+
#globalWrapper,
-
.right-menu{width:400px; float:right}
+
#globalWrapper #content{
-
.right-menu, .right-menu a {
+
    background: none;
-
     right: 0px;
+
    margin: 0;
-
     text-align: right;
+
     padding: 0;
-
     color: #999999;
+
     border: none;
 +
     width: auto;
}
}
-
#menubar ul {
 
-
    color: #999999;
 
-
    list-style: none;
 
-
}
 
-
#menubar li {
 
-
    display: inline;
 
-
    position: relative;
 
-
    cursor: pointer;
 
-
    padding-left: 0px;
 
-
    padding-right: 0px;
 
-
}
 
-
.left-menu li a {
 
-
    padding: 0px 10px 0px 0px;
 
-
}
 
-
.left-menu .selected {
 
-
#    color: #999999;
 
-
}
 
-
#.left-menu .selected:hover {
 
-
#    color: #999999;
 
-
#}
 
-
.left-menu:hover a {
+
#footer-box {
-
    color: #999999;;
+
border-top: 1px solid #E4E4E4;
 +
border-right: 0px;
 +
border-bottom: 0px;
 +
border-left: 0px;
}
}
-
.left-menu li a:hover {
+
/* because I hide p element in #bodyContent */
-
    color: #D00000;
+
#content #bodyContent div p{
-
    text-decoration: underline;
+
     display: block;
-
}
+
-
 
+
-
 
+
-
.right-menu li {
+
-
#   background-color: transparent;
+
-
}
+
-
.right-menu li a {
+
-
     padding: 0px 15px 0px 0px;
+
-
    color: #999999;;
+
-
    background-color: transparent;
+
}
}
-
.right-menu li a:hover {
+
body{
-
    color: #D00000;
+
font-size:14px;
-
    text-decoration: underline;
+
font-family:Tahoma,Helvetica,Simsun,STHeiti,
 +
Georgia,"Lucida Grande", Verdana, Lucida,Arial, Helvetica, 宋体,sans-serif;
 +
cursor:default;
 +
background: #e7e9e6;
 +
position: relative;
}
}
-
/* end menu (edit, page ...) */
 

Revision as of 05:57, 21 September 2013