Difference between revisions of "Template:ETH Zurich/template.css"

m
 
(902 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
<html>
 +
<style>
 +
/* TAGS */
 
html {
 
html {
overflow-y: scroll;
+
    overflow-y: scroll;
 +
    min-height:100%;
 
}
 
}
 +
body {
 +
    zoom:1;
 +
    width:100%;
 +
    background: #383838;
 +
}
 +
body:after {
 +
  content: url(https://static.igem.org/mediawiki/2015/7/76/ETH_babybeacon.png);
 +
  display: none;
 +
}
 +
#bodyContent {
 +
    width: 100%;
 +
}
 +
#globalWrapper {
 +
    background-image: url("https://static.igem.org/mediawiki/2015/d/d8/ETH_Zurich_background.png");
 +
    background-position: 25px 25px;
 +
    background-attachment: fixed;
 +
}
 +
 +
 +
h1#loading {
 +
    border-bottom:none;
 +
    color:white;
 +
}
 +
 +
/* IDs */
 
#content {
 
#content {
width:clear;
+
    font-family: "Trebuchet MS", Helvetica, sans-serif;
 +
    width:100%;
 
}
 
}
/* PAGE LAYOUT */
 
  
/* Change Background color*/
+
#topContainer {
body {  
+
    height: 100px;
                          background: transparent;
+
    display:table-header-group;
background:transparent url("https://static.igem.org/mediawiki/2015/b/b6/Green_dots.png");
+
}
                          background: -webkit-linear-gradient(top,rgba(78,78,78,0.7),rgba(78,78,78,0.7)),url("https://static.igem.org/mediawiki/2015/b/b6/Green_dots.png");
+
@media screen and (max-device-width:480px) {
background: -moz-linear-gradient(top,rgba(78,78,78,0.7),rgba(78,78,78,0.7)),url("https://static.igem.org/mediawiki/2015/b/b6/Green_dots.png");
+
#topContainer {
background: linear-gradient(to bottom,rgba(78,78,78,0.7),rgba(78,78,78,0.7)),url("https://static.igem.org/mediawiki/2015/b/b6/Green_dots.png");
+
    height:314px;
filter: progid:DXImageTransform.Microsoft.Gradient(
+
}
            StartColorStr='#b24e4e4e', EndColorStr='#b24e4e4e', GradientType=0);
+
}
                          background: -webkit-linear-gradient(top,rgba(56,56,56,1),rgba(56,56,56,1)),url("https://static.igem.org/mediawiki/2015/b/b6/Green_dots.png");
+
#mobileMenu {
background: -moz-linear-gradient(top,rgba(56,56,56,1),rgba(56,56,56,1)),url("https://static.igem.org/mediawiki/2015/b/b6/Green_dots.png");
+
    display:none;
background: linear-gradient(to bottom,rgba(56,56,56,1),rgba(56,56,56,1)),url("https://static.igem.org/mediawiki/2015/b/b6/Green_dots.png");
+
}
filter: progid:DXImageTransform.Microsoft.Gradient(
+
            StartColorStr='#ff383838', EndColorStr='#ff383838', GradientType=0);
+
zoom:1;
+
/**/
+
  
}
+
#sideFiller {
#top_menu_14 {
+
    width:20%;
border-bottom: 2px solid #383838 !important;
+
    height:100px;
 +
    float:left;
 +
}
 +
@media screen and (max-device-width:480px) {
 +
#sideFiller {
 +
    width:80%;
 +
    height:auto;
 +
}
 
}
 
}
  
/* Creates a container that will wrap all of the content inside your wiki pages. */
+
#sidemenuContainer {
                       
+
    margin-right:1%;
#socialmedia{
+
    width:19%;
float:right;
+
    float:left;
position: relative;
+
    display:table-cell;
right:2%;
+
    position:absolute;
/* top: 15%;*/
+
    top:103px;
 +
    bottom:0px;
 +
/*   height:100%;*/
 +
/*    position:relative;*/
 +
/*    overflow:auto;*/
 
}
 
}
.mediabutton{
+
 
height:48px;
+
#sidemenu {
width:48px;
+
    padding:11%;
padding-top: 3px;
+
    height:auto;
padding-bottom: 3px;
+
    background:white;
/*display:inline-block;*/
+
    border: 1px solid black;
/*border: 1px solid red;*/
+
    border-radius: 4px;
border-radius: 50%;
+
    width: 77%;
 +
    position:absolute;
 
}
 
}
.mediabutton a{
+
 
 +
#mainContainer {
 +
    width:80%;
 +
    max-width: 1020px;
 +
    margin:auto;
 +
    position:relative;
 +
    min-height:400px;
 +
    height:100%;
 +
    overflow-y: visible;
 +
    display:table;
 
}
 
}
  
/*VISUAL STYLE (TABLES, FONTS, LINKS, IMAGES, UL) */
+
#menuButton {
 +
    padding:30px;
 +
    margin:85px 30px 0px 0px;
 +
    background:#383838;
 +
    display:none;
 +
    width:90px;
 +
    height:90px;
 +
    float:right;
 +
}
 +
@media screen and (max-device-width: 480px) {
 +
#menuButton {
 +
    display:block;
 +
}
 +
}
 +
#menuButton img {
 +
    width:100%;
 +
}
  
/*Change the styling of text for everything inside main container*/
+
#footerContainer {
+
    width:80%;
#contentContainer *{
+
    max-width: 1020px;
z-index:1;
+
    text-align:center;
/*margin-left:2.5%;*/
+
    background-color: #C0C0C0;
};
+
/*   padding: 10px;*/
/*This changes the color and font family */
+
    border: 1px solid black;
 +
    border-radius: 4px;
 +
    margin:auto;
 +
/*   display:table-footer-group;*/
 +
}
  
#contentContainer h1, h2, h3, h4, h5, h6 {  
+
#socialmedia {
color: #000000;
+
    width:100%;
border-bottom: none;
+
    margin:auto;
font-weight: bold;
+
/*    text-align:center;*/
font-family: "Trebuchet MS", Helvetica, sans-serif;
+
    float:right;
margin-top:10px;
+
}
+
+
#contentContainer h2, h3, h4, h5, h6 {
+
color:#000000;
+
border-bottom: none;
+
font-weight:bold;
+
 
}
 
}
  
/*Style of the links - links are different inside the menu */
+
.expContainer {
+
    padding: 4%;
 +
    background: #fff;
 +
    border-radius: 4px;
 +
    float:right;
 +
    clear:right;
 +
    display:table-cell;
 +
    width:72%;
 +
    margin:0 0 1% 0;
 +
}
  
  /* Styling links on hover- links are different inside the menu */
+
@media screen and (max-width:1100px) {
#contentContainer a:hover {  
+
#sidemenuContainer {
color: #59bf92;
+
    display:none;
}
+
}
 +
.expContainer {
 +
    width:92%;
 +
}
 +
}
 +
@media print {
 +
#sidemenuContainer {
 +
    display:none;
 +
}
 +
.expContainer {
 +
    width:92%;
 +
}
 +
}
  
/*Change the styling of tables */
+
@media screen and (max-device-width:480px) {
        #contentContainer table {
+
#mainMenu {
    border: 1px solid #565656;
+
    display:none;
    border-collapse: collapse;
+
}
/*    width: 90%;*/
+
}
    margin: auto;
+
/*    margin-bottom: 15px;
+
    margin-top: 15px;
+
    margin-right: 10px;
+
    margin-left: 10px;*/
+
    }
+
  
/*Change the styling of table cells*/
 
    #contentContainer  td {
 
    padding: 10px;
 
    border: 1px solid #565656;
 
    border-collapse: collapse;
 
    vertical-align: text-top;
 
    }
 
  
/*Change the styling of table headers */
+
/* CLASSES */
    #contentContainer th {
+
 
    background-color: #93c6ac;
+
.mediabutton {
    padding: 10px;
+
    width:48px;
    border: 1px solid #565656;
+
    margin:3px;
    border-collapse: collapse;
+
    border-radius: 50%;
    vertical-align: text-top;
+
    display:inline-block;
    }
+
}
    #contentContainer img {
+
@media screen and (max-device-width:480px) {
    display:block;
+
.mediabutton {
    margin:auto;
+
    width:120px;
    text-align:center;
+
    height:120px;
    }
+
}
#contentContainer p {
+
margin-left:1%;
+
margin-right:1%;
+
/*width:94%;*/
+
 
}
 
}
    #contentContainer p.caption {
 
    display:block;
 
    margin:auto;
 
    text-align:center;
 
    }
 
  
 +
/*Clear class for all the pages, adds spacing too*/
 +
.clear{
 +
    clear:both;
 +
    height: 10px;
 +
}
  
/*MENU STYLING */
+
/* highlight box for special messages */
 +
.highlightBox {
 +
    width:80%;
 +
    margin:auto;
 +
    margin-bottom: 15px;
 +
    margin-top: 15px;
 +
    padding: 15px;
 +
    padding-top: 5px;
 +
    border:1px solid #383838;
 +
    border-radius:4px;
 +
}
  
/*Styling for the links in the menu */
+
.info {
+
    max-height:70px;
 +
    overflow:hidden;
 +
    position:relative;
 +
    margin-bottom: 20px;
 +
/*   padding-bottom:35px;*/
 +
}
 +
.open-info {
 +
    max-height:99999px !important;
 +
    padding-bottom:35px;
 +
}
 +
/*.closed-info {
 +
    height:70px;
 +
    max-height:70px !important;
 +
    padding-bottom:auto;
 +
}*/
 +
.expander {
 +
    position:absolute;
 +
    bottom:0px;
 +
    width:100% !important;
 +
    display:inline-block;
 +
    padding:5px 0px 5px 0;
 +
    text-align:center;
 +
    background: linear-gradient(rgba(192,192,192,0), #ccc);
 +
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00cccccc, endColorstr=#ffcccccc);
 +
    border-radius: 4px;
 +
    outline : none;
 +
}
  
/* Sets the style for lists inside menuContainer  */
+
/* SIDEMENU STYLES */
+
  
/*For the menu buttons, changes the color when hovering*/
+
#mainContainer #sidemenu ul {
#menuContainer li:hover {
+
    margin: 0em 0em 0em 1em;
color: #FFF;
+
}
background-color: #00964B;
+
#mainContainer #sidemenu ul ul {
/*box-shadow: 5px 5px 5px 0px #444444;*/
+
    margin: 0 0 0 0.5em;
z-index:1000;
+
}
}
+
#mainContainer #sidemenu ul ul ul {
#menuContainer li:hover a{
+
    margin: 0 0 0 0.8em;
color:  #FFF;
+
}
z-index:1000;
+
#mainContainer #sidemenu ul li {
+
    list-style: none;
}
+
    color: #00964B;
#menuContainer li.sub:hover {
+
    margin-left:-1em;
border-radius: 20px 20px 0px 0px;
+
    font-size:17px;
/*filter: progid:DXImageTransform.Microsoft.Gradient(StartColorStr='#00964B', EndColorStr='#00B058', GradientType=0);
+
}
background: linear-gradient(#00964B,#00B058);*/
+
#mainContainer #sidemenu ul li a {
/* box-shadow: 5px 7px 5px 0px #444444;*/
+
    font-weight: bold;
z-index:1000;
+
}
 +
#mainContainer #sidemenu ul ul li {
 +
    list-style: initial;
 +
    color: #000000;
 +
    margin:0;
 +
    font-size:15px;
 +
}
 +
#mainContainer #sidemenu ul ul li a {
 +
    font-weight:normal;
 +
}
  
}
+
#mainContainer #sidemenu a {
 +
    color: #00964B;
 +
    font-weight: normal;
 +
}
  
/*Submenus are not displayed as default*/
+
#mainContainer #sidemenu a:hover,#mainContainer #sidemenu a.current {
#menuContainer li ul {
+
    color: #006EB4;
/* opacity: 0;
+
}
transition:opacity 10ms;
+
-webkit-transition: opacity 10ms;
+
-o-transition: opacity 10ms;
+
-moz-transition: opacity 10ms;
+
-ms-transition: opacity 10ms;*/
+
visibility:hidden;
+
box-shadow: 5px 5px 5px 0px #444444;
+
margin-top:8px;
+
border-radius: 0px 0px 20px 20px;
+
overflow: hidden;
+
max-height:0;
+
display:inherit;
+
transition: max-height 0ms;
+
-webkit-transition: max-height 0ms;
+
-o-transition: max-height 0ms;
+
-moz-transition: max-height 0ms;
+
-ms-transition: max-height 0ms;
+
z-index:10;
+
width:148px;
+
}
+
  
/*Submenus are displayed when hovering the menu button */
 
#menuContainer li:hover ul {
 
background-color: #00B058;
 
max-height:700px;
 
/* opacity: 0.95;*/
 
visibility:visible;
 
position: relative;
 
float:left;
 
transition: max-height 0ms;
 
-webkit-transition: max-height 0ms;
 
-o-transition: max-height 0ms;
 
-moz-transition: max-height 0ms;
 
-ms-transition: max-height 0ms;
 
z-index:1000;
 
}
 
  
/*Style the submenu buttons*/
+
/* MAIN STYLE */
#menuContainer li ul li{
+
#mainContainer p {  
background-color: #00B058;  
+
    font-size: 15px;
background-clip: border-box;
+
    padding-top: 5px;
color: #565656;
+
    padding-bottom: 5px;
border-radius: 0px;
+
    text-align:justify;
z-index:10;
+
    margin:0 1% 0 1%;
                                text-transform:capitalize;
+
cursor: pointer; cursor: hand;
+
}
+
#footerContainer img {
+
padding:10px;
+
max-width:200px;
+
max-height:70px;
+
 
}
 
}
#footerContainer p {
+
#mainContainer p.caption {
text-align:center;
+
    display:block;
 +
    margin:auto;
 +
    text-align:center;
 
}
 
}
  
img#runnerImg {
+
#mainContainer h1,#mainContainer h2,#mainContainer h3,#mainContainer h4,#mainContainer h5,#mainContainer h6 {
        animation: run 10s linear;
+
    color: #000000;
                animation-fill-mode: forwards;
+
    border-bottom: none;
                position:relative;
+
    font-weight: bold;
                float:left;
+
    line-height:normal;
                left:50px;
+
}
 +
#mainContainer h1 p,#mainContainer h2 p,#mainContainer h3 p,#mainContainer h4 p,#mainContainer h5 p,#mainContainer h6 p {
 +
    font-weight:normal;
 +
    text-align:left;
 
}
 
}
                                        @keyframes run {
 
                                                from {left:0;}
 
                                                to {left:100%;display:none;}
 
                                        }
 
  
/*CLASSES */
+
#mainContainer h1 {
 +
    text-align: center;
 +
    color:#00964B;
 +
    font-size:36px;
 +
    padding-top:0px;
 +
    clear:both;
 +
/*   margin-bottom: 0px;*/
 +
}
  
/*Clear class for all the pages, adds spacing too*/
+
#mainContainer h2 {
.clear{
+
    font-size:24px;
clear:both;
+
    padding-top: 40px;
height: 10px;
+
    border-bottom:1px solid black;
}
+
    clear:both;
 +
}
  
 +
#mainContainer h2:first-child {
 +
    padding-top: 0px;
 +
}
  
/* highlight box for special messages */
+
#mainContainer h3 {
    .highlightBox {
+
    font-size:20px;
        width:500px;
+
     clear:both;
        margin:auto;
+
}
        background-color: #E8E8E9;  
+
margin-bottom: 15px;
+
margin-top: 15px;
+
padding: 15px;
+
padding-top: 5px;
+
    }
+
#globalWrapper, #content {
+
                          float: none;
+
          margin: 0 auto;      
+
                          width: 1100px;
+
                        }
+
                        #mainContainer { 
+
width: 1100px;
+
overflow:hidden;
+
  
margin-left:auto;
+
#mainContainer li,td,th {
margin-right:auto;
+
    font-size:15px;
 +
}
  
margin-bottom: 10px;
+
.expContainer a {
background-color: #fff;
+
    font-weight: bold;
/* border-bottom: 14px solid #565656;
+
    color: #00964B;
border-right: 2px solid #565656;
+
}
border-left: 2px solid #565656;
+
border-top: 2px solid #565656;*/
+
font-family: "Trebuchet MS", Helvetica, sans-serif;
+
min-height:100%;
+
position:relative;
+
padding-bottom:310px;
+
background:transparent;
+
z-index:100;
+
}
+
  
/* Creates the container for the menu */
+
.expContainer a:hover {  
#menuContainer  {  
+
    color: #59bf92;
/* border-top: 10px solid #565656;*/
+
}
background-color: #fff;
+
text-align: center;
+
padding-top:10px;
+
padding-bottom:10px;
+
width: 1100px;
+
z-index: 10;
+
                          background:transparent;
+
}
+
  
/* Creates the container for the content */
+
.expContainer ul {
#contentContainer {
+
    margin: .3em 0 0 2.5em;
/* padding-top:20px;
+
padding-bottom:20px;
+
padding-left:20px;
+
padding-right:20px;
+
padding:5%;
+
margin-bottom: 20px;
+
margin-left:auto;
+
margin-right:auto;
+
width: 95%;*/
+
border: 4em solid white;
+
background: #fff;
+
font-family: "Trebuchet MS", Helvetica, sans-serif;
+
height:auto;
+
z-index:1 !important;
+
}
+
#contentContainer:after{
+
background:#fff;
+
 
}
 
}
  
/*Set up height place holder for the banner*/
+
/*Change the styling of tables */
#bannerContainer {
+
#mainContainer table {
height:200px;
+
    border: 3px solid #565656;
margin:auto;
+
    border-collapse: collapse;
text-align:center;
+
    margin: auto;
color: #24B694;
+
    margin-bottom:20px;
                                width: 1100px;
+
}
                          background:transparent;
+
}
+
#footerContainer {
+
                                min-height: 1px;
+
                                width: 1100px;
+
                                margin: auto;
+
                                text-align:center;
+
background-color: #E8E8E9;
+
padding: 10px;
+
position:absolute;
+
bottom:0;
+
display:block;
+
}
+
  
 +
/*Change the styling of table cells*/
 +
#mainContainer td,th {
 +
    padding: 10px;
 +
    vertical-align:middle;
 +
    border: 3px solid #565656;
 +
    max-width:100%;
 +
}
  
#mainContainer p {  
+
/*Change the styling of table headers */
font-size: 15px;
+
#mainContainer th {
color: #000000;
+
    background-color: #93c6ac;
padding-top: 5px;
+
padding-bottom: 5px;
+
text-align:justify;
+
}
+
#contentContainer li {
+
font-size:15px;
+
 
}
 
}
  
#contentContainer td,th {
+
#mainContainer .imgBox {
font-size:15px;
+
    padding:3px;
 +
    height:auto;
 +
    border: 1px solid #ccc;
 +
    font-family: "Trebuchet MS", Helvetica, sans-serif;
 +
    margin: 20px 0 20px 0;
 +
    background-color:#f9f9f9;
 +
}
 +
#mainContainer .imgBox a {
 +
    display:block;
 +
}
 +
#mainContainer .imgBox > :not(p) {
 +
    background-color:#fff;
 +
}
 +
#mainContainer .imgBox #mag {
 +
    width:15px;
 +
    height:11px;
 +
    float:right;
 +
    margin: 3px;
 +
}
 +
#mainContainer .imgBox #mag img {
 +
    border:none !important;
 +
}
 +
#mainContainer .imgBox p {
 +
    font-size: 10pt;
 +
    padding:3px;
 +
    margin: 0px;
 +
    text-align:left;
 
}
 
}
  
 +
#mainContainer .imgBox object,.imgBox img {
 +
    width:100%;
 +
    border: 1px solid #ccc;
 +
}
 +
#mainContainer .imgBox > table, #mainContainer .imgBox > table td,#mainContainer .imgBox > table th {
 +
    border: 0;
 +
}
 +
#mainContainer .imgBox > table table, #mainContainer .imgBox > table table td, #mainContainer .imgBox > table table th {
 +
    border: 3px solid black;
 +
}
  
#contentContainer h1 {
 
        text-align: center;
 
border-bottom: none;
 
color:#00964B;
 
font-size:36px;
 
font-weight: bold;
 
}
 
#contentContainer h2 {font-size:24px;border-bottom:1px solid black;}
 
#contentContainer h3 {font-size:20px;}
 
  
#contentContainer a {  
+
.expContainer img,.expContainer object.svg {
font-weight: bold;
+
    display:block;
color: #00964B;
+
    margin:auto;
/*display:block;*/
+
    text-align:center;
width:50px;
+
}
}
+
.expContainer ul {
 +
    list-style: square;
 +
}
 +
a.expander img {
 +
    background: url("https://static.igem.org/mediawiki/2015/b/b1/Updownarrows.png") no-repeat;
 +
    outline : none;
 +
    height:100%;
 +
    background-size:100%;
 +
/*   background-position: 0 100%;*/
 +
}
 +
.open-info a.expander img {
 +
    background-position: 0 100%;
 +
}
 +
/*.closed-info a.expander img {
 +
    background-position: 0 0;
 +
}*/
 +
.expContainer b.TODO {
 +
    color: #F660AB;
 +
}
  
#menuContainer a {
+
@media screen and (max-device-width: 480px) {
color: #565656;
+
    a.expander {
color:white;
+
        height: 10em;
text-decoration:none;
+
    }
font-weight: bold;
+
    .info {
font-size: 16px;
+
        padding-bottom:20em;
display:block;
+
    }
cursor: pointer; cursor: hand;
+
    .open-info {
}
+
        padding-bottom:20em;
 +
    }
 +
    .info {
 +
        max-height:10em;
 +
    }
 +
/*    .closed-info {
 +
        max-height:10em;
 +
        height:10em;
 +
    }*/
 +
}
  
#menuContainer ul {
 
list-style: none;
 
margin-left:auto;
 
margin-right:auto;
 
                                display:inline-block;
 
font-weight: bold;
 
                                z-index: 10;
 
width:1040px;
 
cursor: pointer; cursor: hand;
 
}
 
#menuContainer li {
 
                                width:148px;
 
                                float:left; 
 
                                text-transform:uppercase;
 
cursor: pointer; cursor: hand;
 
}
 
  
/*Styles the list items to become menu buttons */
+
 
#menuContainer ul li {  
+
 
text-align: center;
+
 
height:30px;
+
 
padding-top:10px;
+
/* MENU STYLE */
position:relative;
+
 
border-radius: 20px;
+
#sideFiller img {
cursor: pointer; cursor: hand;
+
    width:95%;
/*behavior: url("https://2015.igem.org/Template:ETH_Zurich/border-radius.htc?action=raw&ctype=text/javascript");
+
}
zoom:1;*/
+
 
}
+
.hideMenu a {
 +
    color: white;
 +
    text-decoration:none;
 +
    display:block;
 +
    cursor: pointer;
 +
    cursor: hand;
 +
    outline : none;
 +
}
 +
 
 +
 
 +
.hideMenu {
 +
    list-style: none;
 +
    font-weight: bold;
 +
    cursor: pointer;
 +
    outline : none;
 +
    -moz-user-select:-moz-none;
 +
    -moz-user-select:none;
 +
      -o-user-select:none;
 +
  -khtml-user-select:none;
 +
-webkit-user-select:none;
 +
    -ms-user-select:none;
 +
        user-select:none;
 +
    text-align: center;
 +
    height: 100px;
 +
    width:80%;
 +
    float:left;
 +
    position:relative;
 +
    margin: 0px;
 +
    -webkit-transition: z-index 0s;
 +
      -moz-transition: z-index 0s;
 +
        -ms-transition: z-index 0s;
 +
        -o-transition: z-index 0s;
 +
            transition: z-index 0s;
 +
    -webkit-transition-delay: 1s;
 +
      -moz-transition-delay: 1s;
 +
        -ms-transition-delay: 1s;
 +
        -o-transition-delay: 1s;
 +
            transition-delay: 1s;
 +
}
 +
 
 +
#menuContainer .hideMenu {
 +
    margin:0.3em 0 0 0;
 +
}
 +
 
 +
.hideMenu li {
 +
    color: #fff;
 +
    text-transform:uppercase;
 +
    cursor: pointer;
 +
    margin:auto;
 +
    outline : none;
 +
/*    width:14.2857%;*/
 +
    width:16.66666666%;
 +
    float:left;
 +
    z-index:10; 
 +
    padding:10px 0 10px 0;
 +
    border-radius: 20px;
 +
    line-height:40px;
 +
}
 +
 
 +
.hideMenu li ul {
 +
    overflow:hidden;
 +
    border-radius: 0px 0px 20px 20px;
 +
    background: #00B058;
 +
    display:none;
 +
    position:relative;
 +
    margin: 10px 0 0 0;
 +
    z-index:100;
 +
    list-style: none;
 +
    width:100%;
 +
}
 +
 
 +
 
 +
 
 +
 
 +
.hideMenu li.sub {
 +
    height:60px;
 +
}
 +
.hideMenu li.ignoreSwitch {
 +
    line-height:normal;
 +
}
 +
.hideMenu li:hover {
 +
    color:  #FFF;
 +
    background-color: #00964B;
 +
    cursor: pointer;
 +
}
 +
.hideMenu li.sub:hover {
 +
    border-radius: 20px 20px 0px 0px;
 +
    background:     -o-linear-gradient(top,#00964B,#19b768);
 +
    background: -webkit-linear-gradient(top,#00964B,#19b768);
 +
    background:    -moz-linear-gradient(top,#00964B,#19b768);
 +
    background:        linear-gradient(top,#00964B,#19b768);
 +
}
 +
.hideMenu li:hover a{
 +
    color:  #FFF;
 +
}
 +
.hideMenu li:hover ul {
 +
    display:block;
 +
}
 +
/*Style the submenu buttons*/
 +
.hideMenu li ul li {
 +
    text-transform:capitalize;
 +
    line-height:30px;
 +
    border-radius: 0px;
 +
    color: #383838;
 +
    background-clip: border-box;
 +
    padding:5px 0 5px 0;
 +
    width:100%;
 +
}
 +
 
 +
 
 +
@media only screen and (max-device-width: 480px) {
 +
.hideMenu {
 +
    text-align: left;
 +
    height:auto;
 +
    float:none;
 +
    margin: .3em 0 0 2em;
 +
    background-color:#383838;
 +
    position:absolute;
 +
    width:100%;
 +
}
 +
#menuContainer .hideMenu {
 +
    display:none;
 +
}
 +
 
 +
.hideMenu li {
 +
    font-size:70px;
 +
    width:auto;
 +
    line-height:120px;
 +
    float:left;
 +
    display:inline-block;
 +
    clear:both;
 +
    padding: 50px 0 50px 0;
 +
}
 +
.hideMenu li:hover {
 +
    background:transparent;
 +
}
 +
.hideMenu li.ignoreSwitch br {
 +
    display:none;
 +
}
 +
 
 +
.hideMenu li.sub {
 +
    height:auto;
 +
    line-height:60px;
 +
}
 +
.hideMenu li.sub:hover {
 +
    border-radius: 20px 20px 0px 0px;
 +
    background: transparent;
 +
}
 +
.hideMenu li ul {
 +
    margin: 0 0 0 20%;
 +
    background:transparent;
 +
    float:none;
 +
    width:100%;
 +
    display:none;
 +
}
 +
.hideMenu li:hover ul {
 +
    display:none;
 +
}
 +
.hideMenu li ul li {
 +
    line-height:120px;
 +
    color: #fff;
 +
}
 +
.hideMenu li ul li:hover {
 +
    line-height:120px;
 +
    color: #fff;
 +
    background-color: #00964B;
 +
}
 +
}
 +
 
 +
 
 +
/* FOOTER STYLE */
 +
#footerContainer img {
 +
    padding:10px;
 +
    max-width:200px;
 +
    max-height:70px;
 +
}
 +
#footerContainer h2 {
 +
    text-align:center;
 +
    border: none;
 +
    color: black;
 +
    overflow: initial;
 +
}
 +
 
 +
#lives {
 +
    position:fixed;
 +
    left:5px;
 +
    top:16px;
 +
    display:none;
 +
}
 +
#runner {
 +
    position:fixed;
 +
    left:5px;
 +
    bottom:0px;
 +
    display:none;
 +
    width:100%;
 +
    z-index:100;
 +
}
 +
#sandbox {
 +
}
 +
 
 +
img#runnerImg {
 +
    animation: run 10s linear;
 +
    animation-fill-mode: forwards;
 +
    position:relative;
 +
    float:left;
 +
    left:50px;
 +
}
 +
@keyframes run {
 +
    from {left:0;}
 +
    to {left:100%;display:none;}
 +
}
 +
 
 +
/* CHANGE MEDIAWIKI STUFF */
 +
div.thumb div div.thumbcaption {
 +
    font-size: 10pt;
 +
}
 +
</style>
 +
</html>

Latest revision as of 23:58, 18 September 2015