Team:TU-Delft/CSS
From 2012.igem.org
(Difference between revisions)
(155 intermediate revisions not shown) | |||
Line 4: | Line 4: | ||
/*CSS Document */ | /*CSS Document */ | ||
+ | /* colors #2ab117; is the intense green that our background has | ||
+ | #357c24; is more dark green | ||
+ | #000000; is black | ||
+ | #ffffff; is white | ||
+ | #10143a; is the dark blue we had at first */ | ||
+ | |||
/* colors lab notebook */ | /* colors lab notebook */ | ||
.day-empty { | .day-empty { | ||
Line 34: | Line 40: | ||
border:none; | border:none; | ||
padding:0; | padding:0; | ||
+ | z-index:800; | ||
+ | } | ||
+ | #contentbox { | ||
+ | width: 80%; | ||
+ | position: relative; | ||
+ | background:white; | ||
+ | width:800px; | ||
+ | margin: -10px auto 0 auto; | ||
+ | padding:20px 50px 50px 25px; | ||
+ | |||
+ | text-decoration:none; | ||
+ | border:none; | ||
+ | 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 { | ||
+ | |||
+ | background:white; | ||
+ | width:800px; | ||
+ | margin: -10px auto 0 auto; | ||
+ | padding:20px 50px 50px 50px; | ||
+ | float: left; | ||
+ | text-decoration:none; | ||
+ | border:none; | ||
z-index:800; | z-index:800; | ||
} | } | ||
Line 47: | Line 89: | ||
text-align: justify; | text-align: justify; | ||
} | } | ||
- | td#tdunderline{border-bottom: | + | td#tdunderline{border-bottom: green solid thin;} |
h1 { | h1 { | ||
Line 54: | Line 96: | ||
text-transform:uppercase; | text-transform:uppercase; | ||
letter-spacing:1px; | letter-spacing:1px; | ||
- | /*border-bottom:2px solid #2ab117;*/ | + | /*border-bottom:2px solid #2ab117; */ |
text-decoration: none; | text-decoration: none; | ||
color: #2ab117; | color: #2ab117; | ||
Line 76: | Line 118: | ||
color: #2ab117; | color: #2ab117; | ||
font-size:12px; | font-size:12px; | ||
+ | font-weight:bold; | ||
+ | line-height:18px; | ||
+ | letter-spacing:1px; | ||
+ | } | ||
+ | |||
+ | h3home{ | ||
+ | font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif; | ||
+ | font-variant: small-caps; | ||
+ | font-stretch: ultra-expanded; | ||
+ | color: #2ab117; | ||
+ | font-size:20px; | ||
font-weight:bold; | font-weight:bold; | ||
line-height:18px; | line-height:18px; | ||
Line 81: | Line 134: | ||
} | } | ||
h6{ | h6{ | ||
- | color: # | + | color: #357c24; |
+ | font-size:11px; | ||
} | } | ||
+ | |||
a:link, a:active, a:visited{ | a:link, a:active, a:visited{ | ||
- | color: | + | color: #357c24; |
text-decoration:none; | text-decoration:none; | ||
- | font-weight: | + | font-weight:#2ab117; |
+ | target-name:new; | ||
+ | target-new:tab; | ||
+ | |||
} | } | ||
a:hover{ | a:hover{ | ||
Line 154: | Line 212: | ||
z-index:999; | z-index:999; | ||
} | } | ||
- | # | + | #logo_igem2{ |
position:fixed; | position:fixed; | ||
width:70px; | width:70px; | ||
Line 162: | Line 220: | ||
top:0px; | top:0px; | ||
left:0px; | left:0px; | ||
- | |||
float:left; | float:left; | ||
- | z-index: | + | z-index:9990; |
- | + | background-image:url('https://static.igem.org/mediawiki/igem.org/6/6b/Logo_igem_black.png'); | |
+ | } | ||
+ | #logo_igem2:hover{ | ||
+ | background-image:url('https://static.igem.org/mediawiki/2012/6/64/TUDelftLogo_igem_color.png'); | ||
} | } | ||
#twitter_widget{ | #twitter_widget{ | ||
position:fixed; | position:fixed; | ||
- | width: | + | width:160px; |
- | height: | + | height:250px; |
background:white; | background:white; | ||
padding:10px 0 0 0; | padding:10px 0 0 0; | ||
Line 206: | Line 266: | ||
#nav { /*main menu css*/ | #nav { /*main menu css*/ | ||
position:fixed; | position:fixed; | ||
- | width: | + | width:850px; |
- | + | top:15px; | |
- | left: | + | left:40%; |
- | right: | + | right:60%; |
- | margin: 0 0 0 - | + | margin: 0 0 0 -230px; |
padding: 0; | padding: 0; | ||
z-index:1001; | z-index:1001; | ||
Line 216: | Line 276: | ||
font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif; | font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif; | ||
font-size:14px; | font-size:14px; | ||
- | letter-spacing:1px; | + | /*letter-spacing:1px;*/ |
text-transform:uppercase; | text-transform:uppercase; | ||
} | } | ||
#nav ul{ | #nav ul{ | ||
- | width: | + | width: 620px; |
background: white; | background: white; | ||
text-align:center; | text-align:center; | ||
Line 233: | Line 293: | ||
} | } | ||
#nav li { /*float the main list items*/ | #nav li { /*float the main list items*/ | ||
+ | position:static; | ||
margin: 0; | margin: 0; | ||
float: left; | float: left; | ||
Line 239: | Line 300: | ||
background:white ; | background:white ; | ||
text-align:center; | text-align:center; | ||
+ | width:90px; | ||
+ | |||
} | } | ||
#nav li ul { | #nav li ul { | ||
display: none; | display: none; | ||
- | + | width:200px; | |
} | } | ||
- | #nav li.off ul, #nav li.on ul { /* | + | #nav li.off ul, #nav li.on ul { /*Position of the submenu!!*/ |
- | position: | + | position:static; |
- | + | direction:ltr; | |
- | + | ||
- | left: | + | width:150px; |
- | right:50%; | + | height:100px; |
- | margin: 0 0 0 - | + | |
- | padding: 0 0 | + | /*left:30px; |
+ | right:50%;*/ | ||
+ | margin: 0 0 0 -150px; | ||
+ | padding: 0 0 0 0; | ||
background:white; | background:white; | ||
text-align:center; | text-align:center; | ||
Line 261: | Line 327: | ||
font-weight: bold; | font-weight: bold; | ||
display: block; | display: block; | ||
- | height: | + | height: 30px; |
width: auto; | width: auto; | ||
border-bottom:0; | border-bottom:0; | ||
- | margin: | + | margin: 2px; |
- | padding: 0 0 | + | padding: 0 0 2px 0; |
} | } | ||
Line 305: | Line 371: | ||
width: auto; | width: auto; | ||
margin-right: 0px; | margin-right: 0px; | ||
- | text-align: center; | + | /*text-align: center;*/ |
} | } | ||
#nav li.on ul { | #nav li.on ul { | ||
- | display: | + | display: block; |
} | } | ||
#nav li.off:hover ul { | #nav li.off:hover ul { | ||
- | display: | + | display: inline; |
z-index: 6000; | z-index: 6000; | ||
} | } | ||
- | #nav li.off a:hover, #nav li:hover a { | + | #nav li.off a:hover, #nav li:hover a { /* this is for the background that opens behind the submenu */ |
background:white; | background:white; | ||
color: black; | color: black; | ||
+ | height: 54px; | ||
+ | width: 150px; | ||
} | } | ||
Line 322: | Line 390: | ||
background: white; | background: white; | ||
color: #2ab117; | color: #2ab117; | ||
+ | width: 150px; | ||
} | } | ||
Line 424: | Line 493: | ||
z-index:1001; | z-index:1001; | ||
} | } | ||
+ | |||
#menubar ul { | #menubar ul { | ||
Line 440: | Line 510: | ||
#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 531: | Line 601: | ||
text-transform: lowercase; | text-transform: lowercase; | ||
} | } | ||
+ | |||
+ | |||
.left-menu a:hover { | .left-menu a:hover { | ||
Line 644: | Line 716: | ||
</style> | </style> | ||
- | <html> | + | </html> |
Latest revision as of 03:53, 27 October 2012