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

From 2014.igem.org

(Difference between revisions)
Line 2: Line 2:
body {
body {
-
    font: x-small sans-serif;
+
     margin: 10px 0 0 0;
-
    color: black;
+
     padding: 0;}
-
     margin: 0;
+
-
    padding: 0;
+
-
    background-color: #aaaaaa;
+
-
}
+
-
 
+
-
/* scale back up to a sane default */
+
-
#globalWrapper {
+
-
    position: relative;
+
-
    font-size: 127%;
+
-
    width: 100%;
+
-
    margin: 0;
+
-
     padding: 0;
+
-
    padding-bottom: 10px;
+
-
}
+
-
 
+
-
#bodyContent{
+
-
      width:100%;
+
-
}
+
-
 
+
-
.visualClear {
+
-
    clear: both;
+
-
}
+
-
 
+
-
/* The top section contains the banner, the search box, and the left and right menus */
+
-
 
+
#top-section {
#top-section {
-
     position: relative;
+
     background-color: #383838;
-
     height: 20px;
+
    border: 0px none;
-
     width: 100%;
+
     height: 14px;
 +
     z-index: 100;
 +
    top: 0px;
 +
    position: fixed;
 +
    width: 975px;
 +
    left: 50%;
 +
    margin-left: -487px;
}
}
-
 
-
 
-
 
-
 
#menubar {
#menubar {
     position: absolute;
     position: absolute;
Line 48: Line 25:
     line-height: 1em;
     line-height: 1em;
}
}
-
 
.left-menu, .left-menu a {
.left-menu, .left-menu a {
     left: 0px;
     left: 0px;
     text-align: left;
     text-align: left;
-
     color:transparent;
+
     color: transparent;
     text-transform: lowercase;
     text-transform: lowercase;
}
}
-
.left-menu:hover {
+
 
-
    color: white;
+
#globalWrapper, #content { /*-- changes default wiki settings --*/
-
    background-color: #555555
+
width: 100%;
 +
height: 100%;
 +
border: 0px;
 +
background-color: transparent;
 +
margin: 0px;
 +
padding: 0px;
}
}
-
.right-menu, .right-menu a {
 
-
    right: 0px;
 
-
    text-align: right;
 
-
    color: white;
 
-
}
 
-
#menubar ul {
 
-
    color: #555555;
 
-
    list-style: none;
 
-
}
 
-
#menubar li {
 
-
    display: inline;
 
-
    position: relative;
 
-
    cursor: pointer;
 
-
    padding-left: 0px;
 
-
    padding-right: 0px;
 
-
}
 
-
.left-menu li a {
 
-
    padding: 0px 10px 0px 0px;
 
-
}
 
-
.left-menu .selected {
 
-
#    color: white;
 
-
}
 
-
#.left-menu .selected:hover {
 
-
#    color: #5555FF;
 
-
#}
 
-
.left-menu:hover a {
+
html, body, .wrapper { /*-- changes default wiki settings --*/
-
    color: white;
+
width: 100%;  
-
}
+
/* height: 100%; */ /*-- LW Tablet Layout Fix --*/
-
.right-menu li {
+
background-color: transparent;
-
#    background-color: #606060;
+
-
}
+
-
.right-menu li a {
+
-
    padding: 0px 15px 0px 0px;
+
-
    color: white;
+
-
    background-color: #606060;
+
-
}
+
-
.right-menu li a:hover {
+
-
    color: #aaaaff;
+
-
    text-decoration: underline;
+
}
}

Revision as of 10:29, 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; }