Team:NTNU Trondheim/ntnu style.css
From 2011.igem.org
(Difference between revisions)
Line 126: | Line 126: | ||
#menu h2, #menu a { | #menu h2, #menu a { | ||
- | |||
font: bold 13px arial, helvetica, sans-serif; | font: bold 13px arial, helvetica, sans-serif; | ||
display: block; | display: block; | ||
Line 135: | Line 134: | ||
#menu .link { | #menu .link { | ||
- | background: # | + | background: #9780b0; |
color: #9780b0; | color: #9780b0; | ||
text-decoration: none; | text-decoration: none; | ||
Line 141: | Line 140: | ||
} | } | ||
- | #menu.top-heading { | + | #menu .top-heading { |
min-height: 3em; | min-height: 3em; | ||
} | } |
Revision as of 15:43, 3 July 2011
/*Stylesheet for NTNU_Trondheim*/
/* MediaWiki mods */
html {
background-image: url(""); background-attachment: fixed; background-position: center top;
}
- catlinks{
display: none;
}
body {
width : 900px; margin-left: auto; margin-right: auto; background: none;
}
.firstHeading {
display: none;
}
- search-controls {
left: 50px; top: 200px;
}
- searchGoButton {
float: left;
}
- mw-searchButton {
float: right;
}
- footer-box {
}
- top-section {
height: 20px; width: 100%; padding: 5px; margin: 0px; margin-left: auto; margin-right: auto; margin-bottom: 0 !important; background: none; border: none;
}
- menubar {
background: none; border: none; margin-left: auto; margin-right: auto;
}
.left-menu ul li a, .right-menu ul li a{
color: cornsilk; background: none;
}
- content {
background: none; margin-right: auto; margin-left: auto; border: none; width: 800px; min-height: 400px;
}
- header {
background: none; height: 200px;
}
- wikiContent {
background: #e7dfcc;
}
- globalWrapper {
height: 100%; width: 100%; border: none; background: none;
}
- p-logo {
display: none;
}
/********[menu coding]********************* http://ago.tanfa.co.uk/css/examples/menu/tutorial-h.html
- /
- menu {
width: 100%; background: #00509E; float: left;
}
- menu ul {
list-style: none; margin: 0; padding: 0; width: 5em; float: left;
}
- menu a:hover {
color: blue; background: red;
}
- menu h2:hover {
background: black;
}
- menu h2, #menu a {
font: bold 13px arial, helvetica, sans-serif; display: block; border: 0px; margin: 0px; padding: 2px 3px;
}
- menu .link {
background: #9780b0; color: #9780b0; text-decoration: none;
}
- menu .top-heading {
min-height: 3em;
}
- menu .head {
color: grey; background: #51227b;
}
- menu li {
position: relative;
}
- menu ul ul {
position: absolute; z-index: 500;
}
- menu ul ul ul {
position: absolute; top: 0; left: 100%;
}
div#menu ul ul, div#menu ul li:hover ul ul, div#menu ul ul li:hover ul ul {display: none;}
div#menu ul li:hover ul, div#menu ul ul li:hover ul, div#menu ul ul ul li:hover ul {display: block;}