Template:Zjucss Modeling
From 2011.igem.org
(Difference between revisions)
(24 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 7: | Line 10: | ||
padding:0; | padding:0; | ||
margin-right:10px; | margin-right:10px; | ||
- | background-color: | + | background-color:white; |
position:relative; | position:relative; | ||
float:right; | float:right; | ||
- | width: | + | width:750px; |
-moz-border-radius: 10px; | -moz-border-radius: 10px; | ||
-webkit-border-radius: 10px; | -webkit-border-radius: 10px; | ||
border-radius: 10px; | border-radius: 10px; | ||
- | filter:alpha(opacity= | + | filter:alpha(opacity=80); |
- | -moz-opacity:0. | + | -moz-opacity:0.8; |
- | -khtml-opacity: 0. | + | -khtml-opacity: 0.8; |
- | opacity: 0. | + | opacity: 0.8; |
padding-bottom:7px; | padding-bottom:7px; | ||
} | } | ||
.pagetitle h3{ | .pagetitle h3{ | ||
font-size: 28pt; | font-size: 28pt; | ||
- | color: | + | color:#f19226; |
margin-left:5px; | margin-left:5px; | ||
} | } | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
.stickToTop { | .stickToTop { | ||
position: fixed; | position: fixed; | ||
- | top: | + | 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 98: | 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 140: | Line 157: | ||
} | } | ||
#introduction{ | #introduction{ | ||
- | width: | + | width:750px; |
background-color:#999} | background-color:#999} | ||
#mmodeling{ | #mmodeling{ | ||
width:770px; | width:770px; | ||
+ | display:none; | ||
} | } | ||
+ | |||
+ | #reference{width:770px;display:none;} | ||
#sr{ | #sr{ | ||
width:770px; | width:770px; | ||
+ | display:none; | ||
} | } | ||
#compartment{margin-left:14px;} | #compartment{margin-left:14px;} |
Latest revision as of 22:46, 5 October 2011