Team:UCLA/anuved verma ucla2014 workspace/CSS
From 2014.igem.org
(Difference between revisions)
Anuvedverma (Talk | contribs) |
|||
(337 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
<html> | <html> | ||
- | < | + | <link href='http://fonts.googleapis.com/css?family=Pacifico' rel='stylesheet' type='text/css'> |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | . | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | . | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
Line 243: | Line 54: | ||
height: 100%; | height: 100%; | ||
border: 0px; | border: 0px; | ||
- | background-color: | + | background-color: transparent; |
margin: 0px; | margin: 0px; | ||
padding: 0px; | padding: 0px; | ||
Line 251: | Line 62: | ||
width: 100%; | width: 100%; | ||
height: 100%; | height: 100%; | ||
- | background- | + | background-image: url('https://static.igem.org/mediawiki/2014/c/cb/Debut_light.png'); |
+ | /*background-size: cover;*/ | ||
} | } | ||
Line 400: | Line 212: | ||
.annItem ul, .annItem li {padding: 0px; margin: 0px;} | .annItem ul, .annItem li {padding: 0px; margin: 0px;} | ||
.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 { | ||
+ | margin-left: auto; | ||
+ | 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: 435px; | ||
+ | float: left; | ||
+ | } | ||
+ | .boxgrid { | ||
+ | overflow: hidden; | ||
+ | position: relative; | ||
+ | } | ||
+ | |||
+ | .boxgrid img{ | ||
+ | position: absolute; | ||
+ | top: 0; | ||
+ | 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 { | ||
+ | font-family: Verdana; | ||
+ | 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> | </style> | ||
+ | |||
+ | <!--SPIDER TOP BUTTON--> | ||
+ | <style type="text/css"> | ||
+ | .spider{ | ||
+ | position: fixed; | ||
+ | top: 210px; | ||
+ | right: 0px; | ||
+ | width: 200px; | ||
+ | height: 80%; | ||
+ | z-index: 0; | ||
+ | overflow: hidden; | ||
+ | } | ||
+ | .spiderline{ | ||
+ | position: relative; | ||
+ | left: 75%; | ||
+ | background-color: #A8A8A8; | ||
+ | width: 2px; | ||
+ | height: 65%; | ||
+ | z-index: 8; | ||
+ | } | ||
+ | .spiderbutton{ | ||
+ | position: relative; | ||
+ | left: 50%; | ||
+ | width: 110px; | ||
+ | height: 56px; | ||
+ | z-index: 10; | ||
+ | background-image: url('https://static.igem.org/mediawiki/2014/a/ac/Spiderbutton2.png'); | ||
+ | background-repeat: no-repeat; | ||
+ | } | ||
+ | .backtotop{ | ||
+ | position: relative; | ||
+ | left: 65%; | ||
+ | width: 45px; | ||
+ | z-index: 10; | ||
+ | } | ||
+ | .spiderweb{ | ||
+ | position: fixed; | ||
+ | right: 0px; | ||
+ | top: 0px; | ||
+ | pointer-events:none; | ||
+ | z-index:9; | ||
+ | } | ||
+ | </style> | ||
+ | |||
+ | |||
+ | |||
+ | <!--SIDE MENU BAR--> | ||
+ | <style type="text/css"> | ||
+ | #side_menu{ | ||
+ | position:fixed; | ||
+ | background-image: url('http://inspirationhut.net/wp-content/uploads/2012/11/Old-Paper-Texture-2.png'); | ||
+ | background-repeat: no-repeat; | ||
+ | background-position: -540px -10px; | ||
+ | top:-50px; | ||
+ | left:-170px; | ||
+ | width:150px; | ||
+ | height:1070px; | ||
+ | padding: 80px 50px 0 0; | ||
+ | /*border: 2px solid #D46A6A;*/ | ||
+ | /*border-radius: 25px;*/ | ||
+ | margin-bottom: 20px; | ||
+ | margin-top: 10px; | ||
+ | z-index:11; | ||
+ | } | ||
+ | #side_menu #side_menu_title{ | ||
+ | text-align:center; | ||
+ | font-family:Papyrus; | ||
+ | /*text-decoration:none;*/ | ||
+ | } | ||
+ | #side_menu .sidebar_link{ | ||
+ | position: absolute; | ||
+ | background-size: cover; | ||
+ | width: 50px; | ||
+ | height: 50px; | ||
+ | |||
+ | /*text-decoration:none;*/ | ||
+ | } | ||
+ | #side_menu #link1{ | ||
+ | background-image: url('http://icons.iconarchive.com/icons/yellowicon/game-stars/256/Mario-icon.png'); | ||
+ | top: 15%; | ||
+ | left: 5%; | ||
+ | } | ||
+ | #side_menu #link2{ | ||
+ | background-image: url('http://icons.iconarchive.com/icons/yellowicon/game-stars/256/Zelda-icon.png'); | ||
+ | top: 25%; | ||
+ | left: 30%; | ||
+ | } | ||
+ | #side_menu #link3{ | ||
+ | background-image: url('http://icons.iconarchive.com/icons/yellowicon/game-stars/256/Sonic-icon.png'); | ||
+ | top: 35%; | ||
+ | left: 15%; | ||
+ | } | ||
+ | </style> | ||
+ | |||
+ | |||
+ | |||
+ | <!--TOP MENU BAR--> | ||
+ | <style type="text/css"> | ||
+ | #top_menu{ | ||
+ | position:fixed; | ||
+ | padding: 12px 0 0 0; | ||
+ | width:100%; | ||
+ | left:0; | ||
+ | top:0; | ||
+ | /*background:#550D00;*/ | ||
+ | background: #560606; | ||
+ | z-index:10; | ||
+ | } | ||
+ | #menu li{ | ||
+ | position:relative; | ||
+ | float:left; | ||
+ | list-style:none; | ||
+ | } | ||
+ | #menu a{ | ||
+ | color:white; | ||
+ | padding:18px 0 15px 0; | ||
+ | text-decoration:none; | ||
+ | width:98px; | ||
+ | display:block; | ||
+ | text-align:center; | ||
+ | font-family:arial; | ||
+ | font-size:14px; | ||
+ | border-bottom:thin solid #FE9797; | ||
+ | } | ||
+ | #menu{ | ||
+ | margin-left:auto; | ||
+ | margin-right:auto; | ||
+ | width:900px; | ||
+ | } | ||
+ | #menu a:hover{ | ||
+ | background:#AA3939; | ||
+ | } | ||
+ | #menu li ul{ | ||
+ | background:#560606; | ||
+ | /* display:none; */ | ||
+ | position:absolute; | ||
+ | text-align:center; | ||
+ | top:50px; | ||
+ | right:0px; | ||
+ | } | ||
+ | #menu li:hover ul{ | ||
+ | display:block; | ||
+ | } | ||
+ | #dropdown_menu li ul li{ | ||
+ | position:relative; | ||
+ | } | ||
+ | </style> | ||
+ | |||
+ | |||
+ | |||
+ | <!--SLIDER--> | ||
+ | <style type="text/css"> | ||
+ | .slider{ | ||
+ | position: relative; | ||
+ | width: 1150px; | ||
+ | height: 350px; | ||
+ | margin: auto; | ||
+ | overflow: hidden; | ||
+ | z-index: 0; | ||
+ | background-image: url('https://static.igem.org/mediawiki/2014/c/c3/Debut_light.png'); | ||
+ | } | ||
+ | .slider .slider_left{ | ||
+ | position: absolute; | ||
+ | background-color:black; | ||
+ | top: 0px; | ||
+ | left: 0px; | ||
+ | width: 50px; | ||
+ | height: 100%; | ||
+ | opacity: 0.5; | ||
+ | z-index: 2; | ||
+ | } | ||
+ | .slider .slider_left img{ | ||
+ | position: relative; | ||
+ | width: 100%; | ||
+ | height: 200px; | ||
+ | top: 25%; | ||
+ | left: 10px; | ||
+ | } | ||
+ | .slider .slider_right{ | ||
+ | position: absolute; | ||
+ | background-color:black; | ||
+ | top: 0px; | ||
+ | left: 1100px; | ||
+ | width: 50px; | ||
+ | height: 100%; | ||
+ | opacity: 0.5; | ||
+ | z-index: 2; | ||
+ | } | ||
+ | .slider .slider_right img{ | ||
+ | position: relative; | ||
+ | width: 100%; | ||
+ | height: 200px; | ||
+ | top: 25%; | ||
+ | left: -10px; | ||
+ | } | ||
+ | .slider .slider_imgs{ | ||
+ | position: absolute; | ||
+ | } | ||
+ | .slider .slider_imgs div{ | ||
+ | float: left; | ||
+ | width: 1150px; | ||
+ | height: 350px; | ||
+ | } | ||
+ | .slider .slider_imgs #slide1{ | ||
+ | float: left; | ||
+ | background-image:url('http://www.thinksnaps.com/wp-content/uploads/2014/07/Green-Bubbles-Awesome-Background.jpg'); | ||
+ | background-size: cover; | ||
+ | background-repeat: no-repeat; | ||
+ | } | ||
+ | .slider .slider_imgs #slide2{ | ||
+ | float: left; | ||
+ | background-image:url('http://4vector.com/i/free-vector-exquisite-leaf-background-01-vector_015360_exquisite_leaf_background_01_vector.jpg'); | ||
+ | background-size: cover; | ||
+ | background-repeat: no-repeat; | ||
+ | } | ||
+ | .slider .slider_imgs #slide3{ | ||
+ | float: left; | ||
+ | background-image:url('http://wallpaper-download.net/wallpapers/random-wallpapers-green-lime-background-wallpaper-32549.jpg'); | ||
+ | background-size: cover; | ||
+ | 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> | ||
+ | |||
+ | |||
+ | <!--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