Team:Kent/menu bar

From 2014.igem.org

(Difference between revisions)
Line 7: Line 7:
body {
body {
-
     margin: 10px 0 0 0;
+
     margin:auto;
     padding: 0;}
     padding: 0;}
#top-section {
#top-section {
-
     width: 100px;
+
     width: 150px;
     height: 0;
     height: 0;
-
     margin: 0 auto;
+
     margin: 0;
     padding: 0;
     padding: 0;
     border: none;}
     border: none;}
#menubar {
#menubar {
-
     font-size: 15%;
+
     font-size: 5%;
     top: 0px;}
     top: 0px;}
 +
.left-menu:hover {
.left-menu:hover {
     background-color: transparent;}
     background-color: transparent;}
 +
#menubar li a {
#menubar li a {
     background-color: transparent;}
     background-color: transparent;}
Line 37: Line 39:
#top-section {
#top-section {
     border: none;
     border: none;
-
     height: 0px;}
+
     height: 20px;}
#content {
#content {
     border: none;}
     border: none;}

Revision as of 21:56, 10 August 2014

/* Removes "teams" from the menubar */

  1. menubar > ul > li:last-child {
   display: none;}

/* Resizes the menubar to fik the links (default is 400px) */

  1. menubar {
   width: auto;}

body {

   margin:auto;
   padding: 0;}
  1. top-section {
   width: 150px;
   height: 0;
   margin: 0;
   padding: 0;
   border: none;}
  1. menubar {
   font-size: 5%;
   top: 0px;}

.left-menu:hover {

   background-color: transparent;}
  1. menubar li a {
   background-color: transparent;}
  1. menubar:hover {
   color: transparent;}
  1. menubar li a {
   color: transparent;}
  1. menubar:hover li a {
   color: white;}



  1. contentSub, #search-controls, .firstHeading, #footer-box, #catlinks, #p-logo {
   display:none;}
  1. top-section {
   border: none;
   height: 20px;}
  1. content {
   border: none;}