Template:Team:Vanderbilt/CSS
From 2014.igem.org
(Difference between revisions)
(29 intermediate revisions not shown) | |||
Line 4: | Line 4: | ||
#globalWrapper { background-color: transparent; border: none; margin: 0; padding: 0; width: 100%; height:100%;} | #globalWrapper { background-color: transparent; border: none; margin: 0; padding: 0; width: 100%; height:100%;} | ||
- | #content { background-color: transparent; border: none; padding: 0; margin: 0; width: 100%; overflow | + | #content { background-color: transparent; border: none; padding: 0; margin: 0; width: 100%; overflow: hidden; height:100%;} |
#bodyContent {background-color:transparent; border: none; padding:0; margin:0; width:100%; height:100%;} | #bodyContent {background-color:transparent; border: none; padding:0; margin:0; width:100%; height:100%;} | ||
Line 11: | Line 11: | ||
html, body { | html, body { | ||
+ | position: relative; | ||
background-image: url("https://static.igem.org/mediawiki/parts/7/74/Vanderbilt_wiki_background.jpg"); | background-image: url("https://static.igem.org/mediawiki/parts/7/74/Vanderbilt_wiki_background.jpg"); | ||
background-size: 100% 100%; | background-size: 100% 100%; | ||
Line 17: | Line 18: | ||
margin: 0; | margin: 0; | ||
padding: 0; | padding: 0; | ||
- | overflow: | + | overflow: hidden; |
font-family: "Verdana"; | font-family: "Verdana"; | ||
} | } | ||
+ | html { | ||
+ | overflow: hidden; | ||
+ | } | ||
td.td_title { | td.td_title { | ||
font-style: italic; | font-style: italic; | ||
Line 32: | Line 36: | ||
header { | header { | ||
font-size: 1.5em; | font-size: 1.5em; | ||
- | |||
margin-bottom: 8px; | margin-bottom: 8px; | ||
} | } | ||
Line 50: | Line 53: | ||
background-color: transparent; | background-color: transparent; | ||
} | } | ||
+ | |||
.button { | .button { | ||
- | width: | + | position: absolute; |
- | height: | + | bottom: 2%; |
+ | width: 8%; | ||
+ | height: 4%; | ||
margin: 0.5%; | margin: 0.5%; | ||
background-color: transparent; | background-color: transparent; | ||
Line 92: | Line 98: | ||
background-image: url("https://static.igem.org/mediawiki/parts/2/22/Vanderbilt_right_arrow_2.png"); | background-image: url("https://static.igem.org/mediawiki/parts/2/22/Vanderbilt_right_arrow_2.png"); | ||
background-size: 100% 100%; | background-size: 100% 100%; | ||
- | + | right: 1%; | |
- | + | ||
} | } | ||
Line 99: | Line 104: | ||
background-image: url("https://static.igem.org/mediawiki/parts/0/06/Vanderbilt_left_arrow_2.png"); | background-image: url("https://static.igem.org/mediawiki/parts/0/06/Vanderbilt_left_arrow_2.png"); | ||
background-size: 100% 100%; | background-size: 100% 100%; | ||
- | + | left: 1%; | |
} | } | ||
Line 136: | Line 141: | ||
margin-left: 12%; | margin-left: 12%; | ||
box-shadow: 0 0 3px rgba(0,0,0,0.3); | box-shadow: 0 0 3px rgba(0,0,0,0.3); | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
} | } | ||
Line 150: | Line 147: | ||
max-width: 100%; | max-width: 100%; | ||
margin: auto; | margin: auto; | ||
- | height: | + | height: 90%; |
width: 100%; | width: 100%; | ||
background-image: url("https://static.igem.org/mediawiki/parts/3/3b/Vanderbilt_Open_Labbook_smaller.png"); | background-image: url("https://static.igem.org/mediawiki/parts/3/3b/Vanderbilt_Open_Labbook_smaller.png"); | ||
Line 176: | Line 173: | ||
#tabs { | #tabs { | ||
+ | position: relative; | ||
display: block; | display: block; | ||
height: 5%; | height: 5%; | ||
Line 308: | Line 306: | ||
margin: 0px; | margin: 0px; | ||
padding: 0px; | padding: 0px; | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
} | } | ||
Line 326: | Line 318: | ||
background-color: #transparent; | background-color: #transparent; | ||
margin-top: 0px; | margin-top: 0px; | ||
+ | overflow: hidden; | ||
} | } | ||
Latest revision as of 03:07, 27 January 2015