Template:OUC-China/2012css.style.css

From 2012.igem.org

(Difference between revisions)
(Created page with ".ei-slider{ position: relative; width: 100%; max-width: 1920px; height: 400px; margin: 0 auto; } .ei-slider-loading{ width: 100%; height: 100%; position: absolute; top: ...")
 
(3 intermediate revisions not shown)
Line 1: Line 1:
 +
<html>
 +
<style>
 +
@import url('reset.css');
 +
 +
/* General Demo Style */
 +
body{
 +
background: #fff;
 +
color: #000;
 +
font-family: 'Open Sans Condensed', sans-serif;
 +
font-size: 13px;
 +
}
 +
a{
 +
color: #555;
 +
text-decoration: none;
 +
}
 +
.wrapper{
 +
position: relative;
 +
width: 100%;
 +
}
 +
.wrapper p{
 +
clear: both;
 +
font-size: 24px;
 +
line-height: 40px;
 +
text-align: center;
 +
}
 +
.reference{
 +
padding-top: 40px;
 +
}
 +
h1{
 +
font-size: 34px;
 +
position:relative;
 +
color: #000;
 +
font-weight: 400;
 +
text-shadow: 0px 0px 1px rgba(0,0,0,0.3);
 +
    padding: 20px;
 +
z-index:1000;
 +
text-transform: uppercase;
 +
text-align: center;
 +
}
 +
h1 span{
 +
font-family: 'Playfair Display', serif;
 +
font-style: italic;
 +
text-transform: none;
 +
font-size: 20px;
 +
}
 +
.index_header_wrp {
 +
    padding: 4px 0px 0px 0px;
 +
    background: url("https://static.igem.org/mediawiki/igem.org/1/1b/OUC-China-home_header_backgroundimg.png")  repeat-x scroll 0% 0% transparent;
 +
    border-bottom: 1px solid #ffffff;
 +
}
 +
.index_header {
 +
height: 50px;
 +
    margin: 13px auto;
 +
    position: relative;
 +
}
 +
#nav{
 +
margin:0;
 +
padding:0 0 0 1px;
 +
list-style:none;
 +
position:absolute;
 +
top:0;
 +
right:120px;
 +
background:url(https://static.igem.org/mediawiki/2012/b/b2/Ouc-China-home-sep.gif) no-repeat;
 +
}
 +
#nav li {
 +
padding:0 1px 0 0;
 +
float:left;
 +
width:100px;
 +
display:inline;
 +
background:url(https://static.igem.org/mediawiki/2012/b/b2/Ouc-China-home-sep.gif) no-repeat 100% 0;
 +
}
 +
#nav a{
 +
color: #000000;
 +
display:block;
 +
text-decoration: none;
 +
font-weight: bold;
 +
font-size:17px;
 +
font-family: 'Playfair Display', serif;
 +
font-style:italic;
 +
background:url(https://static.igem.org/mediawiki/2012/2/2a/Ouc-China-home-btn-nav_.png) no-repeat 0 -9999px;
 +
padding:46px 5px 15px 16px;
 +
}
 +
#nav a:hover{/* 鼠标悬停的样式 */
 +
background-position:0 0; /* 背景图被放到了 看得见的地方。 */
 +
text-decoration:none;
 +
color:#777777;
 +
}
 +
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td {
 +
margin:0;
 +
padding:0;
 +
}
 +
html,body {
 +
margin:0;
 +
padding:0;
 +
}
 +
table {
 +
border-collapse:collapse;
 +
border-spacing:0;
 +
}
 +
fieldset,img {
 +
border:0;
 +
}
 +
input{
 +
border:1px solid #b0b0b0;
 +
padding:3px 5px 4px;
 +
color:#979797;
 +
width:190px;
 +
}
 +
address,caption,cite,code,dfn,th,var {
 +
font-style:normal;
 +
font-weight:normal;
 +
}
 +
ol,ul {
 +
list-style:none;
 +
}
 +
caption,th {
 +
text-align:left;
 +
}
 +
h1,h2,h3,h4,h5,h6 {
 +
font-size:100%;
 +
font-weight:normal;
 +
}
 +
q:before,q:after {
 +
content:'';
 +
}
 +
abbr,acronym { border:0;
 +
}
.ei-slider{
.ei-slider{
position: relative;
position: relative;
Line 155: Line 282:
}
}
}
}
 +
</style>
 +
</html>

Latest revision as of 13:34, 15 July 2012