Team:TU-Delft/CSSLaksh
From 2012.igem.org
(Difference between revisions)
Line 2: | Line 2: | ||
<style type="text/css"> | <style type="text/css"> | ||
@charset "UTF-8"; | @charset "UTF-8"; | ||
- | |||
- | |||
/*CSS Document */ | /*CSS Document */ | ||
Line 26: | Line 24: | ||
} | } | ||
- | /* | + | html { |
+ | width:100%; | ||
+ | height:100%; | ||
+ | background:none; | ||
+ | /*background-image:url('https://static.igem.org/mediawiki/igem.org/7/73/Backgroundextra.jpg');*/ | ||
+ | border:none; | ||
+ | margin:0; | ||
+ | padding:0; | ||
+ | } | ||
- | + | body { | |
- | + | width:100%; | |
- | + | height:100%; | |
- | + | /*background:#10143a;*/ | |
- | #10143a; | + | border:none; |
- | + | padding:0; | |
- | + | z-index:800; | |
- | + | ||
- | + | ||
} | } | ||
- | + | ||
- | + | #contentboxnew { | |
+ | |||
+ | background:white; | ||
+ | width:800px; | ||
+ | margin: -10px auto 0 auto; | ||
+ | padding:20px 50px 50px 50px; | ||
+ | float: left; | ||
+ | text-decoration:none; | ||
+ | border:none; | ||
+ | z-index:800; | ||
} | } | ||
- | + | #contentboxnew1 { | |
- | + | ||
- | margin:0; | + | background:white; |
- | padding: | + | width:800px; |
+ | margin: -10px auto 0 auto; | ||
+ | padding:20px 50px 50px 50px; | ||
+ | float: left; | ||
+ | text-decoration:none; | ||
+ | border:none; | ||
+ | z-index:800; | ||
+ | } | ||
+ | |||
+ | table#tbtext | ||
+ | { | ||
+ | width:400px; | ||
+ | font-weight:400; | ||
+ | font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif; | ||
+ | font-size: 10px; | ||
+ | text-align: left; | ||
+ | padding-left: 3px; | ||
+ | text-align: justify; | ||
+ | } | ||
+ | td#tdunderline{border-bottom: green solid thin;} | ||
+ | |||
+ | h1 { | ||
+ | font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif; | ||
+ | font-size:18px; | ||
+ | text-transform:uppercase; | ||
+ | letter-spacing:1px; | ||
+ | /*border-bottom:2px solid #2ab117; */ | ||
+ | text-decoration: none; | ||
+ | color: #2ab117; | ||
+ | } | ||
+ | |||
+ | |||
+ | h2{ | ||
+ | font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif; | ||
+ | font-size:16px; | ||
+ | text-transform:uppercase; | ||
+ | letter-spacing:1px; | ||
+ | border-bottom:2px solid #000000; | ||
+ | text-decoration: none; | ||
+ | color: #000000; | ||
+ | } | ||
+ | |||
+ | h3{ | ||
+ | font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif; | ||
+ | font-variant: small-caps; | ||
+ | font-stretch: ultra-expanded; | ||
+ | color: #2ab117; | ||
+ | font-size:12px; | ||
+ | font-weight:bold; | ||
+ | line-height:18px; | ||
+ | letter-spacing:1px; | ||
+ | } | ||
+ | h6{ | ||
+ | color: #357c24; | ||
+ | font-size:11px; | ||
} | } | ||
Line 59: | Line 126: | ||
color:#2ab117; | color:#2ab117; | ||
} | } | ||
+ | #content { | ||
+ | background: #2ab117; | ||
+ | padding:0; | ||
+ | width:100%; | ||
+ | border:0; | ||
+ | } | ||
+ | #bodyContent{ | ||
+ | margin:0 auto; | ||
+ | padding:0; | ||
+ | width:685px; | ||
+ | border:0; | ||
+ | background:white; | ||
+ | z-index:800; | ||
+ | } | ||
+ | |||
+ | #contentbox { | ||
+ | background:white; | ||
+ | width:590px; | ||
+ | margin: -10px auto 0 auto; | ||
+ | padding:20px 50px 50px 50px; | ||
+ | float: left; | ||
+ | text-decoration:none; | ||
+ | border:none; | ||
+ | z-index:800; | ||
+ | } | ||
+ | |||
img.bg_team { | img.bg_team { | ||
Line 111: | Line 204: | ||
background-image:url('https://static.igem.org/mediawiki/2012/6/64/TUDelftLogo_igem_color.png'); | background-image:url('https://static.igem.org/mediawiki/2012/6/64/TUDelftLogo_igem_color.png'); | ||
} | } | ||
+ | |||
+ | #twitter_widget{ | ||
+ | position:fixed; | ||
+ | width:155px; | ||
+ | height:240px; | ||
+ | background:white; | ||
+ | padding:10px 0 0 0; | ||
+ | bottom:90px; | ||
+ | left:0px; | ||
+ | z-index:1001; | ||
+ | } | ||
+ | |||
+ | #social_linkall{ | ||
+ | position:fixed; | ||
+ | bottom:48px; | ||
+ | left:10px; | ||
+ | width:120px; | ||
+ | height:35px; | ||
+ | z-index:1001; | ||
+ | border:0; | ||
+ | } | ||
+ | |||
+ | #social_icons{ | ||
+ | position:fixed; | ||
+ | bottom:15px; | ||
+ | left:20px; | ||
+ | width:110px; | ||
+ | height:24px; | ||
+ | z-index:1001; | ||
+ | } | ||
+ | /* | ||
+ | #video-container{ | ||
+ | position:relative; | ||
+ | z-index:800; | ||
+ | } | ||
+ | */ | ||
#nav { /*main menu css*/ | #nav { /*main menu css*/ | ||
position:fixed; | position:fixed; | ||
width:1300px; | width:1300px; | ||
- | + | top:30px; | |
- | left: | + | left:40%; |
- | right: | + | right:60%; |
margin: 0 0 0 -330px; | margin: 0 0 0 -330px; | ||
padding: 0; | padding: 0; | ||
Line 128: | Line 257: | ||
} | } | ||
#nav ul{ | #nav ul{ | ||
- | width: | + | width: 620px; |
background: white; | background: white; | ||
text-align:center; | text-align:center; | ||
Line 152: | Line 281: | ||
} | } | ||
- | #nav li.off ul, #nav li.on ul { /*put the subnav | + | #nav li.off ul, #nav li.on ul { /*put the subnav below*/ |
position:absolute; | position:absolute; | ||
/*width:1300px;*/ | /*width:1300px;*/ | ||
- | + | top:95%; | |
/*left:30px; | /*left:30px; | ||
right:50%;*/ | right:50%;*/ | ||
/*margin: 0 0 0 -343px;*/ | /*margin: 0 0 0 -343px;*/ | ||
- | padding: 0 0 | + | padding: 0 0 0 0; |
background:white; | background:white; | ||
/*text-align:center;*/ | /*text-align:center;*/ | ||
Line 278: | Line 407: | ||
} | } | ||
+ | #siteSub { | ||
+ | display:none; | ||
+ | } | ||
- | + | #search-controls { | |
- | + | display:none; | |
- | + | } | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | .firstHeading { | |
- | + | display:none; | |
- | + | } | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | #search-controls { | |
- | + | display:none; | |
- | + | } | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | #p-logo { | |
- | + | display:none; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | + | #top-section { | |
- | + | border:none; | |
+ | margin: 0 auto; | ||
+ | height:0px ! important; | ||
+ | width:100%; | ||
+ | } | ||
+ | #centeredimage { | ||
+ | display: block; | ||
+ | text-align:center; | ||
+ | margin-left: auto; | ||
+ | margin-right: auto; | ||
+ | } | ||
+ | #globalWrapper{ | ||
+ | margin:0; | ||
+ | padding:0; | ||
+ | border:0; | ||
+ | } | ||
+ | .visualClear{ | ||
+ | height:0; | ||
+ | width:0; | ||
+ | display:none; | ||
} | } | ||
- | |||
#menubar { | #menubar { | ||
Line 388: | Line 477: | ||
#centeredmenu_bg{ | #centeredmenu_bg{ | ||
position:fixed; | position:fixed; | ||
- | + | top:0px; | |
- | background:#ffffff; /* the line | + | background:#ffffff; /* the white line behind the main menu*/ |
left:0px; | left:0px; | ||
width:100%; | width:100%; | ||
- | height: | + | height:70px; |
z-index:999; | z-index:999; | ||
} | } | ||
Line 489: | Line 578: | ||
.right-menu li { | .right-menu li { | ||
- | + | # background-color: yellow ; | |
} | } | ||
Line 495: | Line 584: | ||
padding: 0px 15px 0px 0px; | padding: 0px 15px 0px 0px; | ||
color: white; | color: white; | ||
- | background-color: # | + | background-color: #2ab117; |
} | } | ||
.right-menu li a:hover { | .right-menu li a:hover { | ||
Line 589: | Line 678: | ||
#overlay{ position: absolute; top: 0; left: 0; z-index: 90; width: 100%; height: 500px; background-color: #000; } | #overlay{ position: absolute; top: 0; left: 0; z-index: 90; width: 100%; height: 500px; background-color: #000; } | ||
- | |||
- | |||
- | < | + | </style> |
- | + | <html> | |
- | + | ||
- | < | + | |
- | + | ||
- | + | ||
- | + |
Revision as of 08:57, 19 September 2012