Team:NTNU Trondheim/ntnu style.css

From 2011.igem.org

(Difference between revisions)
 
(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: #51227b;
+
   background: #00509E;
   float: left;
   float: left;
}
}
Line 168: Line 215:
   margin: 0;
   margin: 0;
   padding: 0;
   padding: 0;
-
  width: 5em;
 
   float: left;
   float: left;
}
}
#menu ul ul{
#menu ul ul{
-
   width: 9em
+
   width: 9.5em
}
}
#menu h2, #menu a {
#menu h2, #menu a {
-
   font: bold 13px arial, helvetica, sans-serif;
+
   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: #af007c;
+
   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: #51227b;
+
   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;

}

  1. sponsor-table td {
  padding: 2em 0 0 2em;

}

  1. sponsor-box {
 padding: 1em 0 0 0;
 margin: 0 auto;
 height: 150px;
 width: 100%;
 background: none;
 border: 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;

}

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

                                                                                    • /
  1. menu {
 width: 100%;
 background: #00509E;
 float: left;

}

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

}

  1. menu ul ul{
 width: 9.5em

}

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

}

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

}

  1. menu .top-heading {
 min-height: 3em;
 padding: 5px 1em 0 5px;

}

  1. menu .head {
 background: #00509E;
 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;}