Team:UCLA/Template/CSS
From 2014.igem.org
(Difference between revisions)
Anuvedverma (Talk | contribs) |
Anuvedverma (Talk | contribs) |
||
(18 intermediate revisions not shown) | |||
Line 596: | Line 596: | ||
position: relative; | position: relative; | ||
width: 1150px; | width: 1150px; | ||
- | height: | + | height: 400px; |
margin: auto; | margin: auto; | ||
overflow: hidden; | overflow: hidden; | ||
Line 615: | Line 615: | ||
position: relative; | position: relative; | ||
width: 100%; | width: 100%; | ||
- | height: | + | height: 200px; |
- | top: | + | top: 27%; |
left: 10px; | left: 10px; | ||
} | } | ||
Line 633: | Line 633: | ||
width: 100%; | width: 100%; | ||
height: 200px; | height: 200px; | ||
- | top: | + | top: 27%; |
left: -10px; | left: -10px; | ||
} | } | ||
Line 642: | Line 642: | ||
float: left; | float: left; | ||
width: 1150px; | width: 1150px; | ||
- | height: | + | height: 400px; |
} | } | ||
.hpslider .hpslider_imgs #slide1{ | .hpslider .hpslider_imgs #slide1{ | ||
Line 683: | Line 683: | ||
background-size: cover; | background-size: cover; | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
- | background-position: 0% | + | background-position: 0% 40%; |
} | } | ||
.hpslider .hpslider_imgs #slide7{ | .hpslider .hpslider_imgs #slide7{ | ||
Line 690: | Line 690: | ||
background-size: cover; | background-size: cover; | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
- | background-position: | + | background-position: 10% 50%; |
} | } | ||
.hpslider .hpslider_imgs #slide8{ | .hpslider .hpslider_imgs #slide8{ | ||
Line 697: | Line 697: | ||
background-size: cover; | background-size: cover; | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
- | background-position: 0% | + | background-position: 0% 30%; |
} | } | ||
.hpslider .hpslider_imgs #slide9{ | .hpslider .hpslider_imgs #slide9{ | ||
Line 704: | Line 704: | ||
background-size: cover; | background-size: cover; | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
- | background-position: 0% | + | background-position: 0% 45%; |
} | } | ||
.hpslider .hpslider_imgs #slide10{ | .hpslider .hpslider_imgs #slide10{ | ||
Line 711: | Line 711: | ||
background-size: cover; | background-size: cover; | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
- | background-position: 0% | + | background-position: 0% 40%; |
} | } | ||
.hpslider .hpslider_imgs #slide11{ | .hpslider .hpslider_imgs #slide11{ | ||
Line 718: | Line 718: | ||
background-size: cover; | background-size: cover; | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
- | background-position: 0% | + | background-position: 0% 40%; |
} | } | ||
.hpslider .hpslider_imgs #slide12{ | .hpslider .hpslider_imgs #slide12{ | ||
Line 739: | Line 739: | ||
background-size: cover; | background-size: cover; | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
- | background-position: 0% | + | background-position: 0% 50%; |
} | } | ||
.hpslider .hpslider_imgs #slide15{ | .hpslider .hpslider_imgs #slide15{ | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
float: left; | float: left; | ||
background-image:url('https://static.igem.org/mediawiki/2014/5/57/Fahrion_Historical_Wall.JPG'); | background-image:url('https://static.igem.org/mediawiki/2014/5/57/Fahrion_Historical_Wall.JPG'); | ||
background-size: cover; | background-size: cover; | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
- | background-position: 0% | + | background-position: 0% 45%; |
} | } | ||
</style> | </style> | ||
Line 810: | Line 803: | ||
left:70%; | left:70%; | ||
opacity: 0.5; | opacity: 0.5; | ||
+ | } | ||
+ | </style> | ||
+ | |||
+ | |||
+ | <!--HP PAGE HEADERS--> | ||
+ | <style type="text/css"> | ||
+ | .hppage_header{ | ||
+ | position: absolute; | ||
+ | background-image: url('https://static.igem.org/mediawiki/2014/b/b3/Debut_dark.png'); | ||
+ | width: 100%; | ||
+ | height: 475px; | ||
+ | z-index: 0; | ||
+ | margin-bottom: 200px; | ||
+ | } | ||
+ | .hppage_header .hppage_header_box{ | ||
+ | position: absolute; | ||
+ | overflow: hidden; | ||
+ | z-index: 0; | ||
} | } | ||
</style> | </style> |
Latest revision as of 02:41, 18 October 2014