Template:Tsinghua:Navigation-Style

From 2013.igem.org

(Difference between revisions)
Line 2: Line 2:
<style type="text/css">
<style type="text/css">
body{
body{
-
margin: 0px;
+
margin: 0px;
-
font-family: "Arial", sans-serif;
+
font-family: "Arial", sans-serif;
}
}
#main{
#main{
-
border-left: 10px solid #A40004;
+
border-left: 10px solid #A40004;
-
min-height:600px;
+
min-height:600px;
}
}
#header{
#header{
-
height: 120px;
+
height: 120px;
}
}
#team-logo{
#team-logo{
-
height: 100%;
+
height: 100%;
-
width: auto;
+
width: auto;
-
float: left;
+
float: left;
}
}
#title-box{
#title-box{
-
height: 100%;
+
height: 100%;
-
overflow: hidden;
+
overflow: hidden;
-
border-bottom: 1px solid #ccc;
+
border-bottom: 1px solid #ccc;
}
}
#title-bar{
#title-bar{
-
margin-top: 30px;
+
margin-top: 30px;
-
height: 60%;
+
height: 60%;
-
float:right;
+
float:right;
}
}
#page-title{
#page-title{
-
font-size:24px;
+
font-size:24px;
-
font-style: italic;
+
font-style: italic;
-
bottom: 20px;
+
bottom: 20px;
}
}
#lefter{
#lefter{
-
float: left;
+
float: left;
-
margin-right: 10px;
+
margin-right: 10px;
}
}
#menu{
#menu{
-
position: relative;
+
position: relative;
-
width: 140px;
+
width: 140px;
-
margin: 5px 0px 0px 20px;
+
margin: 5px 0px 0px 20px;
-
float:left;
+
float:left;
}
}
#left-three-box{
#left-three-box{
-
width: 30px;
+
width: 30px;
-
height: 30px;
+
height: 30px;
-
margin-left:10px;
+
margin-left:10px;
}
}
.menu-item{
.menu-item{
-
position:relative;
+
position:relative;
-
border-bottom: 2px solid #ccc;
+
border-bottom: 2px solid #ccc;  
-
line-height: 25px;
+
line-height: 25px;
-
font-size: 16px;
+
font-size: 16px;
-
cursor:pointer;
+
cursor:pointer;
}
}
.sub-menu{
.sub-menu{
-
margin: 0px 0px 5px 30px;
+
margin: 0px 0px 5px 30px;
-
color: #000;
+
color: #000;
-
font-style: italic;
+
font-style: italic;
}
}
.sub-menu-item{
.sub-menu-item{
-
position:relative;
+
position:relative;
-
border-bottom: 2px solid #fff;
+
border-bottom: 2px solid #fff;  
-
line-height: 25px;
+
line-height: 25px;
-
font-size: 14px;
+
font-size: 14px;
-
cursor:pointer;
+
cursor:pointer;
}
}
.menu-item a {
.menu-item a {
-
text-decoration: none;
+
text-decoration: none;
-
color: black;
+
color: black;
}
}
.menu-selected{
.menu-selected{
-
color:#A40004;
+
color:#A40004;
-
border-bottom: 2px solid #A40004;
+
border-bottom: 2px solid #A40004;
}
}
#top-box {
#top-box {
-
position: fixed;
+
position: fixed;
-
right: 30px;
+
right: 30px;
-
top: 200px;
+
top: 200px;
-
width: 100px;
+
width: 100px;
-
height: 80px;
+
height: 80px;
-
background-color: #c4fbf8;
+
background-color: #c4fbf8;
-
text-align: center;
+
text-align: center;
}
}
#top-box div{
#top-box div{
-
width: 3em;
+
width: 3em;
-
height: 1em;
+
height: 1em;
}
}
#mycontent{
#mycontent{
-
float: left;
+
float: left;
-
width: 78%;
+
width: 78%;
-
font-size: 14px;
+
font-size: 14px;
-
margin: 10px 0px 10px 10px;
+
margin: 10px 0px 10px 10px;
-
padding: 5px;
+
padding: 5px;
-
border: dashed 0px #3699fc;
+
background-color: #bbfdfa;
 +
border: dashed 1px #3699fc;
}
}
</style>
</style>
</html>
</html>

Revision as of 04:11, 26 September 2013