Team:Imperial/Templates:custom css

From 2014.igem.org

(Difference between revisions)
 
(72 intermediate revisions not shown)
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(0, 128, 128, 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: #008080;
}
}
-
/* 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: #805500;
     text-decoration: none;
     text-decoration: none;
}
}
Line 76: Line 73:
}
}
-
 
Line 84: Line 80:
     background: #ffffff;
     background: #ffffff;
}
}
 +
/* -----------------------Header--------------- */
-
/* Wikimedia related links at base of page */
+
.header h1{
 +
display:inline-block;
 +
position: relative;
 +
}
-
#footer-box {
+
}/*--------------------Custom Navbar-------------------------*/
-
    border:none;
+
.navbar-custom {
-
    margin: 30px auto;
+
  background-color: #008080;
-
    width: 100%;
+
  border-color: #005f5f;
-
    background-color: #DDDDDD;
+
-
    padding: 3em 0 5em 0;
+
-
 
+
}
}
-
 
+
.navbar-custom .navbar-brand {
-
#footer {
+
  color: #ffffff;
-
    text-align: center;
+
}
}
-
 
+
.navbar-custom .navbar-brand:hover,
-
#footer-box #f-poweredbyico,
+
.navbar-custom .navbar-brand:focus {
-
#footer-box #f-copyrightico {
+
  color: #e6e6e6;
-
    float: none;
+
  background-color: transparent;
-
    display: inline-block;
+
-
    vertical-align: middle;
+
-
    margin-bottom: 10px;
+
}
}
-
 
+
.navbar-custom .navbar-text {
-
#footer-box #f-copyrightico {
+
  color: #ffffff;
-
 
+
}
}
-
 
+
.navbar-custom .navbar-nav > li:last-child > a {
-
#footer-box #f-list {
+
  border-right: 1px solid #005f5f;
-
     float: none;
+
}
-
     display: block;
+
.navbar-custom .navbar-nav > li > a {
-
     width: 100%;
+
  color: #ffffff;
-
     margin: 0;
+
  border-left: 1px solid #005f5f;
-
     padding: 0;
+
}
 +
.navbar-custom .navbar-nav > li > a:hover,
 +
.navbar-custom .navbar-nav > li > a:focus {
 +
  color: #c0c0c0;
 +
  background-color: transparent;
 +
}
 +
.navbar-custom .navbar-nav > .active > a,
 +
.navbar-custom .navbar-nav > .active > a:hover,
 +
.navbar-custom .navbar-nav > .active > a:focus {
 +
  color: #c0c0c0;
 +
  background-color: #005f5f;
 +
}
 +
.navbar-custom .navbar-nav > .disabled > a,
 +
.navbar-custom .navbar-nav > .disabled > a:hover,
 +
.navbar-custom .navbar-nav > .disabled > a:focus {
 +
  color: #cccccc;
 +
  background-color: transparent;
 +
}
 +
.navbar-custom .navbar-toggle {
 +
  border-color: #dddddd;
 +
}
 +
.navbar-custom .navbar-toggle:hover,
 +
.navbar-custom .navbar-toggle:focus {
 +
  background-color: #dddddd;
 +
}
 +
.navbar-custom .navbar-toggle .icon-bar {
 +
  background-color: #cccccc;
 +
}
 +
.navbar-custom .navbar-collapse,
 +
.navbar-custom .navbar-form {
 +
  border-color: #005c5c;
 +
}
 +
.navbar-custom .navbar-nav > .dropdown > a:hover .caret,
 +
.navbar-custom .navbar-nav > .dropdown > a:focus .caret {
 +
  border-top-color: #c0c0c0;
 +
  border-bottom-color: #c0c0c0;
 +
}
 +
.navbar-custom .navbar-nav > .open > a,
 +
.navbar-custom .navbar-nav > .open > a:hover,
 +
.navbar-custom .navbar-nav > .open > a:focus {
 +
  background-color: #005f5f;
 +
  color: #c0c0c0;
 +
}
 +
.navbar-custom .navbar-nav > .open > a .caret,
 +
.navbar-custom .navbar-nav > .open > a:hover .caret,
 +
.navbar-custom .navbar-nav > .open > a:focus .caret {
 +
  border-top-color: #c0c0c0;
 +
  border-bottom-color: #c0c0c0;
 +
}
 +
.navbar-custom .navbar-nav > .dropdown > a .caret {
 +
  border-top-color: #ffffff;
 +
  border-bottom-color: #ffffff;
 +
}
 +
@media (max-width: 767) {
 +
  .navbar-custom .navbar-nav .open .dropdown-menu > li > a {
 +
     color: #ffffff;
 +
  }
 +
  .navbar-custom .navbar-nav .open .dropdown-menu > li > a:hover,
 +
  .navbar-custom .navbar-nav .open .dropdown-menu > li > a:focus {
 +
     color: #c0c0c0;
 +
     background-color: transparent;
 +
  }
 +
  .navbar-custom .navbar-nav .open .dropdown-menu > .active > a,
 +
  .navbar-custom .navbar-nav .open .dropdown-menu > .active > a:hover,
 +
  .navbar-custom .navbar-nav .open .dropdown-menu > .active > a:focus {
 +
     color: #c0c0c0;
 +
     background-color: #005f5f;
 +
  }
 +
  .navbar-custom .navbar-nav .open .dropdown-menu > .disabled > a,
 +
  .navbar-custom .navbar-nav .open .dropdown-menu > .disabled > a:hover,
 +
  .navbar-custom .navbar-nav .open .dropdown-menu > .disabled > a:focus {
 +
    color: #cccccc;
 +
    background-color: transparent;
 +
  }
 +
}
 +
.navbar-custom .navbar-link {
 +
  color: #ffffff;
 +
}
 +
.navbar-custom .navbar-link:hover {
 +
  color: #c0c0c0;
}
}
 +
/*--------------------------More custom stuff---------------------------*/
-
#footer-box #f-list li {
+
body {
-
    text-transform: uppercase;
+
  background-color:#FFFFFF;
-
    padding: 0 .75em;
+
  }
-
    margin: 0;
+
-
}
+
-
#footer-box #f-list li a:link,
+
  body,#globalWrapper {
-
#footer-box #f-list li a:visited {
+
  font-size: 14px;
-
    color: #CCC;
+
  font-family: 'Noto Sans', sans-serif;
-
    font-size: 0.7em;
+
-
}
+
-
#footer-box #f-list li a:hover,
 
-
#footer-box #f-list li a:focus {
 
-
    color: #36A9E1;
 
-
    text-decoration: none;
 
}
}
 +
 
 +
  h1,h2,h3,h4 {
 +
  color: #008080;
 +
  background: #ffffff;
 +
  font-weight: bold;
 +
  margin: 0 0 0 0;
 +
  border-bottom: none;
 +
  }
 +
 +
p {
 +
  padding: 5px 20px 0px 20px;
 +
  }

Latest revision as of 08:08, 1 August 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(0, 128, 128, 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: #008080;

}


  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 h1{ display:inline-block; position: relative; }


}/*--------------------Custom Navbar-------------------------*/ .navbar-custom {

 background-color: #008080;
 border-color: #005f5f;

} .navbar-custom .navbar-brand {

 color: #ffffff;

} .navbar-custom .navbar-brand:hover, .navbar-custom .navbar-brand:focus {

 color: #e6e6e6;
 background-color: transparent;

} .navbar-custom .navbar-text {

 color: #ffffff;

} .navbar-custom .navbar-nav > li:last-child > a {

 border-right: 1px solid #005f5f;

} .navbar-custom .navbar-nav > li > a {

 color: #ffffff;
 border-left: 1px solid #005f5f;

} .navbar-custom .navbar-nav > li > a:hover, .navbar-custom .navbar-nav > li > a:focus {

 color: #c0c0c0;
 background-color: transparent;

} .navbar-custom .navbar-nav > .active > a, .navbar-custom .navbar-nav > .active > a:hover, .navbar-custom .navbar-nav > .active > a:focus {

 color: #c0c0c0;
 background-color: #005f5f;

} .navbar-custom .navbar-nav > .disabled > a, .navbar-custom .navbar-nav > .disabled > a:hover, .navbar-custom .navbar-nav > .disabled > a:focus {

 color: #cccccc;
 background-color: transparent;

} .navbar-custom .navbar-toggle {

 border-color: #dddddd;

} .navbar-custom .navbar-toggle:hover, .navbar-custom .navbar-toggle:focus {

 background-color: #dddddd;

} .navbar-custom .navbar-toggle .icon-bar {

 background-color: #cccccc;

} .navbar-custom .navbar-collapse, .navbar-custom .navbar-form {

 border-color: #005c5c;

} .navbar-custom .navbar-nav > .dropdown > a:hover .caret, .navbar-custom .navbar-nav > .dropdown > a:focus .caret {

 border-top-color: #c0c0c0;
 border-bottom-color: #c0c0c0;

} .navbar-custom .navbar-nav > .open > a, .navbar-custom .navbar-nav > .open > a:hover, .navbar-custom .navbar-nav > .open > a:focus {

 background-color: #005f5f;
 color: #c0c0c0;

} .navbar-custom .navbar-nav > .open > a .caret, .navbar-custom .navbar-nav > .open > a:hover .caret, .navbar-custom .navbar-nav > .open > a:focus .caret {

 border-top-color: #c0c0c0;
 border-bottom-color: #c0c0c0;

} .navbar-custom .navbar-nav > .dropdown > a .caret {

 border-top-color: #ffffff;
 border-bottom-color: #ffffff;

} @media (max-width: 767) {

 .navbar-custom .navbar-nav .open .dropdown-menu > li > a {
   color: #ffffff;
 }
 .navbar-custom .navbar-nav .open .dropdown-menu > li > a:hover,
 .navbar-custom .navbar-nav .open .dropdown-menu > li > a:focus {
   color: #c0c0c0;
   background-color: transparent;
 }
 .navbar-custom .navbar-nav .open .dropdown-menu > .active > a,
 .navbar-custom .navbar-nav .open .dropdown-menu > .active > a:hover,
 .navbar-custom .navbar-nav .open .dropdown-menu > .active > a:focus {
   color: #c0c0c0;
   background-color: #005f5f;
 }
 .navbar-custom .navbar-nav .open .dropdown-menu > .disabled > a,
 .navbar-custom .navbar-nav .open .dropdown-menu > .disabled > a:hover,
 .navbar-custom .navbar-nav .open .dropdown-menu > .disabled > a:focus {
   color: #cccccc;
   background-color: transparent;
 }

} .navbar-custom .navbar-link {

 color: #ffffff;

} .navbar-custom .navbar-link:hover {

 color: #c0c0c0;

}

/*--------------------------More custom stuff---------------------------*/

body {

  background-color:#FFFFFF;
  }
  body,#globalWrapper {
  font-size: 14px;
  font-family: 'Noto Sans', sans-serif;

}

  h1,h2,h3,h4 {
  color: #008080;
  background: #ffffff;
  font-weight: bold;
  margin: 0 0 0 0;
  border-bottom: none;
  }
p {
  padding: 5px 20px 0px 20px;
  }