Team:UCLA/anuved verma ucla2014 workspace/CSS
From 2014.igem.org
(Difference between revisions)
Anuvedverma (Talk | contribs) |
Anuvedverma (Talk | contribs) |
||
(73 intermediate revisions not shown) | |||
Line 322: | Line 322: | ||
width: 200px; | width: 200px; | ||
height: 80%; | height: 80%; | ||
- | z-index: | + | z-index: 0; |
- | + | ||
overflow: hidden; | overflow: hidden; | ||
} | } | ||
Line 353: | Line 352: | ||
right: 0px; | right: 0px; | ||
top: 0px; | top: 0px; | ||
+ | pointer-events:none; | ||
z-index:9; | z-index:9; | ||
} | } | ||
Line 418: | Line 418: | ||
top:0; | top:0; | ||
/*background:#550D00;*/ | /*background:#550D00;*/ | ||
- | background: # | + | background: #560606; |
z-index:10; | z-index:10; | ||
} | } | ||
Line 435: | Line 435: | ||
font-family:arial; | font-family:arial; | ||
font-size:14px; | font-size:14px; | ||
- | border-bottom:thin solid # | + | border-bottom:thin solid #FE9797; |
} | } | ||
#menu{ | #menu{ | ||
Line 443: | Line 443: | ||
} | } | ||
#menu a:hover{ | #menu a:hover{ | ||
- | background:# | + | background:#AA3939; |
} | } | ||
#menu li ul{ | #menu li ul{ | ||
- | background:# | + | background:#560606; |
/* display:none; */ | /* display:none; */ | ||
position:absolute; | position:absolute; | ||
Line 467: | Line 467: | ||
.slider{ | .slider{ | ||
position: relative; | position: relative; | ||
- | width: | + | width: 1150px; |
height: 350px; | height: 350px; | ||
margin: auto; | margin: auto; | ||
overflow: hidden; | overflow: hidden; | ||
z-index: 0; | z-index: 0; | ||
+ | background-image: url('https://static.igem.org/mediawiki/2014/c/c3/Debut_light.png'); | ||
} | } | ||
.slider .slider_left{ | .slider .slider_left{ | ||
position: absolute; | position: absolute; | ||
background-color:black; | background-color:black; | ||
- | |||
- | |||
- | |||
- | |||
top: 0px; | top: 0px; | ||
left: 0px; | left: 0px; | ||
Line 491: | Line 488: | ||
width: 100%; | width: 100%; | ||
height: 200px; | height: 200px; | ||
- | top: | + | top: 25%; |
+ | left: 10px; | ||
} | } | ||
.slider .slider_right{ | .slider .slider_right{ | ||
position: absolute; | position: absolute; | ||
background-color:black; | background-color:black; | ||
- | |||
- | |||
- | |||
- | |||
top: 0px; | top: 0px; | ||
- | left: | + | left: 1100px; |
width: 50px; | width: 50px; | ||
height: 100%; | height: 100%; | ||
Line 511: | Line 505: | ||
width: 100%; | width: 100%; | ||
height: 200px; | height: 200px; | ||
- | top: | + | top: 25%; |
+ | left: -10px; | ||
} | } | ||
.slider .slider_imgs{ | .slider .slider_imgs{ | ||
Line 518: | Line 513: | ||
.slider .slider_imgs div{ | .slider .slider_imgs div{ | ||
float: left; | float: left; | ||
- | width: | + | width: 1150px; |
height: 350px; | height: 350px; | ||
} | } | ||
Line 539: | Line 534: | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
} | } | ||
+ | </style> | ||
+ | |||
+ | <!--PAGE HEADERS--> | ||
+ | <style type="text/css"> | ||
+ | .page_header{ | ||
+ | position: absolute; | ||
+ | background-image: url('https://static.igem.org/mediawiki/2014/b/b3/Debut_dark.png'); | ||
+ | width: 100%; | ||
+ | height: 70%; | ||
+ | z-index: 0; | ||
+ | } | ||
+ | .page_header .page_header_box{ | ||
+ | position: absolute; | ||
+ | overflow: hidden; | ||
+ | z-index: 0; | ||
+ | } | ||
+ | #box1{ | ||
+ | background-color:#0A64A4; | ||
+ | width:20%; | ||
+ | height:80%; | ||
+ | top:10%; | ||
+ | left:10%; | ||
+ | opacity: 0.5; | ||
+ | } | ||
+ | #box2{ | ||
+ | background-color:#0A64A4; | ||
+ | width:20%; | ||
+ | height:80%; | ||
+ | top:10%; | ||
+ | left:30%; | ||
+ | opacity: 0.5; | ||
+ | } | ||
+ | #box3{ | ||
+ | background-color:#0A64A4; | ||
+ | width:20%; | ||
+ | height:80%; | ||
+ | top:10%; | ||
+ | left:50%; | ||
+ | opacity: 0.5; | ||
+ | } | ||
+ | #box4{ | ||
+ | background-color:#0A64A4; | ||
+ | width:20%; | ||
+ | height:80%; | ||
+ | top:10%; | ||
+ | left:70%; | ||
+ | opacity: 0.5; | ||
+ | } | ||
</style> | </style> | ||
+ | |||
+ | <!--CONTENT SECTIONS--> | ||
+ | <style type="text/css"> | ||
+ | .content_container{ | ||
+ | position: absolute; | ||
+ | background-image: url('https://static.igem.org/mediawiki/2014/c/c3/Debut_light.png'); | ||
+ | /*top: 85%;*/ | ||
+ | width: 99%; | ||
+ | padding: 0 0 0 0; | ||
+ | margin: auto; | ||
+ | margin-bottom: 50px; | ||
+ | border-radius: 0px; | ||
+ | z-index: -1; | ||
+ | } | ||
+ | |||
+ | .page_content{ | ||
+ | position: relative; | ||
+ | background-color: #FFFFCC; | ||
+ | width: 99%; | ||
+ | padding: 0 0 0 0; | ||
+ | margin: auto; | ||
+ | margin-bottom: 20px; | ||
+ | border-radius: 25px; | ||
+ | z-index: -1; | ||
+ | } | ||
+ | .content_subsection{ | ||
+ | position: relative; | ||
+ | width: 85%; | ||
+ | padding: 10px 10px 10px 10px; | ||
+ | margin: auto; | ||
+ | } | ||
+ | </style> | ||
</html> | </html> |
Latest revision as of 04:28, 22 September 2014