Team:Imperial/Templates:custom css

From 2014.igem.org

(Difference between revisions)
 
(52 intermediate revisions not shown)
Line 15: Line 15:
#top-section { /*styling for default menu bar*/
#top-section { /*styling for default menu bar*/
-
     background-color: rgba(128, 85, 0, 0.1);
+
     background-color: rgba(0, 128, 128, 0.1);
     border: none;
     border: none;
     height:20px;
     height:20px;
Line 28: Line 28:
#top-section:hover { /*changes menu bar colour on hove*/
#top-section:hover { /*changes menu bar colour on hove*/
-
     background: #805500;
+
     background: #008080;
}
}
Line 87: Line 87:
}
}
-
.header img{
+
 
-
display:inline-block;
+
}/*--------------------Custom Navbar-------------------------*/
-
float:right;
+
-
}/*--------------------Custom Navnar-------------------------*/
+
.navbar-custom {
.navbar-custom {
-
   background-color: #805500;
+
   background-color: #008080;
-
   border-color: #5f3f00;
+
   border-color: #005f5f;
}
}
.navbar-custom .navbar-brand {
.navbar-custom .navbar-brand {
Line 107: Line 105:
}
}
.navbar-custom .navbar-nav > li:last-child > a {
.navbar-custom .navbar-nav > li:last-child > a {
-
   border-right: 1px solid #5f3f00;
+
   border-right: 1px solid #005f5f;
}
}
.navbar-custom .navbar-nav > li > a {
.navbar-custom .navbar-nav > li > a {
   color: #ffffff;
   color: #ffffff;
-
   border-left: 1px solid #5f3f00;
+
   border-left: 1px solid #005f5f;
}
}
.navbar-custom .navbar-nav > li > a:hover,
.navbar-custom .navbar-nav > li > a:hover,
Line 122: Line 120:
.navbar-custom .navbar-nav > .active > a:focus {
.navbar-custom .navbar-nav > .active > a:focus {
   color: #c0c0c0;
   color: #c0c0c0;
-
   background-color: #5f3f00;
+
   background-color: #005f5f;
}
}
.navbar-custom .navbar-nav > .disabled > a,
.navbar-custom .navbar-nav > .disabled > a,
Line 142: Line 140:
.navbar-custom .navbar-collapse,
.navbar-custom .navbar-collapse,
.navbar-custom .navbar-form {
.navbar-custom .navbar-form {
-
   border-color: #5c3d00;
+
   border-color: #005c5c;
}
}
.navbar-custom .navbar-nav > .dropdown > a:hover .caret,
.navbar-custom .navbar-nav > .dropdown > a:hover .caret,
Line 152: Line 150:
.navbar-custom .navbar-nav > .open > a:hover,
.navbar-custom .navbar-nav > .open > a:hover,
.navbar-custom .navbar-nav > .open > a:focus {
.navbar-custom .navbar-nav > .open > a:focus {
-
   background-color: #5f3f00;
+
   background-color: #005f5f;
   color: #c0c0c0;
   color: #c0c0c0;
}
}
Line 178: Line 176:
   .navbar-custom .navbar-nav .open .dropdown-menu > .active > a:focus {
   .navbar-custom .navbar-nav .open .dropdown-menu > .active > a:focus {
     color: #c0c0c0;
     color: #c0c0c0;
-
     background-color: #5f3f00;
+
     background-color: #005f5f;
   }
   }
   .navbar-custom .navbar-nav .open .dropdown-menu > .disabled > a,
   .navbar-custom .navbar-nav .open .dropdown-menu > .disabled > a,
Line 197: Line 195:
body {
body {
-
   background-color:#E9EEE9;
+
   background-color:#FFFFFF;
   }
   }
-
   #menucontainer {
+
   body,#globalWrapper {
-
  overflow:visible;
+
   font-size: 14px;
-
  position:relative;
+
   font-family: 'Noto Sans', sans-serif;
-
  z-index:3;
+
-
  }
+
-
 
+
-
  #content {
+
-
  position: relative;
+
-
  width: 960px;
+
-
  margin: 0 auto;
+
-
  padding-top:1px;
+
-
  padding-left:0px;
+
-
  padding-right:0px;
+
-
  padding-bottom:0px;
+
-
  background: #ffffff;
+
-
  color: black;
+
-
  border: none;
+
-
  line-height: 1.5em;
+
-
  z-index: 2;
+
-
  }
+
-
 
+
-
  #contentSub {
+
-
  margin: 0 0 0 0;
+
-
  }
+
-
 
+
-
  #bodyContent h1, #bodyContent h2, #bodyContent h3, #bodyContent h4, #bodyContent h5 {
+
-
   margin-bottom: 0;
+
-
   }
+
-
 
+
-
  a {color:#93B825;}
+
-
  a:link {color:#93B825;}
+
-
  a:visited {color:#728F1D;}
+
-
  a:hover {color:#93B825;}
+
-
  a:active {color:#93B825;}
+
-
  a[name]:hover {text-decoration:none;}
+
-
 
+
-
  a.sitemap:link,a.sitemap:visited {color:#000000;font-decoration:none;}
+
-
  a.sitemap:hover,a.sitemap:active {color:#000000;font-decoration:underline;}
+
 +
}
 +
 
   h1,h2,h3,h4 {
   h1,h2,h3,h4 {
-
  font-family: arial,sans-serif;
+
   color: #008080;
-
   color: #225323;
+
   background: #ffffff;
   background: #ffffff;
   font-weight: bold;
   font-weight: bold;
Line 247: Line 211:
   border-bottom: none;
   border-bottom: none;
   }
   }
-
 
-
h1 {
 
-
font-size: 2.2em;
 
-
padding: 20px 20px 12px 20px;
 
-
}
 
-
 
 
-
  h2 {
 
-
  font-size: 1.7em;
 
-
  padding: 18px 20px 7px 20px;
 
-
  }
 
-
  h3 {
+
p {
-
  font-size: 1.4em;
+
-
  padding: 16px 20px 2px 20px;
+
-
  }
+
-
 
+
-
  h4 {
+
-
  font-size: 1.1em;
+
-
  padding: 13.5px 20px 1px 20px;
+
-
  }
+
-
 
+
-
  p {
+
-
  font-family: arial,sans-serif;
+
-
  color: #000000;
+
-
  background: #ffffff;
+
-
  font-weight: normal;
+
-
  font-size: 0.75em;
+
-
  line-height: 1em;
+
-
  text-align: justify;
+
-
  margin: 0 0 0 0;
+
   padding: 5px 20px 0px 20px;
   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;
  }