Template:Team:BGU Israel/style.css
From 2014.igem.org
(Difference between revisions)
(42 intermediate revisions not shown) | |||
Line 2: | Line 2: | ||
<style> | <style> | ||
/*wiki*/ | /*wiki*/ | ||
- | + | ||
- | + | ||
- | + | li | |
- | + | { | |
- | + | margin-bottom:0px; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
p | p | ||
Line 53: | Line 41: | ||
height:20px; | height:20px; | ||
color:white; | color:white; | ||
- | background-color: | + | background-color:black; |
text-decoration:none; | text-decoration:none; | ||
font-size:12px; | font-size:12px; | ||
z-index:0; | z-index:0; | ||
+ | top:0px; | ||
} | } | ||
#search-controls{ | #search-controls{ | ||
Line 100: | Line 89: | ||
display:none; | display:none; | ||
} | } | ||
- | |||
- | |||
- | |||
body { | body { | ||
} | } | ||
Line 172: | Line 158: | ||
float: left; | float: left; | ||
margin-right: 12px; | margin-right: 12px; | ||
- | + | ||
overflow: hidden; | overflow: hidden; | ||
} | } | ||
Line 493: | Line 479: | ||
#strat1_text { | #strat1_text { | ||
display: none; | display: none; | ||
- | |||
} | } | ||
Line 514: | Line 499: | ||
#strat4_text { | #strat4_text { | ||
display: none; | display: none; | ||
+ | } | ||
+ | |||
+ | |||
+ | .hgrid_qh | ||
+ | { | ||
+ | width: 220px; | ||
+ | height: 600px; | ||
+ | float: left; | ||
+ | margin-right: 12px; | ||
+ | overflow: hidden; | ||
+ | } | ||
+ | |||
+ | .hgrid_3qh | ||
+ | { | ||
+ | width: 595px; | ||
+ | height: 600px; | ||
+ | border-radius: 8px; | ||
+ | float: left; | ||
+ | margin-right: 12px; | ||
+ | overflow: hidden; | ||
+ | } | ||
+ | .hgrid_3h { | ||
+ | width: 220px; | ||
+ | height: 124px; | ||
+ | border-radius: 8px; | ||
+ | margin-right: 12px; | ||
+ | margin-bottom: 6px; | ||
+ | overflow: hidden; | ||
+ | position: relative; | ||
+ | text-align: left; | ||
+ | float: left; | ||
+ | font-weight: normal; | ||
} | } | ||
Line 688: | Line 705: | ||
@font-face { | @font-face { | ||
font-family: 'FontAwesome'; | font-family: 'FontAwesome'; | ||
- | + | src: url('https://static.igem.org/mediawiki/2014/9/99/BGU14fontawesome-webfont.eot'); | |
- | src: url('../ | + | src: url('https://static.igem.org/mediawiki/2014/9/99/BGU14fontawesome-webfont.eot?#iefix') format('embedded-opentype'), url('https://static.igem.org/mediawiki/2014/0/06/BGU14fontawesome-webfont.woff') format('woff'), url('https://static.igem.org/mediawiki/2014/7/72/BGU14fontawesome-webfont.ttf') format('truetype'); |
font-weight: normal; | font-weight: normal; | ||
font-style: normal; | font-style: normal; | ||
Line 2,244: | Line 2,261: | ||
display: inline-block; | display: inline-block; | ||
margin-top: 16px; | margin-top: 16px; | ||
- | + | /* font: 24px/26px 'Dosis', sans-serif;*/ | |
color: #3b3a3a; | color: #3b3a3a; | ||
} | } | ||
Line 2,500: | Line 2,517: | ||
position: relative; | position: relative; | ||
float: left; | float: left; | ||
+ | top:3px; | ||
Line 2,510: | Line 2,528: | ||
nav ul li a { | nav ul li a { | ||
- | + | padding: 7px 15px 7px 15px; | |
- | + | color: #474343; | |
- | + | margin-left: 1px; | |
- | + | height: 30px; /* Width and height of top-level nav items */ | |
- | + | text-align: center; | |
- | + | display: table-cell; | |
- | + | vertical-align: middle; | |
- | + | background-color: transparent; | |
- | + | ||
- | + | ||
} | } | ||
Line 2,541: | Line 2,557: | ||
nav li:hover li a{ | nav li:hover li a{ | ||
float: left; | float: left; | ||
- | width: | + | width: 138px; |
+ | height:32px; | ||
border-color: #3DABCC; | border-color: #3DABCC; | ||
border-style: dashed; | border-style: dashed; | ||
border-radius: 0px / 6px; | border-radius: 0px / 6px; | ||
+ | background:#b4dee1; | ||
} | } | ||
nav li:hover a { | nav li:hover a { | ||
- | background: | + | background: transparent; |
height:30px; /* Height of lower-level nav items is shorter than main level */ | height:30px; /* Height of lower-level nav items is shorter than main level */ | ||
} | } | ||
- | + | ||
- | + | ||
- | + | ||
nav ul li ul li a { | nav ul li ul li a { | ||
- | text-align:left; /* Top-level items are centered, but nested list items are left-aligned */ | + | text-align:left; |
+ | background:#b4dee1; /* Top-level items are centered, but nested list items are left-aligned */ | ||
} | } | ||
Line 2,582: | Line 2,599: | ||
text-decoration: underline; | text-decoration: underline; | ||
font-size: large; | font-size: large; | ||
+ | cursor:pointer; | ||
} | } | ||
.startegy { | .startegy { | ||
Line 2,593: | Line 2,611: | ||
font-size: 19pt; | font-size: 19pt; | ||
opacity: 1; | opacity: 1; | ||
+ | font-family:allan; | ||
} | } | ||
#main_nav #menu_ul { | #main_nav #menu_ul { | ||
position: absolute; | position: absolute; | ||
top: 4px; | top: 4px; | ||
- | width: | + | width: 70%; |
white-space: nowrap; | white-space: nowrap; | ||
- | right: | + | right: 6%; |
} | } | ||
#main_nav #main_wrap { | #main_nav #main_wrap { | ||
Line 2,643: | Line 2,662: | ||
float: left; | float: left; | ||
width: 500px; | width: 500px; | ||
+ | line-height:20px; | ||
} | } | ||
Line 2,664: | Line 2,684: | ||
text-align: justify; | text-align: justify; | ||
white-space: normal; | white-space: normal; | ||
+ | line-height:20px; | ||
} | } | ||
.textCont | .textCont | ||
Line 2,681: | Line 2,702: | ||
white-space: normal; | white-space: normal; | ||
line-height:20px; | line-height:20px; | ||
+ | font-style:italic; | ||
} | } | ||
.textCont p { | .textCont p { | ||
Line 2,741: | Line 2,763: | ||
padding: 0px; | padding: 0px; | ||
margin: 0px; | margin: 0px; | ||
+ | line-height:19px; | ||
} | } | ||
ul.check li { | ul.check li { | ||
- | background-image: url(../ | + | background-image: url(https://static.igem.org/mediawiki/2014/7/71/BGU14check.png); |
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
background-size:20px; | background-size:20px; | ||
Line 2,823: | Line 2,846: | ||
white-space: normal; | white-space: normal; | ||
position:fixed; | position:fixed; | ||
+ | } | ||
+ | .lineh ul,ol | ||
+ | { | ||
+ | line-height:1em; | ||
} | } | ||
+ | .textContNotebook | ||
+ | { | ||
+ | border-radius: 8px; | ||
+ | background-image:url(https://static.igem.org/mediawiki/2014/2/21/BGU14notebook.png); | ||
+ | background-size:1079px; | ||
+ | |||
+ | background-color: #EFF5F8; | ||
+ | padding-top: 11px; | ||
+ | padding-right: 11px; | ||
+ | padding-bottom: 11px; | ||
+ | padding-left: 11px; | ||
+ | margin-bottom: 12px; | ||
+ | font-family: Cambria, "Hoefler Text", "Liberation Serif", Times, "Times New Roman", serif; | ||
+ | font-style: normal; | ||
+ | font-weight: 400; | ||
+ | font-size: 14pt; | ||
+ | text-align: justify; | ||
+ | white-space: normal; | ||
+ | } | ||
+ | |||
+ | a:visited | ||
+ | { | ||
+ | color:#474343; | ||
+ | } | ||
+ | |||
+ | |||
+ | a:visited:hover | ||
+ | { | ||
+ | color: #3da9b6; | ||
+ | } | ||
+ | #bar:hover | ||
+ | { | ||
+ | cursor:pointer; | ||
+ | } | ||
+ | |||
+ | |||
+ | .hstartegy { | ||
+ | position: absolute; | ||
+ | text-align: justify; | ||
+ | float: left; | ||
+ | left: 10px; | ||
+ | top: 32px; | ||
+ | z-index: 2; | ||
+ | color: #000; | ||
+ | font-size: 19pt; | ||
+ | opacity: 1; | ||
+ | font-family: allan; | ||
+ | font-style: normal; | ||
+ | font-weight: 700; | ||
+ | } | ||
+ | |||
+ | .grid_long { | ||
+ | width: 1080px; | ||
+ | margin-top:6px; | ||
+ | height: 100px; | ||
+ | border-radius: 8px; | ||
+ | overflow: hidden; | ||
+ | position: relative; | ||
+ | text-align: left; | ||
+ | float: left; | ||
+ | font-weight: normal; | ||
+ | } | ||
+ | .table1 { | ||
+ | align-content:center; | ||
+ | margin:0px; | ||
+ | padding:0px; | ||
+ | width:100%; | ||
+ | box-shadow: 10px 10px 5px #888888; | ||
+ | border:1px solid #000000; | ||
+ | -moz-border-radius-bottomleft:9px; | ||
+ | -webkit-border-bottom-left-radius:9px; | ||
+ | border-bottom-left-radius:9px; | ||
+ | -moz-border-radius-bottomright:9px; | ||
+ | -webkit-border-bottom-right-radius:9px; | ||
+ | border-bottom-right-radius:9px; | ||
+ | -moz-border-radius-topright:9px; | ||
+ | -webkit-border-top-right-radius:9px; | ||
+ | border-top-right-radius:9px; | ||
+ | -moz-border-radius-topleft:9px; | ||
+ | -webkit-border-top-left-radius:9px; | ||
+ | border-top-left-radius:9px; | ||
+ | } | ||
+ | .table1 table{ | ||
+ | width:100%; | ||
+ | height:100%; | ||
+ | margin:0px;padding:0px; | ||
+ | } | ||
+ | .table1 tr { | ||
+ | align-content:center; | ||
+ | font-family:allan, "Hoefler Text", "Liberation Serif", Times, "Times New Roman", serif | ||
+ | } | ||
+ | .prevNext{ | ||
+ | width:100px; | ||
+ | border: thin solid; border-radius: 8px; background: #5FA6B8; font-style: normal; font-weight: 700; font-size: 24px; font-family: Allan, 'Hoefler Text', 'Liberation Serif', Times, 'Times New Roman', serif; vertical-align: middle; | ||
+ | opacity:0.5; | ||
+ | } | ||
+ | |||
+ | /*home*/ | ||
+ | |||
+ | #home #top_doctor { | ||
+ | display: none; | ||
+ | } | ||
+ | |||
+ | #home #main_nav | ||
+ | { | ||
+ | display: none; | ||
+ | } | ||
+ | #home_body { | ||
+ | width: 100%; | ||
+ | max-width: 1600px; | ||
+ | overflow: hidden; | ||
+ | } | ||
+ | #home_body { | ||
+ | width: 100%; | ||
+ | max-width: 1600px; | ||
+ | overflow: hidden; | ||
+ | background-color: #EFF5F8; | ||
+ | } | ||
+ | .home_div{ | ||
+ | overflow:hidden; | ||
+ | border-radius:8px; | ||
+ | |||
+ | |||
+ | } | ||
+ | |||
+ | |||
+ | /* entire container, keeps perspective */ | ||
+ | .flip-container { | ||
+ | perspective: 1000; | ||
+ | } | ||
+ | /* flip the pane when hovered */ | ||
+ | .flip-container:hover .flipper, .flip-container.hover .flipper { | ||
+ | transform: rotateY(180deg); | ||
+ | } | ||
+ | |||
+ | .flip-container, .front, .back { | ||
+ | /*width: 320px; | ||
+ | height: 480px;*/ | ||
+ | border-radius:8px; | ||
+ | overflow:hidden; | ||
+ | } | ||
+ | |||
+ | /* flip speed goes here */ | ||
+ | .flipper { | ||
+ | transition: 0.6s; | ||
+ | transform-style: preserve-3d; | ||
+ | |||
+ | position: relative; | ||
+ | } | ||
+ | |||
+ | /* hide back of pane during swap */ | ||
+ | .front, .back { | ||
+ | backface-visibility: hidden; | ||
+ | |||
+ | position: absolute; | ||
+ | top: 0; | ||
+ | left: 0; | ||
+ | } | ||
+ | |||
+ | /* front pane, placed above back */ | ||
+ | .front { | ||
+ | z-index: 2; | ||
+ | /* for firefox 31 */ | ||
+ | transform: rotateY(0deg); | ||
+ | } | ||
+ | |||
+ | /* back, initially hidden pane */ | ||
+ | .back { | ||
+ | transform: rotateY(180deg); | ||
+ | background-color:#EFF5F8; | ||
+ | font-family: cambria; | ||
+ | font-size: 24px; | ||
+ | font-style: italic; | ||
+ | white-space:normal; | ||
+ | } | ||
+ | |||
+ | .col2 ul | ||
+ | { | ||
+ | line-height:19.5px; | ||
+ | } | ||
+ | #bodyContent h3, #bodyContent h4, #bodyContent h5 | ||
+ | { | ||
+ | margin-bottom:0px; | ||
+ | |||
+ | } | ||
+ | |||
+ | .prevNext:hover{ | ||
+ | width:100px; | ||
+ | |||
+ | opacity:1; | ||
+ | cursor:pointer; | ||
+ | } | ||
+ | #opening:hover{ | ||
+ | opacity:1; | ||
+ | |||
+ | } | ||
+ | #leftButton:hover{ | ||
+ | cursor:pointer; | ||
+ | } | ||
+ | #rightButton:hover{ | ||
+ | cursor:pointer; | ||
+ | } | ||
</style> | </style> | ||
</html> | </html> |
Latest revision as of 23:49, 17 October 2014