Team:ETH Zurich/css/adjust igem standard.css

From 2014.igem.org

(Difference between revisions)
Line 5: Line 5:
     padding: 0;}
     padding: 0;}
#top-section {
#top-section {
-
     width: 100%;
+
     background-color: #383838;
-
     height: 20px;
+
    border: 0px none;
-
     margin: 0;
+
     height: 14px;
-
     padding: 0;
+
     z-index: 100;
-
     border: none;}
+
     top: 0px;
 +
     position: fixed;
 +
    width: 975px;
 +
    left: 50%;
 +
    margin-left: -487px;
 +
}
#menubar {
#menubar {
-
     font-size: medium;
+
     position: absolute;
-
     padding-top: 0.5em;
+
     white-space: nowrap;
-
     padding-left: 0.5em;
+
     top: -6px;
-
     top: -12px;}
+
     width: 400px;
-
.left-menu:hover {
+
    z-index: 5;
-
     background-color: grey;}
+
     font-family: sans-serif;
-
.right-menu:hover {
+
    font-size: 95%;
-
     background-color: grey;}
+
     line-height: 1em;
-
#menubar li a {
+
}
-
     background-color: transparent;}
+
.left-menu, .left-menu a {
-
#menubar:hover {
+
     left: 0px;
-
     color: white;}
+
     text-align: left;
-
#menubar li a {
+
     color: transparent;
-
     color: transparent;}
+
     text-transform: lowercase;
-
#menubar:hover li a {
+
}
-
     color: white;}
+
 
-
+
-
/* Removes "teams" from the menubar */
+
-
#menubar > ul > li:last-child {
+
-
    display: none;}
+
-
/* Resizes the menubar to fik the links (default is 400px) */
+
-
#menubar {
+
-
    width: auto;}
+
#globalWrapper, #content { /*-- changes default wiki settings --*/
#globalWrapper, #content { /*-- changes default wiki settings --*/

Revision as of 10:05, 12 September 2014

  1. contentSub, #footer-box, #catlinks, #search-controls, #p-logo, .printfooter, .visualClear, .firstHeading {display: none;}, /*-- hides default wiki settings --*/

body {

   margin: 10px 0 0 0;
   padding: 0;}
  1. top-section {
   background-color: #383838;
   border: 0px none;
   height: 14px;
   z-index: 100;
   top: 0px;
   position: fixed;
   width: 975px;
   left: 50%;
   margin-left: -487px;

}

  1. menubar {
   position: absolute;
   white-space: nowrap;
   top: -6px;
   width: 400px;
   z-index: 5;
   font-family: sans-serif;
   font-size: 95%;
   line-height: 1em;

} .left-menu, .left-menu a {

   left: 0px;
   text-align: left;
   color: transparent;
   text-transform: lowercase;

}


  1. globalWrapper, #content { /*-- changes default wiki settings --*/

width: 100%; height: 100%; border: 0px; background-color: transparent; margin: 0px; padding: 0px; }

html, body, .wrapper { /*-- changes default wiki settings --*/ width: 100%; /* height: 100%; */ /*-- LW Tablet Layout Fix --*/ background-color: transparent; }