Template:Zjucss Modeling
From 2011.igem.org
(Difference between revisions)
(12 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
<html> | <html> | ||
<style> | <style> | ||
+ | @charset "UTF-8"; | ||
+ | /* CSS Document */ | ||
+ | |||
#table_m{ | #table_m{ | ||
background-color:transparent;} | background-color:transparent;} | ||
Line 10: | Line 13: | ||
position:relative; | position:relative; | ||
float:right; | float:right; | ||
- | width: | + | width:750px; |
-moz-border-radius: 10px; | -moz-border-radius: 10px; | ||
Line 27: | Line 30: | ||
} | } | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
.stickToTop { | .stickToTop { | ||
position: fixed; | position: fixed; | ||
top:5px; | top:5px; | ||
- | + | } | |
- | . | + | /*left bar!!!!!!!!!!!!!!!!!*/ |
- | + | /* root element for accordion. decorated with rounded borders and gradient background image */ | |
- | + | #accordion { | |
- | + | background:transparent; | |
- | + | width: 160px; | |
+ | |||
+ | -moz-border-radius: 3px; | ||
+ | -webkit-border-radius: 3px; | ||
+ | border-radius: 3px; | ||
} | } | ||
- | + | ||
- | + | /* accordion header */ | |
- | + | #accordion h4 { | |
- | padding: | + | display:block; |
+ | background:#f19226 /*url(http://ung.igem.org/wiki/images/2/23/Zju-button.jpg)*/; | ||
+ | margin-bottom:2px; | ||
+ | padding-top:5px; | ||
+ | padding-left:5px; | ||
+ | height:30px; | ||
+ | color:white; | ||
+ | font-weight:normal; | ||
+ | cursor:pointer; | ||
-moz-border-radius: 5px; | -moz-border-radius: 5px; | ||
-webkit-border-radius: 5px; | -webkit-border-radius: 5px; | ||
border-radius: 5px; | border-radius: 5px; | ||
- | + | filter:alpha(opacity=50); | |
+ | -moz-opacity:0.5; | ||
+ | -khtml-opacity: 0.5; | ||
+ | opacity: 0.5; | ||
+ | font-size:20pt; | ||
} | } | ||
- | # | + | /* currently active header */ |
- | + | #accordion h4.current { | |
- | + | cursor:default; | |
- | + | font-weight:bold; | |
+ | text-decoration:underline; | ||
+ | background:#f19226 /*url(https://static.igem.org/mediawiki/2011/9/9a/Zju-button1.jpg)*/; | ||
+ | filter:alpha(opacity=100); | ||
+ | -moz-opacity:1.0; | ||
+ | -khtml-opacity: 1.0; | ||
+ | opacity: 1.0; | ||
+ | *shadow!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*/ | ||
+ | box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.15); | ||
+ | -webkit-box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.15); /* for the Safari browser*/ | ||
} | } | ||
- | # | + | |
- | + | /* accordion pane */ | |
+ | #accordion .pane { | ||
+ | display:none; | ||
+ | height:90px; | ||
+ | padding:5px; | ||
+ | color:white; | ||
+ | font-size:18px; | ||
+ | -moz-border-radius: 3px; | ||
+ | -webkit-border-radius: 3px; | ||
+ | border-radius: 3px; | ||
+ | background:white; | ||
} | } | ||
- | # | + | |
- | + | /* a title inside pane */ | |
+ | #accordion .pane a { | ||
+ | display:block; | ||
+ | font-weight:normal; | ||
+ | margin:4px; | ||
+ | font-size:18px; | ||
+ | color:#0a0a0a; | ||
} | } | ||
- | # | + | #accordion .pane a:hover{ text-decoration:underline;} |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | . | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
+ | |||
+ | /*left bar end!!!!!!!!!!!!!!!!!!!!*/ | ||
.bigblock{ | .bigblock{ | ||
margin:0; | margin:0; | ||
Line 129: | Line 115: | ||
font-size:12pt; | font-size:12pt; | ||
padding:0; | padding:0; | ||
- | width: | + | width:760px; |
font-family: 'Molengo', sans-serif;} | font-family: 'Molengo', sans-serif;} | ||
.bigblock h3{ | .bigblock h3{ | ||
Line 171: | Line 157: | ||
} | } | ||
#introduction{ | #introduction{ | ||
- | width: | + | width:750px; |
background-color:#999} | background-color:#999} | ||
#mmodeling{ | #mmodeling{ | ||
Line 178: | Line 164: | ||
} | } | ||
- | + | #reference{width:770px;display:none;} | |
#sr{ | #sr{ | ||
width:770px; | width:770px; |
Latest revision as of 22:46, 5 October 2011