Team:UI-Indonesia/css/stylesheet
From 2014.igem.org
Line 175: | Line 175: | ||
width: 965px; | width: 965px; | ||
height: 50px; | height: 50px; | ||
+ | bottom: 0px; | ||
text-align: center; | text-align: center; | ||
display: inline-block; | display: inline-block; |
Revision as of 06:33, 23 July 2014
@charset "UTF-8";
body,
- globalWrapper {
font-size: 14px; font-family: 'Signika', sans-serif; overflow-x: hidden;
}
p{
text-align: justify;
}
.clear {
clear: both;
}
a, a:link, a:visited {
color: #55b909; text-decoration: none;
}
a:hover, a:focus {
color: #81b909;
}
/* ---------------- WikiMedia Elements / Page Structure ---------------- */
/* HIDE SEARCH CONTROLS AND PAGE TITLE */
- p-logo,
- search-controls,
.firstHeading {
display: none;
}
h1, h2, h3, h4, h5, h6 { color: #f83031; }
/* REMOVE DEFAULT TOP HEADER */
- top-section {
background-image: url('https://static.igem.org/mediawiki/2014/4/4f/UI-Indonesia_Image_TopSectionBG.png');
background-size: 965px auto;
border: none; height: 20px; margin-top: 0; margin-bottom: 20px; -webkit-transition: all 500ms ease; -moz-transition: all 500ms ease; -ms-transition: all 500ms ease; -o-transition: all 500ms ease; transition: all 500ms ease;
}
- top-section:hover {
background: #ffffff;
}
/* EDIT AND USER MENU */
- menubar {
top: 0 !important; font-size: 0.7em;
}
- menubar li,
- menubar li a:link {
text-transform: uppercase;
}
/* Highlight with background colour on hover */
- top-section:hover #menubar li a {
color: #e80607;
}
- menubar li a:link,
- menubar li a:visited {
color: #ffffff; background-color: transparent;
}
- menubar li a:hover,
- menubar li a:focus {
color: #e80607; text-decoration: none;
}
/* EDIT */
- menubar.left-menu{
}
- menubar.left-menu:hover {
background-color: transparent;
}
/* USER */
- menubar.right-menu {
}
/* CHANGING WHITE BACKGROUND */
- globalWrapper, #content { /*-- changes default wiki settings --*/
width: 965px; height: 100%; border: none; background-color: white; margin: 0px auto; padding: 0px; }
body { background-color: #ffffff; width: 100%; height: auto; }
html, .wrapper { /*-- changes default wiki settings --*/ width: 100%; height: 100%; background-color: transparent; }
/* HIDING FOOTER BOX */
- footer-box{display:none;}
- catlinks{display:none;}
/* -------------------------- Header-------------------------- */
- header {
position: relative; /* this is to allow positioning of elements within */
background-color: transparent;
text-align: center;
margin: 0px auto; width: 965px; height: 170px; line-height: 10px; }
#mission-igempossible { position: absolute;
display: block; left: 0; margin: 0px auto; clear: both;
}
#igem-logo { position: absolute; display: block; margin: 0px auto; align-content: center; bottom: 0; }
#igem-logo:hover { background: url("https://2014.igem.org/File:UI-Indonesia_Image_IGEMgreen.png"); }
/* -------------------- Navigation Bar ----------------------- */
@charset "UTF-8"; ul.navigation-menu {
list-style-type: none; list-style-image: none; width: 965px; height: 50px; bottom: 0px; 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(); 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.maple {
background-image: url('https://static.igem.org/mediawiki/2013/8/82/MapleLogo.png'); background-size: 65% auto; background-repeat: no-repeat; background-position: 40% 40%; background-color: #ffce32;
} ul.navigation-menu > li:hover > ul > li.maple a {
text-indent: -9999999px;
} ul.navigation-menu > li:hover > ul > li.maple:hover {
background-color: #fff;
} ul.navigation-menu > li:hover > ul > li.maple:active {
background-color: #ffce32;
} 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;
}
/* --------------------- Main Content ----------------------- */
- main-content {
background-color: green; width: 965px; height: auto; margin: 0px auto; }
- BackToTop,
- BackToTop:link,
- BackToTop:visited {
position: fixed; bottom: 5px; right: 5px; text-decoration: none; color: #55b909;
}
- BackToTop:hover {
color: #81b909;
}