Team:Dundee/stylesheet

From 2014.igem.org

(Difference between revisions)
Line 166: Line 166:
-
#mainwrapper {
+
page-header {
-
margin: 80px auto 0 auto;
+
    margin-top:0;
-
text-align: center;
+
}
}
-
/* Image Box Style */
+
.panel-body {
-
#mainwrapper .box {
+
    padding-top: 0;
-
cursor: pointer;
+
-
height: 255px;
+
-
float: left;
+
-
margin: 5px;
+
-
position: relative;
+
-
overflow: hidden;
+
-
width: 220px;
+
-
top: -85px;
+
-
}
+
-
#mainwrapper .box img {
+
-
position: absolute;
+
-
left: 0;
+
-
-webkit-transition: all 300ms ease-out;
+
-
-moz-transition: all 300ms ease-out;
+
-
-o-transition: all 300ms ease-out;
+
-
-ms-transition: all 300ms ease-out;
+
-
transition: all 300ms ease-out;
+
}
}
-
/* Caption Common Style */
+
.featuredImg{
-
#mainwrapper .box .caption {
+
margin-bottom: 15px;  
-
background-color: rgba(0,0,0,0.8);
+
-
position: absolute;
+
-
color: #fff;
+
-
z-index: 100;
+
-
-webkit-transition: all 300ms ease-out;
+
-
-moz-transition: all 300ms ease-out;
+
-
-o-transition: all 300ms ease-out;
+
-
-ms-transition: all 300ms ease-out;
+
-
transition: all 300ms ease-out;
+
-
left: 0;
+
}
}
-
 
+
.jumbotron {
-
/** Caption 1: Simple **/
+
    background-color: #A18053;
-
#mainwrapper .box .simple-caption {
+
    max-height: 40%;
-
height: 30px;
+
-
width: 200px;
+
-
display: block;
+
-
bottom: -30px;
+
-
line-height: 25pt;
+
-
text-align: center;
+
}
}
-
/** Caption 2: Full Width & Height **/
 
-
#mainwrapper .box .full-caption {
 
-
width: 220px;
 
-
height: 255px;
 
-
top: -200px;
 
-
text-align: left;
 
-
padding: 15px;
 
-
}
 
-
/** Caption 3: Fade **/
+
.navbar-default {
-
#mainwrapper .box .fade-caption, #mainwrapper .box .scale-caption  {
+
background-color: #6f350b;
-
opacity: 0;
+
border-color: #ab6831;
-
width: 220px;
+
-
height: 255px;
+
-
text-align: left;
+
-
padding: 15px;
+
}
}
-
 
+
.navbar-default .navbar-brand {
-
/** Caption 4: Slide **/
+
color: #ab6831;
-
#mainwrapper .box .slide-caption {
+
-
width: 170px;
+
-
height: 170px;
+
-
text-align: left;
+
-
padding: 15px;
+
-
left: 200px;
+
}
}
-
 
+
.navbar-default .navbar-brand:hover, .navbar-default .navbar-brand:focus {
-
/** Caption 5: Rotate **/
+
color: #190602;
-
#mainwrapper #box-5.box .rotate-caption {
+
-
width: 170px;
+
-
height: 170px;
+
-
text-align: left;
+
-
padding: 15px;
+
-
top: 200px;
+
-
-moz-transform: rotate(-180deg);
+
-
-o-transform: rotate(-180deg);
+
-
-webkit-transform: rotate(-180deg);
+
-
transform: rotate(-180deg);
+
}
}
-
 
+
.navbar-default .navbar-text {
-
#mainwrapper .box .rotate {
+
color: #ab6831;
-
width: 200px;
+
-
height: 400px;
+
-
-webkit-transition: all 300ms ease-out;
+
-
-moz-transition: all 300ms ease-out;
+
-
-o-transition: all 300ms ease-out;
+
-
-ms-transition: all 300ms ease-out;
+
-
transition: all 300ms ease-out;
+
}
}
-
 
+
.navbar-default .navbar-nav > li > a {
-
/** Caption 6: Scale **/
+
color: #ab6831;
-
#mainwrapper .box .scale-caption h3, #mainwrapper .box .scale-caption p {
+
-
position: relative;
+
-
left: -200px;
+
-
width: 190px;
+
-
-webkit-transition: all 300ms ease-out;
+
-
-moz-transition: all 300ms ease-out;
+
-
-o-transition: all 300ms ease-out;
+
-
-ms-transition: all 300ms ease-out;
+
-
transition: all 300ms ease-out;
+
-
font-size:14px;
+
}
}
-
 
+
.navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus {
-
#mainwrapper .box .scale-caption h3 {
+
color: #190602;
-
-webkit-transition-delay: 300ms;
+
-
-moz-transition-delay: 300ms;
+
-
-o-transition-delay: 300ms;
+
-
-ms-transition-delay: 300ms;
+
-
transition-delay: 300ms;
+
}
}
-
 
+
.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
-
#mainwrapper .box .scale-caption p {
+
color: #190602;
-
-webkit-transition-delay: 500ms;
+
background-color: #ab6831;
-
-moz-transition-delay: 500ms;
+
-
-o-transition-delay: 500ms;
+
-
-ms-transition-delay: 500ms;
+
-
transition-delay: 500ms;
+
}
}
-
 
+
.navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:hover, .navbar-default .navbar-nav > .open > a:focus {
-
/** Simple Caption :hover Behaviour **/
+
color: #190602;
-
#mainwrapper .box:hover .simple-caption {
+
background-color: #ab6831;
-
-moz-transform: translateY(-100%);
+
-
-o-transform: translateY(-100%);
+
-
-webkit-transform: translateY(-100%);
+
-
opacity: 1;
+
-
transform: translateY(-100%);
+
-
 
+
}
}
-
 
+
.navbar-default .navbar-toggle {
-
/** Full Caption :hover Behaviour **/
+
border-color: #ab6831;
-
#mainwrapper .box:hover .full-caption {
+
-
-moz-transform: translateY(100%);
+
-
-o-transform: translateY(100%);
+
-
-webkit-transform: translateY(100%);
+
-
opacity: 1;
+
-
transform: translateY(100%);
+
}
}
-
 
+
.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
-
/** Fade Caption :hover Behaviour **/
+
background-color: #ab6831;
-
#mainwrapper .box:hover .fade-caption, #mainwrapper .box:hover .scale-caption  {
+
-
opacity: 1;
+
}
}
-
 
+
.navbar-default .navbar-toggle .icon-bar {
-
/** Slide Caption :hover Behaviour **/
+
background-color: #ab6831;
-
#mainwrapper .box:hover .slide-caption {
+
-
background-color: rgba(0,0,0,1) !important;
+
-
-moz-transform: translateX(-100%);
+
-
-o-transform: translateX(-100%);
+
-
-webkit-transform: translateX(-100%);
+
-
opacity: 1;
+
-
transform: translateX(-100%);
+
}
}
-
#mainwrapper .box:hover img#image-4 {
+
.navbar-default .navbar-collapse,
-
-moz-transform: translateX(-100%);
+
.navbar-default .navbar-form {
-
-o-transform: translateX(-100%);
+
border-color: #ab6831;
-
-webkit-transform: translateX(-100%);
+
-
transform: translateX(-100%);
+
-
opacity: 1;
+
}
}
-
 
+
.navbar-default .navbar-link {
-
/** Rotate Caption :hover Behaviour **/
+
color: #ab6831;
-
#mainwrapper .box:hover .rotate {
+
-
background-color: rgba(0,0,0,1) !important;
+
-
-moz-transform: rotate(-180deg);
+
-
-o-transform: rotate(-180deg);
+
-
-webkit-transform: rotate(-180deg);
+
-
transform: rotate(-180deg);
+
}
}
-
 
+
.navbar-default .navbar-link:hover {
-
/** Scale Caption :hover Behaviour **/
+
color: #190602;
-
#mainwrapper .box:hover #image-6 {
+
-
-moz-transform: scale(1.4);
+
-
-o-transform: scale(1.4);
+
-
-webkit-transform: scale(1.4);
+
-
transform: scale(1.4);
+
}
}
-
#mainwrapper .box:hover .scale-caption h3, #mainwrapper .box:hover .scale-caption p {
+
@media (max-width: 767px) {
-
-moz-transform: translateX(200px);
+
.navbar-default .navbar-nav .open .dropdown-menu > li > a {
-
-o-transform: translateX(200px);
+
color: #ab6831;
-
-webkit-transform: translateX(200px);
+
}
-
transform: translateX(200px);
+
.navbar-default .navbar-nav .open .dropdown-menu > li > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
 +
color: #190602;
 +
}
 +
.navbar-default .navbar-nav .open .dropdown-menu > .active > a, .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus {
 +
color: #190602;
 +
background-color: #ab6831;
 +
}
}
}

Revision as of 19:19, 20 May 2014

/* OVER RIDE IGEM CSS */

     #globalWrapper{
       font-size:14px;
     }
     #content{
       width:auto;
     }
     #contentSub, #search-controls, .firstHeading, #footer-box, #catlinks, #p-logo {
         display:none;}
     #top-section {
         border: none;
         height: 0px;}
     #content {
         border: none;}
     #bodyContent{
     	background: none;
     }
    /* MediaWiki Top Menu 
     #menubar {
         font-size: 65%;
         top: -14px;
         display:none;
     }
     .left-menu:hover {
         background-color: transparent;}
     #menubar li a {
         background-color: transparent;}
     #menubar:hover {
         color: white;}
     #menubar li a {
         color: transparent;}
     #menubar:hover li a {
         color: white;}
     #previewnote {
       display:none;
     }
  • /
  1. menubar {
   position: fixed;
   white-space: nowrap;
   width: 400px;
   z-index: 5;
   font-family: sans-serif;
   font-size: 95%;
   line-height: 1em;
   margin-top:58px;
   //padding-left: 9%;

}

.left-menu, .left-menu a {

   left: 0px;
   text-align: left;
   color:transparent;
   text-transform: lowercase;

}

.left-menu:hover {

   color: white;
   background-color: transparent;

} .right-menu, .right-menu a {

   right: 0px;
   text-align: right;
   color: white;

}

  1. menubar ul {
   color: #55e1f6;
   list-style: none;
   background-color:#727272;

}

  1. menubar li {
   display: inline;
   position: relative;
   cursor: pointer;
   padding-left: 0px;
   padding-right: 0px;

} .left-menu li a {

   padding: 0px 10px 0px 0px;
   color:white;

} .left-menu .selected {

  1. color: white;

}

  1. .left-menu .selected:hover {
  2. color: #5555FF;
  3. }

.left-menu:hover a {

   color: white;

} .right-menu li {

  1. background-color: transparent;

} .right-menu li a {

       background-color: transparent;

} .right-menu li a:hover {

   color: #aaaaff;
   text-decoration: underline;

}

  1. bodyContent a[href^="https://"], .link-https {
   background: none;
   padding-right: none;

}


     /* Sticky footer styles
     -------------------------------------------------- */
     /* Wrapper for page content to push down footer */
     #wrap {
       min-height: 100%;
       height: auto !important;
       height: 100%;
       /* Negative indent footer by it's height */
       margin: 0 auto -60px;
     }
     /* Set the fixed height of the footer here */
     #push,
     #footer {
       height: 60px;
     }
     #footer {
       /*background-color: #f5f5f5;*/
      text-align:center;
     }
     /* Lastly, apply responsive CSS fixes as necessary */
     @media (max-width: 767px) {
       #footer {
         margin-left: -20px;
         margin-right: -20px;
         padding-left: 20px;
         padding-right: 20px;
       }
     }
     /* Custom page CSS
     -------------------------------------------------- */
     /* Not required for template or sticky footer method. */
     #wrap > .container {
       padding-top: 60px;
     }
     .container .credit {
       margin: 20px 0;
     }
     code {
       font-size: 80%;
     }


     /* end Over ride */


page-header {

   margin-top:0;

}

.panel-body {

   padding-top: 0;

}

.featuredImg{

margin-bottom: 15px;   

}

.jumbotron {

    background-color: #A18053;
    max-height: 40%;

}


.navbar-default { background-color: #6f350b; border-color: #ab6831; } .navbar-default .navbar-brand { color: #ab6831; } .navbar-default .navbar-brand:hover, .navbar-default .navbar-brand:focus { color: #190602; } .navbar-default .navbar-text { color: #ab6831; } .navbar-default .navbar-nav > li > a { color: #ab6831; } .navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus { color: #190602; } .navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus { color: #190602; background-color: #ab6831; } .navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:hover, .navbar-default .navbar-nav > .open > a:focus { color: #190602; background-color: #ab6831; } .navbar-default .navbar-toggle { border-color: #ab6831; } .navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus { background-color: #ab6831; } .navbar-default .navbar-toggle .icon-bar { background-color: #ab6831; } .navbar-default .navbar-collapse, .navbar-default .navbar-form { border-color: #ab6831; } .navbar-default .navbar-link { color: #ab6831; } .navbar-default .navbar-link:hover { color: #190602; }

@media (max-width: 767px) { .navbar-default .navbar-nav .open .dropdown-menu > li > a { color: #ab6831; } .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus { color: #190602; } .navbar-default .navbar-nav .open .dropdown-menu > .active > a, .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus { color: #190602; background-color: #ab6831; } }