Team:UCLA/Template/CSS test
From 2014.igem.org
(Difference between revisions)
Samichaels (Talk | contribs) |
Samichaels (Talk | contribs) |
||
(17 intermediate revisions not shown) | |||
Line 210: | Line 210: | ||
.annItem li {list-style: none; margin: 5px} | .annItem li {list-style: none; margin: 5px} | ||
+ | <!--TEXT STYLING--> | ||
+ | hr.style-one { | ||
+ | border: 0; | ||
+ | height: 1px; | ||
+ | background: #333; | ||
+ | background-image: -webkit-linear-gradient(left, #ccc, #333, #ccc); | ||
+ | background-image: -moz-linear-gradient(left, #ccc, #333, #ccc); | ||
+ | background-image: -ms-linear-gradient(left, #ccc, #333, #ccc); | ||
+ | background-image: -o-linear-gradient(left, #ccc, #333, #ccc); | ||
+ | } | ||
+ | .style { | ||
+ | font-size: 30px; | ||
+ | font-family: 'Pacifico', cursive; | ||
+ | } | ||
- | + | <!--SPLASH PAGE--> | |
- | + | .contentBorder { | |
- | + | border: 1px solid #AAAAAA; | |
- | + | -webkit-border-radius: 7px; | |
+ | -moz-border-radius: 7px; | ||
+ | border-radius: 7px; | ||
+ | -webkit-box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.35); | ||
+ | -moz-box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.35); | ||
+ | box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.35); | ||
} | } | ||
- | + | .expandedContent { | |
- | color: | + | margin-left: auto; |
- | background: | + | margin-right: auto; |
+ | width: 1400px; | ||
+ | } | ||
+ | .content { | ||
+ | font-family: Tahoma; | ||
+ | font-size: 12px; | ||
+ | color: #3D3D3D; | ||
+ | margin-bottom:60px; | ||
+ | background-color:white; | ||
+ | padding: 15px 60px; | ||
- | + | border: 1px solid #cccccc; | |
- | + | -webkit-border-radius: 10px; | |
- | + | -moz-border-radius: 10px; | |
- | + | border-radius: 10px; | |
- | + | -webkit-box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.35); | |
- | + | -moz-box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.35); | |
+ | box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.35); | ||
} | } | ||
- | + | .boxgridMedium { | |
- | + | width: 298px; | |
- | + | height: 450px; | |
- | + | float: left; | |
} | } | ||
- | + | .boxgrid { | |
- | + | overflow: hidden; | |
+ | position: relative; | ||
} | } | ||
- | + | .boxgrid img{ | |
- | + | position: absolute; | |
- | + | top: 0; | |
- | position:absolute; | + | left: 0; |
- | + | border: 0; | |
- | + | ||
- | + | ||
} | } | ||
- | # | + | .boxcaption{ |
- | + | float: left; | |
+ | position: absolute; | ||
+ | background: #000; | ||
+ | width: 100%; | ||
+ | opacity: .65; | ||
+ | padding: 8px; | ||
+ | /* For IE 5-7 */ | ||
+ | filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=65); | ||
+ | /* For IE 8 */ | ||
+ | -MS-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=65)"; | ||
} | } | ||
- | + | .boxcaption:hover { | |
- | + | text-decoration: none; | |
} | } | ||
+ | h2.onBlack { | ||
+ | color:white; | ||
+ | margin-top: -5px; | ||
+ | border: none; | ||
+ | Font-size: 23px; | ||
+ | padding-bottom: 0px; | ||
+ | line-height:1em; | ||
+ | } | ||
+ | p.onBlack { | ||
+ | color:white; | ||
+ | margin-right:18px; | ||
+ | font-size: 12px; | ||
+ | font-weight: bold; | ||
+ | } | ||
+ | p.onBlackIntro { | ||
+ | font-size:14px; | ||
+ | font-style: italic; | ||
+ | color:white; | ||
+ | margin-right:20px; | ||
+ | margin-bottom:20px; | ||
+ | } | ||
+ | </style> | ||
+ | |||
+ | <!--SPIDER TOP BUTTON--> | ||
+ | <style type="text/css"> | ||
+ | .spiderbutton{ | ||
+ | position: fixed; | ||
+ | top: 550px; | ||
+ | left: 1200px; | ||
+ | z-index: 0; | ||
+ | } | ||
+ | .spiderline{ | ||
+ | position: fixed; | ||
+ | left:896px; | ||
+ | top: -95px; | ||
+ | z-index: -1; | ||
+ | } | ||
+ | .spiderweb{ | ||
+ | position: fixed; | ||
+ | right: 0px; | ||
+ | top: 0px; | ||
+ | z-index:1; | ||
+ | } | ||
+ | <style> | ||
+ | <!--CONTENT DIV--> | ||
+ | <!--SUMMARY TITLES--> | ||
+ | <style type="text/css"> | ||
+ | .content_div_container{ | ||
+ | background-color:blue; | ||
+ | position: fixed; | ||
+ | display:inline-block; | ||
+ | border: 2px solid #CCCCB2; | ||
+ | border-radius: 10px; | ||
+ | margin: 20px 20px 20px 20px; | ||
+ | overflow:hidden; | ||
+ | height: 400px; | ||
+ | width: 400px; | ||
+ | } | ||
+ | .content_div_text{ | ||
+ | position: absolute; | ||
+ | padding: 10 10 10 10; | ||
+ | top: 300px; | ||
+ | left: 0; | ||
+ | background-color:black; | ||
+ | opacity: 0.5; | ||
+ | } | ||
+ | .content_div_text h3 { | ||
+ | font-family: Verdana; | ||
+ | margin: 10px 10px 10px 10px; | ||
+ | color: white; | ||
+ | opacity: 1; | ||
+ | } | ||
+ | .content_div_text p { | ||
+ | font-family: Verdana; | ||
+ | margin: 10px 10px 10px 10px; | ||
+ | color: white; | ||
+ | } | ||
+ | </style> | ||
<!--SIDE MENU BAR--> | <!--SIDE MENU BAR--> | ||
+ | <style type="text/css"> | ||
#side_menu{ | #side_menu{ | ||
position:fixed; | position:fixed; | ||
Line 270: | Line 386: | ||
font-family:Verdana; | font-family:Verdana; | ||
} | } | ||
+ | </style> | ||
<!--TOP MENU BAR--> | <!--TOP MENU BAR--> | ||
+ | <style type="text/css"> | ||
#top_menu{ | #top_menu{ | ||
position:fixed; | position:fixed; | ||
Line 321: | Line 439: | ||
position:relative; | position:relative; | ||
} | } | ||
+ | </style> | ||
<!--SIDE SPIDER ANIMATION--> | <!--SIDE SPIDER ANIMATION--> | ||
+ | <style type="text/css"> | ||
#spider { | #spider { | ||
position:relative; //or whatever you need | position:relative; //or whatever you need | ||
Line 336: | Line 456: | ||
opacity:1; | opacity:1; | ||
} | } | ||
+ | </style> | ||
+ | |||
+ | |||
<!--SLIDER--> | <!--SLIDER--> | ||
+ | <style type="text/css"> | ||
.slider{ | .slider{ | ||
width:800px; | width:800px; | ||
Line 343: | Line 467: | ||
overflow:hidden; | overflow:hidden; | ||
margin:0px auto; | margin:0px auto; | ||
- | background-image:url( | + | background-image:url("https://2014.igem.org/File:Loader.gif"); |
background-repeat:no-repeat; | background-repeat:no-repeat; | ||
background-position:center; | background-position:center; | ||
+ | position: relative; | ||
+ | } | ||
+ | .slider img{ | ||
+ | width:800px; | ||
+ | height:350px; | ||
+ | display:none; | ||
+ | } | ||
+ | .slider_nav{ | ||
+ | width:800px; | ||
+ | margin:0 auto; | ||
+ | position:relative; | ||
+ | top:-200px; | ||
+ | z-index:10; | ||
} | } | ||
.shadow{ | .shadow{ | ||
- | background-image:url( | + | background-image:url("https://2014.igem.org/File:Slider-shadow.jpg"); |
background-repeat:no-repeat; | background-repeat:no-repeat; | ||
background-position:top; | background-position:top; | ||
Line 354: | Line 491: | ||
height:144px; | height:144px; | ||
margin:0px auto; | margin:0px auto; | ||
- | |||
- | |||
- | |||
- | |||
- | |||
} | } | ||
- | + | #container { | |
- | + | width: 100px; | |
- | + | height: 100px; | |
- | + | position: relative; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | position: | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | + | #navi, | |
- | + | #infoi { | |
- | + | width: 100%; | |
- | height: | + | height: 100%; |
- | + | position: absolute; | |
- | + | top: 0; | |
- | + | left: 0; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | + | #infoi { | |
- | + | z-index: 10; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | + | </style> | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
</html> | </html> |
Latest revision as of 22:03, 16 September 2014