Team:Imperial/Templates:custom css

From 2014.igem.org

(Difference between revisions)
Line 82: Line 82:
/* Header */
/* Header */
-
.header{
+
.header *{
display:inline-block;
display:inline-block;
}
}

Revision as of 10:38, 22 July 2014

/* ---------------- WikiMedia Elements / Page Structure---------------- */

  1. content { border: none; }

/* HIDE Search Controls Page title, footerbox */

  1. p-logo,
  2. search-controls,
  3. footer-box,

.firstHeading {

   display: none;

}


  1. top-section { /*styling for default menu bar*/
   background-color: rgba(128, 85, 0, 0.1);
   border: none;
   height:20px;
   margin-top: 0;
   margin-bottom: 20px;
  -webkit-transition: all 300ms ease;
  -moz-transition: all 300ms ease;
  -ms-transition: all 300ms ease;
  -o-transition: all 300ms ease;
  transition: all 300ms ease;

}

  1. top-section:hover { /*changes menu bar colour on hove*/
   background: #805500;

}


  1. menubar { /* Edit menubar link styles */
   top: 0 !important;
   font-size: 0.7em;

}

  1. menubar li,
  2. menubar li a:link {
   text-transform: uppercase;

}


  1. top-section:hover #menubar li a { /* Highlight with background colour on hover */
   color: #FFF;

}

  1. menubar li a:link,
  2. menubar li a:visited {
   color: #DDD;
   background-color: transparent;

}

  1. menubar li a:hover,
  2. menubar li a:focus {
   color: #805500;
   text-decoration: none;

}

/* Edit */

  1. menubar.left-menu{

}

  1. menubar.left-menu:hover {
   background-color: transparent;

}


/* User */

  1. menubar.right-menu {

}


/* ? */

  1. catlinks {
   border:none;
   background: #ffffff;

} /* Header */

.header *{ display:inline-block;

}