Team:Imperial/Templates:custom css

From 2014.igem.org

(Difference between revisions)
Line 5: Line 5:
/* HIDE
/* HIDE
Search Controls
Search Controls
-
Page title */
+
Page title, footerbox */
#p-logo,
#p-logo,
#search-controls,
#search-controls,
 +
#footer-box,
.firstHeading {
.firstHeading {
     display: none;
     display: none;
}
}
-
h1, h2, h3, h4, h5, h6 {
 
-
  color: #36a9e1;
 
-
}
 
-
/* Remove default top header */
+
#top-section { /*styling for default menu bar*/
-
#top-section {
+
     background-color: rgba(54, 169, 225, 0.1);
-
     background-color: rgba(80, 168, 39, 0.1);
+
     border: none;
     border: none;
     height:20px;
     height:20px;
Line 30: Line 27:
}
}
-
#top-section:hover {
+
#top-section:hover { /*changes menu bar colour on hove*/
-
     background: #50a827;
+
     background: #36A9E1;
}
}
-
/* Edit and user menu */
+
 
-
#menubar {
+
#menubar { /* Edit menubar link styles */
     top: 0 !important;
     top: 0 !important;
     font-size: 0.7em;
     font-size: 0.7em;
Line 45: Line 42:
}
}
-
/* Highlight with background colour on hover */
+
 
-
#top-section:hover #menubar li a {
+
#top-section:hover #menubar li a { /* Highlight with background colour on hover */
     color: #FFF;
     color: #FFF;
}
}
Line 58: Line 55:
#menubar li a:hover,
#menubar li a:hover,
#menubar li a:focus {
#menubar li a:focus {
-
     color: #a3c4e9;
+
     color: #A3C4E9;
     text-decoration: none;
     text-decoration: none;
}
}
Line 76: Line 73:
}
}
-
 
Line 83: Line 79:
     border:none;
     border:none;
     background: #ffffff;
     background: #ffffff;
-
}
 
-
 
-
/* Wikimedia related links at base of page */
 
-
 
-
 
-
#footer-box {
 
-
    border:none;
 
-
    margin: 30px auto;
 
-
    width: 100%;
 
-
    background-color: #50a827;
 
-
    padding: 3em 0 5em 0;
 
-
 
-
}
 
-
 
-
#footer {
 
-
    text-align: center;
 
-
}
 
-
 
-
#footer-box #f-poweredbyico,
 
-
#footer-box #f-copyrightico {
 
-
    float: none;
 
-
    display: inline-block;
 
-
    vertical-align: middle;
 
-
    margin-bottom: 10px;
 
-
}
 
-
 
-
#footer-box #f-copyrightico {
 
-
 
-
}
 
-
 
-
#footer-box #f-list {
 
-
    float: none;
 
-
    display: block;
 
-
    width: 100%;
 
-
    margin: 0;
 
-
    padding: 0;
 
-
}
 
-
 
-
 
-
#footer-box #f-list li {
 
-
    text-transform: uppercase;
 
-
    padding: 0 .75em;
 
-
    margin: 0;
 
-
}
 
-
 
-
#footer-box #f-list li a:link,
 
-
#footer-box #f-list li a:visited {
 
-
    color: #CCC;
 
-
    font-size: 0.7em;
 
-
}
 
-
 
-
#footer-box #f-list li a:hover,
 
-
#footer-box #f-list li a:focus {
 
-
    color: #36A9E1;
 
-
    text-decoration: none;
 
}
}

Revision as of 09:02, 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(54, 169, 225, 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: #36A9E1;

}


  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: #A3C4E9;
   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;

}