Team:OUC-China
From 2012.igem.org
(Difference between revisions)
Line 13: | Line 13: | ||
#content { display:none; } | #content { display:none; } | ||
/*demo.css*/ | /*demo.css*/ | ||
+ | @import url('reset.css'); | ||
+ | |||
+ | /* General Demo Style */ | ||
body{ | body{ | ||
background: #fff; | background: #fff; | ||
Line 63: | Line 66: | ||
position: relative; | position: relative; | ||
} | } | ||
- | |||
#nav{ | #nav{ | ||
margin:0; | margin:0; | ||
Line 96: | Line 98: | ||
color:#777777; | 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 227: | Line 268: | ||
bottom: 13px; | bottom: 13px; | ||
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; | -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; | ||
- | + | } | |
@media screen and (max-width: 830px) { | @media screen and (max-width: 830px) { | ||
.ei-title{ | .ei-title{ | ||
Line 253: | Line 294: | ||
} | } | ||
} | } | ||
- | |||
</head> | </head> | ||
<body> | <body> | ||
Line 270: | Line 310: | ||
<li><a href="">Safety</a></li> | <li><a href="">Safety</a></li> | ||
</ul> | </ul> | ||
- | + | <script type="text/javascript"> | |
+ | $(function() { | ||
+ | $('#ei-slider').eislideshow({ | ||
+ | animation : 'center', | ||
+ | autoplay : true, | ||
+ | slideshow_interval : 3000, | ||
+ | titlesFactor : 0 | ||
+ | }); | ||
+ | }); | ||
+ | </script> | ||
</body> | </body> | ||
</html> | </html> |
Revision as of 11:43, 14 July 2012