Team:Imperial/Templates:custom css

From 2014.igem.org

(Difference between revisions)
Line 138: Line 138:
     color: #36A9E1;
     color: #36A9E1;
     text-decoration: none;
     text-decoration: none;
-
}
 
-
 
-
/* ---------------- Navigation ---------------- */
 
-
@charset "UTF-8";
 
-
ul.navigation-menu {
 
-
  list-style-type: none;
 
-
  list-style-image: none;
 
-
  width: 965px;
 
-
  height: 50px;
 
-
  text-align: center;
 
-
  display: inline-block;
 
-
  margin: 0 -9999999px 1em -9999999px;
 
-
  padding: 0 9999999px 0 9999999px;
 
-
  position: relative;
 
-
  font-family: Helvetica, Arial, sans-serif;
 
-
  color: #ffffff;
 
-
 
-
    background-color: #36a9e1;
 
-
    background-image: url(https://static.igem.org/mediawiki/2013/4/43/Nav_bg.png);
 
-
    background-repeat: repeat-x;
 
-
    background-position: top;
 
-
 
-
}
 
-
ul.navigation-menu * {
 
-
  cursor: pointer;
 
-
}
 
-
ul.navigation-menu ul {
 
-
  list-style-type: none;
 
-
  list-style-image: none;
 
-
  opacity: 0;
 
-
  position: relative;
 
-
  z-index: -999;
 
-
}
 
-
ul.navigation-menu a:link,
 
-
ul.navigation-menu a:visited {
 
-
  text-decoration: none;
 
-
  color: #ffffff;
 
-
  display: inline-block;
 
-
  width: 100%;
 
-
  height: 100%;
 
-
}
 
-
ul.navigation-menu > li {
 
-
  display: block;
 
-
  float: left;
 
-
  line-height: 50px;
 
-
  height: 50px;
 
-
  text-align: center;
 
-
  width: 191px;
 
-
  padding: 0;
 
-
  margin: 0;
 
-
  border-right: 1px solid #2b87b4;
 
-
  border-left: 1px solid rgba(255, 255, 255, 0.5);
 
-
  -webkit-transition: all 300ms ease;
 
-
  -moz-transition: all 300ms ease;
 
-
  -ms-transition: all 300ms ease;
 
-
  -o-transition: all 300ms ease;
 
-
  transition: all 300ms ease;
 
-
}
 
-
ul.navigation-menu > li:first-of-type {
 
-
  border-left: 1px solid white;
 
-
}
 
-
ul.navigation-menu > li:last-of-type {
 
-
  border-right: 1px solid white;
 
-
}
 
-
ul.navigation-menu > li > ul {
 
-
  -webkit-transition: all 300ms ease;
 
-
  -moz-transition: all 300ms ease;
 
-
  -ms-transition: all 300ms ease;
 
-
  -o-transition: all 300ms ease;
 
-
  transition: all 300ms ease;
 
-
  list-style-type: none;
 
-
  list-style-image: none;
 
-
  text-align: center;
 
-
  padding: 0;
 
-
  margin: 0;
 
-
  height: 0;
 
-
}
 
-
ul.navigation-menu > li > ul > li {
 
-
  display: block;
 
-
  opacity: 0;
 
-
  padding: 0;
 
-
  margin: 0;
 
-
  height: 0;
 
-
  -webkit-transition: all 300ms ease;
 
-
  -moz-transition: all 300ms ease;
 
-
  -ms-transition: all 300ms ease;
 
-
  -o-transition: all 300ms ease;
 
-
  transition: all 300ms ease;
 
-
}
 
-
ul.navigation-menu > li:hover {
 
-
  background-color: #a3c4e9;
 
-
}
 
-
ul.navigation-menu > li:hover > ul {
 
-
  -webkit-transition: all 300ms ease;
 
-
  -moz-transition: all 300ms ease;
 
-
  -ms-transition: all 300ms ease;
 
-
  -o-transition: all 300ms ease;
 
-
  transition: all 300ms ease;
 
-
  position: relative;
 
-
  z-index: 9999;
 
-
  height: auto;
 
-
  opacity: 1;
 
-
  border-bottom-left-radius: 5px;
 
-
  border-bottom-right-radius: 5px;
 
-
  box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.5);
 
-
  background: #36a9e1;
 
-
}
 
-
ul.navigation-menu > li:hover > ul > li {
 
-
  opacity: 1;
 
-
  border-bottom: 1px solid #2b87b4;
 
-
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset;
 
-
  height: 50px;
 
-
  line-height: 50px;
 
-
}
 
-
ul.navigation-menu > li:hover > ul > li:first-child {
 
-
  box-shadow: none;
 
-
}
 
-
ul.navigation-menu > li:hover > ul > li:last-child {
 
-
  border-bottom: none;
 
-
}
 
-
ul.navigation-menu > li:hover > ul > li:hover {
 
-
  background-color: #a3c4e9;
 
-
}
 
-
ul.navigation-menu > li:hover > ul > li:active {
 
-
  background-color: #93b4d9;
 
-
}
 
-
ul.navigation-menu > li:hover > ul > li > ul {
 
-
  -webkit-transition: all 300ms ease;
 
-
  -moz-transition: all 300ms ease;
 
-
  -ms-transition: all 300ms ease;
 
-
  -o-transition: all 300ms ease;
 
-
  transition: all 300ms ease;
 
-
  list-style-type: none;
 
-
  list-style-image: none;
 
-
  text-align: center;
 
-
  padding: 0;
 
-
  margin: 0;
 
-
  position: relative;
 
-
  left: 191px;
 
-
  top: -50px;
 
-
  opacity: 1;
 
-
}
 
-
ul.navigation-menu > li:hover > ul > li > ul:before {
 
-
  content: "»";
 
-
  display: block;
 
-
  position: absolute;
 
-
  left: -20px;
 
-
  text-align: right;
 
-
  line-height: 50px;
 
-
}
 
-
ul.navigation-menu > li:hover > ul > li > ul > li {
 
-
  -webkit-transition: all 300ms ease;
 
-
  -moz-transition: all 300ms ease;
 
-
  -ms-transition: all 300ms ease;
 
-
  -o-transition: all 300ms ease;
 
-
  transition: all 300ms ease;
 
-
  width: 0;
 
-
  width: 0;
 
-
  opacity: 0;
 
-
  padding: 0;
 
-
  margin: 0;
 
-
}
 
-
ul.navigation-menu > li:hover > ul > li > ul.left {
 
-
  left: 0;
 
-
  right: 191px;
 
-
}
 
-
ul.navigation-menu > li:hover > ul > li:hover > ul {
 
-
  height: auto;
 
-
  width: 191px;
 
-
  opacity: 1;
 
-
  border-top-right-radius: 5px;
 
-
  border-bottom-left-radius: 5px;
 
-
  border-bottom-right-radius: 5px;
 
-
  box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.5);
 
-
  background: #36a9e1;
 
-
  z-index: 9999999;
 
-
}
 
-
ul.navigation-menu > li:hover > ul > li:hover > ul > li {
 
-
  width: 191px;
 
-
  height: 50px;
 
-
  line-height: 50px;
 
-
  opacity: 1;
 
-
  border-bottom: 1px solid #2b87b4;
 
-
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset;
 
-
}
 
-
ul.navigation-menu > li:hover > ul > li:hover > ul > li:first-child {
 
-
  box-shadow: none;
 
-
  border-top-right-radius: 5px;
 
-
}
 
-
ul.navigation-menu > li:hover > ul > li:hover > ul > li:last-child {
 
-
  border-bottom: none;
 
-
  border-bottom-left-radius: 5px;
 
-
  border-bottom-right-radius: 5px;
 
-
}
 
-
ul.navigation-menu > li:hover > ul > li:hover > ul > li:hover {
 
-
  background-color: #a3c4e9;
 
-
}
 
-
ul.navigation-menu > li:active {
 
-
  background-color: #93b4d9;
 
}
}

Revision as of 15:34, 21 July 2014

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

  1. content { border: none; }

/* HIDE Search Controls Page title */

  1. p-logo,
  2. search-controls,

.firstHeading {

   display: none;

}

h1, h2, h3, h4, h5, h6 {

 color: #36a9e1;

}

/* Remove default top header */

  1. top-section {
   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 {
   background: #36A9E1;

}

/* Edit and user menu */

  1. menubar {
   top: 0 !important;
   font-size: 0.7em;

}

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

}

/* Highlight with background colour on hover */

  1. top-section:hover #menubar li a {
   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;

}

/* Wikimedia related links at base of page */


  1. footer-box {
   border:none;
   margin: 30px auto;
   width: 100%;
   background-color: #aeaeae;
   padding: 3em 0 5em 0;

}

  1. footer {
   text-align: center;

}

  1. footer-box #f-poweredbyico,
  2. footer-box #f-copyrightico {
   float: none;
   display: inline-block;
   vertical-align: middle;
   margin-bottom: 10px;

}

  1. footer-box #f-copyrightico {

}

  1. footer-box #f-list {
   float: none;
   display: block;
   width: 100%;
   margin: 0;
   padding: 0;

}


  1. footer-box #f-list li {
   text-transform: uppercase;
   padding: 0 .75em;
   margin: 0;

}

  1. footer-box #f-list li a:link,
  2. footer-box #f-list li a:visited {
   color: #CCC;
   font-size: 0.7em;

}

  1. footer-box #f-list li a:hover,
  2. footer-box #f-list li a:focus {
   color: #36A9E1;
   text-decoration: none;

}