Template:Team:Tsinghua-A/style
From 2014.igem.org
(Difference between revisions)
(5 intermediate revisions not shown) | |||
Line 3: | Line 3: | ||
<link href='http://fonts.googleapis.com/css?family=Great+Vibes' rel='stylesheet' type='text/css'> | <link href='http://fonts.googleapis.com/css?family=Great+Vibes' rel='stylesheet' type='text/css'> | ||
<link href='http://fonts.googleapis.com/css?family=Arimo:400,400italic' rel='stylesheet' type='text/css'> | <link href='http://fonts.googleapis.com/css?family=Arimo:400,400italic' rel='stylesheet' type='text/css'> | ||
- | < | + | <link href='http://cdn.jquerytools.org/1.2.5/full/jquery.tools.min.js' rel='stylesheet' type='text/javascript'> |
- | + | <!-- jQuery Tools (slider) --> | |
<script src="http://cdn.jquerytools.org/1.2.5/full/jquery.tools.min.js"></script> | <script src="http://cdn.jquerytools.org/1.2.5/full/jquery.tools.min.js"></script> | ||
<script> | <script> | ||
Line 12: | Line 12: | ||
}); | }); | ||
</script> | </script> | ||
+ | |||
+ | <!-- Navigation scroll follow --> | ||
+ | <script type="text/javascript"> | ||
+ | $(window).scroll(function () { | ||
+ | var scrollPos = $(window).scrollTop(); | ||
+ | if (scrollPos > 180) { | ||
+ | $(".toc").addClass("stickBelowNavigation"); | ||
+ | } else { | ||
+ | $(".toc").removeClass("stickBelowNavigation"); | ||
+ | } | ||
+ | }); | ||
+ | </script> | ||
+ | |||
+ | |||
+ | <style type="text/css"> | ||
+ | |||
/* Wiki styles */ | /* Wiki styles */ | ||
div.thumb div a img { | div.thumb div a img { | ||
- | background- | + | background-image: url(http://img0.imgtn.bdimg.com/it/u=3881097581,3992057579&fm=21&gp=0.jpg); |
padding:6px 0px; | padding:6px 0px; | ||
} | } | ||
#globalWrapper {/* the wiki */ | #globalWrapper {/* the wiki */ | ||
- | background- | + | background-image: url(http://img0.imgtn.bdimg.com/it/u=3881097581,3992057579&fm=21&gp=0.jpg); |
width:1100px; | width:1100px; | ||
height:auto; | height:auto; | ||
Line 84: | Line 100: | ||
} | } | ||
#bodyContent{/* contenu de page*/ | #bodyContent{/* contenu de page*/ | ||
- | background- | + | background-image: url(http://img0.imgtn.bdimg.com/it/u=3881097581,3992057579&fm=21&gp=0.jpg) |
border:none; | border:none; | ||
border-color:none; | border-color:none; | ||
Line 108: | Line 124: | ||
body { | body { | ||
color: rgb(30,39,43); | color: rgb(30,39,43); | ||
- | background: | + | background-image: url(http://img0.imgtn.bdimg.com/it/u=3881097581,3992057579&fm=21&gp=0.jpg) |
} | } | ||
body,input { | body,input { | ||
Line 374: | Line 390: | ||
} | } | ||
</style> | </style> | ||
+ | |||
</html> | </html> |
Latest revision as of 19:57, 15 October 2014