Team:NTNU Trondheim/ntnu style.css

From 2011.igem.org

Revision as of 20:53, 13 September 2011 by Tormunds (Talk | contribs)

/*Stylesheet for NTNU_Trondheim*/

  1. sponsor-box {
 width 100%
 margin-left: auto; 
 margin-right: auto; 
 background: none;

}

  1. 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;

}

  1. catlinks{
 display: none;

}

body {

 width 100%
 margin-left: auto; 
 margin-right: auto; 
 background: none;

}

.firstHeading {

 display: none;

}

  1. search-controls {
 display: none;

}

  1. searchGoButton {
 float: left;
 color: #026634;

}

  1. mw-searchButton {
 float: right;
 color: #026634;

}

  1. footer-box {
 margin-top: 3em;
 background-color: #a4d7de;
 border: none;

}

  1. 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;

}

  1. 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;

}

  1. content {
 background: none;
 border: none;
 width: 800px;
 min-height: 400px;
 margin: 0px auto 0px auto;
 padding: 0px 0px 0px 0px;

}

  1. shadow-wrapper {
 -moz-box-shadow: 3px 3px 4px #000;
 -webkit-box-shadow: 3px 3px 4px #000;
 box-shadow: 3px 3px 4px #000;

}

  1. header {
 background-image: url("Hb_banner.png");
 height: 200px;

}

  1. test-header {

}

  1. wikiContent {
 padding: 0 1em 1em;
 background: #e7dfcc;

}

  1. globalWrapper {
   height: 100%;
   width: 100%;
   border: none;
   background: none;

}

  1. globalWrapper h2{
 margin-bottom: 0px;
 border-bottom-width: 0px;

}

  1. footerBox {
 margin-top: 1em;
 border: none;
 background-color: #a4d7de;

}

  1. p-logo {
 display: none;

}

/********[menu coding]********************* http://ago.tanfa.co.uk/css/examples/menu/tutorial-h.html

                                                                                    • /
  1. menu {
 width: 100%;
 background: #51227b;
 float: left;

}

  1. menu ul {
 list-style: none;
 margin: 0;
 padding: 0;
 width: 5em;
 float: left;

}

  1. menu ul ul{
 width: 9em

}

  1. menu h2, #menu a {
 font: bold 13px arial, helvetica, sans-serif;
 display: block;
 padding: 2px 3px;

}

  1. menu .link {
 background: #af007c;
 color: #a4d7de;
 text-decoration: none;

}

  1. menu .top-heading {
 min-height: 3em;

}

  1. menu .head {
 background: #51227b;
 color: #a4d7de;

}

  1. menu a:hover {
 color: #a4d7de;
 background: #cf66b0;

}

  1. menu h2:hover {
 color: #a4d7de;
 background: #9780b0;

}

  1. menu li {
 position: relative;
 margin: 0px;

}

  1. menu ul ul {
 position: absolute;
 z-index: 500;

}

  1. 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;}