Team:NTNU Trondheim/ntnu style.css
From 2011.igem.org
(38 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
/*Stylesheet for NTNU_Trondheim*/ | /*Stylesheet for NTNU_Trondheim*/ | ||
+ | |||
+ | .sponsor { | ||
+ | margin: 0.5em 1em; | ||
+ | float: left; | ||
+ | } | ||
+ | |||
+ | #sponsor-table td { | ||
+ | padding: 2em 0 0 2em; | ||
+ | } | ||
+ | |||
+ | #sponsor-box { | ||
+ | padding: 1em 0 0 0; | ||
+ | margin: 0 auto; | ||
+ | height: 150px; | ||
+ | width: 100%; | ||
+ | background: none; | ||
+ | border: none; | ||
+ | } | ||
#search-box { | #search-box { | ||
Line 152: | Line 170: | ||
#p-logo { | #p-logo { | ||
display: none; | display: none; | ||
+ | } | ||
+ | |||
+ | table.judging { | ||
+ | font-size: 10px; | ||
+ | border-style: hidden; | ||
+ | border-color: gray; | ||
+ | border-collapse: separate; | ||
+ | background-color: none; | ||
+ | float: right; | ||
+ | max-width: 20em; | ||
+ | } | ||
+ | |||
+ | table.judging td { | ||
+ | padding: 2px; | ||
+ | max-width: 30em; | ||
+ | border-style: hidden; | ||
+ | } | ||
+ | |||
+ | table.judging tr.bronze td{ | ||
+ | border-width: 2px; | ||
+ | background-color: #9C6963; | ||
+ | } | ||
+ | |||
+ | table.judging tr.silver td{ | ||
+ | background-color: #C0C0C0; | ||
+ | } | ||
+ | |||
+ | table.judging tr.gold td{ | ||
+ | background-color: #FFCC00; | ||
} | } | ||
Line 160: | Line 207: | ||
#menu { | #menu { | ||
width: 100%; | width: 100%; | ||
- | background: # | + | background: #00509E; |
float: left; | float: left; | ||
} | } | ||
Line 168: | Line 215: | ||
margin: 0; | margin: 0; | ||
padding: 0; | padding: 0; | ||
- | |||
float: left; | float: left; | ||
} | } | ||
#menu ul ul{ | #menu ul ul{ | ||
- | width: | + | width: 9.5em |
} | } | ||
#menu h2, #menu a { | #menu h2, #menu a { | ||
- | font: bold | + | font: bold 15px arial, helvetica, sans-serif; |
display: block; | display: block; | ||
padding: 2px 3px; | padding: 2px 3px; | ||
Line 183: | Line 229: | ||
#menu .link { | #menu .link { | ||
- | background: # | + | background: #00509E; |
color: #a4d7de; | color: #a4d7de; | ||
text-decoration: none; | text-decoration: none; | ||
- | |||
} | } | ||
#menu .top-heading { | #menu .top-heading { | ||
min-height: 3em; | min-height: 3em; | ||
+ | padding: 5px 1em 0 5px; | ||
} | } | ||
#menu .head { | #menu .head { | ||
- | background: # | + | background: #00509E; |
color: #a4d7de; | color: #a4d7de; | ||
} | } |
Latest revision as of 15:50, 21 September 2011
/*Stylesheet for NTNU_Trondheim*/
.sponsor {
margin: 0.5em 1em; float: left;
}
- sponsor-table td {
padding: 2em 0 0 2em;
}
- sponsor-box {
padding: 1em 0 0 0; margin: 0 auto; height: 150px; width: 100%; background: none; border: none;
}
- search-box {
background-color: transparent; float: left; height: 50px; width: 150px;
text-align: center;
}
/* MediaWiki mods */
table {
background: none;
}
html {
background-color: #e6eef3; background-attachment: fixed; background-position: center top;
}
.editsection {
font-size: 13px; font-weight: normal;
}
.mw-headline {
font-family: arial; color: #51227b;
}
- catlinks{
display: none;
}
body {
width 100% margin-left: auto; margin-right: auto; background: none;
}
.firstHeading {
display: none;
}
- search-controls {
display: none;
}
- searchGoButton {
float: left; color: #026634;
}
- mw-searchButton {
float: right; color: #026634;
}
- footer-box {
margin-top: 3em; background-color: #a4d7de; border: none;
}
- top-section {
height: 10px; width: 100%; padding: 5px; margin: 0px; margin-left: auto; margin-right: auto; margin-bottom: 0 !important; background: none; border: none;
}
div.thumb {
border: none;
}
- menubar {
background: none; border: none; margin-left: auto; margin-right: auto;
}
.left-menu ul li a, .right-menu ul li a{
color: #a4d7de; background: none;
}
.left-menu:hover a {
color: #a4d7de;
}
.left-menu:hover a:hover, .left-menu li a:hover, .right-menu li a:hover, {
color: #a4d7de; text-decoration: underline;
}
- content {
background: none; border: none; width: 800px; min-height: 400px; margin: 0px auto 0px auto; padding: 0px 0px 0px 0px;
}
- shadow-wrapper {
-moz-box-shadow: 3px 3px 4px #000; -webkit-box-shadow: 3px 3px 4px #000; box-shadow: 3px 3px 4px #000;
}
- header {
background-image: url(""); height: 200px;
}
- test-header {
}
- wikiContent {
padding: 0 1em 1em; background: #e7dfcc;
}
- globalWrapper {
height: 100%; width: 100%; border: none; background: none;
}
- globalWrapper h2{
margin-bottom: 0px; border-bottom-width: 0px;
}
- footerBox {
margin-top: 1em; border: none; background-color: #a4d7de;
}
- p-logo {
display: none;
}
table.judging {
font-size: 10px;
border-style: hidden; border-color: gray; border-collapse: separate; background-color: none;
float: right; max-width: 20em;
}
table.judging td { padding: 2px;
max-width: 30em;
border-style: hidden; }
table.judging tr.bronze td{
border-width: 2px; background-color: #9C6963;
}
table.judging tr.silver td{
background-color: #C0C0C0;
}
table.judging tr.gold td{
background-color: #FFCC00;
}
/********[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; float: left;
}
- menu ul ul{
width: 9.5em
}
- menu h2, #menu a {
font: bold 15px arial, helvetica, sans-serif; display: block; padding: 2px 3px;
}
- menu .link {
background: #00509E; color: #a4d7de; text-decoration: none;
}
- menu .top-heading {
min-height: 3em; padding: 5px 1em 0 5px;
}
- menu .head {
background: #00509E; color: #a4d7de;
}
- menu a:hover {
color: #a4d7de; background: #cf66b0;
}
- menu h2:hover {
color: #a4d7de; background: #9780b0;
}
- menu li {
position: relative; margin: 0px;
}
- 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;}