Team:TU-Delft/CSSLaksh
From 2012.igem.org
(Difference between revisions)
(37 intermediate revisions not shown) | |||
Line 23: | Line 23: | ||
padding:0; | padding:0; | ||
} | } | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
html { | html { | ||
Line 33: | Line 49: | ||
padding:0; | padding:0; | ||
} | } | ||
+ | |||
+ | |||
+ | |||
+ | .dropdown | ||
+ | { | ||
+ | color: #555; | ||
+ | margin: 3px -22px 0 0; | ||
+ | width: 143px; | ||
+ | position: relative; | ||
+ | height: 17px; | ||
+ | text-align:left; | ||
+ | } | ||
+ | .submenu | ||
+ | { | ||
+ | background: #fff; | ||
+ | position: absolute; | ||
+ | top: -12px; | ||
+ | left: -20px; | ||
+ | z-index: 100; | ||
+ | width: 135px; | ||
+ | display: none; | ||
+ | margin-left: 10px; | ||
+ | padding: 40px 0 5px; | ||
+ | border-radius: 6px; | ||
+ | box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45); | ||
+ | } | ||
+ | .dropdown li a | ||
+ | { | ||
+ | color: #555555; | ||
+ | display: block; | ||
+ | font-family: arial; | ||
+ | font-weight: bold; | ||
+ | padding: 6px 15px; | ||
+ | cursor: pointer; | ||
+ | text-decoration:none; | ||
+ | } | ||
+ | |||
+ | .dropdown li a:hover | ||
+ | { | ||
+ | background:#155FB0; | ||
+ | color: #FFFFFF; | ||
+ | text-decoration: none; | ||
+ | } | ||
+ | a.account | ||
+ | { | ||
+ | font-size: 11px; | ||
+ | line-height: 16px; | ||
+ | color: #555; | ||
+ | position: absolute; | ||
+ | z-index: 110; | ||
+ | display: block; | ||
+ | padding: 11px 0 0 20px; | ||
+ | height: 28px; | ||
+ | width: 121px; | ||
+ | margin: -11px 0 0 -10px; | ||
+ | text-decoration: none; | ||
+ | background: url(icons/arrow.png) 116px 17px no-repeat; | ||
+ | cursor:pointer; | ||
+ | } | ||
+ | .root | ||
+ | { | ||
+ | list-style:none; | ||
+ | margin:0px; | ||
+ | padding:0px; | ||
+ | font-size: 11px; | ||
+ | padding: 11px 0 0 0px; | ||
+ | border-top:1px solid #dedede; | ||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
body { | body { | ||
Line 46: | Line 138: | ||
background:white; | 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:1000px; | ||
+ | margin: -10px auto 0 auto; | ||
padding:20px 50px 50px 50px; | padding:20px 50px 50px 50px; | ||
float: left; | float: left; | ||
Line 113: | Line 219: | ||
} | } | ||
#content { | #content { | ||
- | + | background: #2ab117; | |
- | + | padding:0; | |
+ | width:100%; | ||
+ | border:0; | ||
} | } | ||
#bodyContent{ | #bodyContent{ | ||
+ | margin:0 auto; | ||
+ | padding:0; | ||
+ | width:625px; | ||
+ | border:0; | ||
+ | background:white; | ||
+ | z-index:800; | ||
} | } | ||
Line 222: | Line 336: | ||
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 233: | Line 347: | ||
letter-spacing:1px; | letter-spacing:1px; | ||
text-transform:uppercase; | text-transform:uppercase; | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
+ | height: 17px; | ||
+ | text-align:left; | ||
} | } | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | #nav li a { | + | /* common styling */ |
- | + | #nav ul li a, .menu ul li a:visited {display:block; text-decoration:none; color:#000;width:104px; height:20px; text-align:center; color:#fff; border:1px solid #fff; background:#710069; line-height:14px; font-size:11px; overflow:hidden;} | |
- | + | #nav ul {padding:0; margin:0; list-style: none;} | |
- | + | #nav ul li {float:left; position:relative;} | |
- | + | #nav ul li ul {display: none;} | |
- | + | ||
- | + | /* specific to non IE browsers */ | |
- | + | #nav ul li:hover a {color:#fff; background:#36f;} | |
- | + | #nav ul li:hover ul {display:block; position:absolute; top:21px; left:0; width:105px;} | |
- | } | + | #nav ul li:hover ul li a.hide {background:#6a3; color:#fff;} |
+ | #nav ul li:hover ul li:hover a.hide {background:#6fc; color:#000;} | ||
+ | #nav ul li:hover ul li ul {display: none;} | ||
+ | #nav ul li:hover ul li a {display:block; background:#ddd; color:#000;} | ||
+ | #nav ul li:hover ul li a:hover {background:#6fc; color:#000;} | ||
+ | #nav ul li:hover ul li:hover ul {display:block; position:absolute; left:105px; top:0;} | ||
+ | #nav ul li:hover ul li:hover ul.left {left:-105px;} | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
.third{ | .third{ | ||
Line 407: | Line 453: | ||
#top-section { | #top-section { | ||
border:none; | border:none; | ||
+ | margin: 0 auto; | ||
height:0px ! important; | height:0px ! important; | ||
+ | width:100%; | ||
} | } | ||
#centeredimage { | #centeredimage { | ||
Line 427: | Line 475: | ||
#menubar { | #menubar { | ||
- | + | position: absolute; | |
- | + | white-space: nowrap; | |
- | + | top:0; | |
- | + | width: 350px; | |
- | + | z-index: 5; | |
- | + | font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif; | |
- | + | font-size: 95%; | |
- | + | line-height: 1em; | |
+ | z-index:1001; | ||
+ | } | ||
- | #menubar | + | #menubar ul { |
- | + | color: #E81B05; | |
- | + | list-style: none; | |
- | + | } | |
- | + | #menubar li { | |
- | + | display: inline; | |
- | + | position: relative; | |
- | + | cursor: pointer; | |
- | + | padding-left: 0px; | |
- | + | padding-right: 0px; | |
- | + | } | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
#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; | ||
} | } |
Latest revision as of 22:18, 26 October 2012