Team:UI-Indonesia/css/stylesheet/standard
From 2014.igem.org
Line 50: | Line 50: | ||
background-color: #f8f8f8; | background-color: #f8f8f8; | ||
border: 0 none; | border: 0 none; | ||
- | height: | + | height: 10px; |
- | + | ||
top: 0; | top: 0; | ||
- | + | position: fixed; | |
- | width: | + | width: 100%; |
- | left: 50%; | + | left: 50%; |
- | + | z-index: 1900; | |
+ | margin-left: -487px; | ||
+ | -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-bar { /*-- styling full width bar which hides behind default menu bar (edit, page, history, etc.) --*/ | ||
+ | background-color: #f8f8f8; | ||
+ | height: 10px; | ||
+ | display: block; | ||
+ | z-index: 10; | ||
+ | position: fixed; | ||
+ | width: 100%; | ||
+ | top: 0; | ||
+ | } | ||
+ | /* | ||
+ | #top-section { | ||
+ | background: #f8f8f8; | ||
+ | position: fixed; | ||
+ | top: -10px; | ||
+ | border: none; | ||
+ | width: 100%; | ||
+ | height: auto; | ||
+ | z-index: -1000; | ||
+ | margin: 0px auto; | ||
+ | |||
+ | } | ||
+ | */ | ||
+ | /* EDIT AND USER MENU */ | ||
#menubar { | #menubar { | ||
- | font-family: " | + | font-family: "Lato", Helvetica, sans-serif; |
top: 0 !important; | top: 0 !important; | ||
font-size: 0.45em; | font-size: 0.45em; | ||
- | |||
- | |||
} | } | ||
Line 70: | Line 96: | ||
#menubar li a:link { | #menubar li a:link { | ||
text-transform: uppercase; | text-transform: uppercase; | ||
- | |||
} | } | ||
/* Highlight with background colour on hover */ | /* Highlight with background colour on hover */ | ||
- | |||
#top-section:hover #menubar li a { | #top-section:hover #menubar li a { | ||
- | color: # | + | color: #777777; |
- | + | ||
} | } | ||
#menubar li a:link, | #menubar li a:link, | ||
#menubar li a:visited { | #menubar li a:visited { | ||
- | color: # | + | color: #777777; |
- | background-color: #f8f8f8; | + | background-color: #f8f8f8;; |
} | } | ||
#menubar li a:hover, | #menubar li a:hover, | ||
#menubar li a:focus { | #menubar li a:focus { | ||
- | color: # | + | color: #777777; |
text-decoration: underline; | text-decoration: underline; | ||
- | |||
} | } | ||
- | |||
- | |||
- | |||
- | |||
- | + | ||
- | + | /* EDIT */ | |
- | + | #menubar.left-menu { | |
- | + | position: fixed; | |
- | + | background: #f8f8f8; | |
- | + | margin-left: 0px; | |
- | + | ||
} | } | ||
- | + | #menubar.left-menu:hover { | |
- | + | background-color: #f8f8f8;; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
+ | /* USER */ | ||
+ | #menubar.right-menu { | ||
+ | background: #f8f8f8; | ||
+ | position: fixed; | ||
+ | margin-right: 0px; | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
} | } | ||
Line 219: | Line 231: | ||
box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.68); | box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.68); | ||
position: relative; | position: relative; | ||
- | width: | + | width: 100%; |
height: auto; | height: auto; | ||
margin: 0px auto; | margin: 0px auto; |
Revision as of 04:04, 17 October 2014
@charset "UTF-8";
body,
- globalWrapper {
font-size: 18px; font-family: "Titillium Web", Helvetica, sans-serif; overflow: visible; min-height: 100%
}
p{
text-align: justify; font-size: 18px; line-height: 20px; color: #ffffff;
}
.clear {
clear: both;
}
a, a:link, a:visited {
color: #373737; text-decoration: none;
}
a:hover, a:focus {
color: #4c4c4c;
}
/* ---------------- WikiMedia Elements / Page Structure ---------------- */
/* HIDE SEARCH CONTROLS AND PAGE TITLE */
- p-logo,
- search-controls,
.firstHeading {
display: none;
}
h1, h2, h3, h4, h5, h6 { color: #373737; }
/* REMOVE DEFAULT TOP HEADER */
- top-section { /*-- styling for default menu bar (edit, page, history, etc.) --*/
background-color: #f8f8f8; border: 0 none; height: 10px; top: 0; position: fixed; width: 100%; left: 50%; z-index: 1900; margin-left: -487px; -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-bar { /*-- styling full width bar which hides behind default menu bar (edit, page, history, etc.) --*/
background-color: #f8f8f8; height: 10px; display: block; z-index: 10; position: fixed; width: 100%; top: 0; } /*
- top-section {
background: #f8f8f8; position: fixed; top: -10px; border: none; width: 100%; height: auto; z-index: -1000; margin: 0px auto;
}
- /
/* EDIT AND USER MENU */
- menubar {
font-family: "Lato", Helvetica, sans-serif; top: 0 !important; font-size: 0.45em;
}
- menubar li,
- menubar li a:link {
text-transform: uppercase;
}
/* Highlight with background colour on hover */
- top-section:hover #menubar li a {
color: #777777;
}
- menubar li a:link,
- menubar li a:visited {
color: #777777; background-color: #f8f8f8;;
}
- menubar li a:hover,
- menubar li a:focus {
color: #777777; text-decoration: underline;
}
/* EDIT */
- menubar.left-menu {
position: fixed;
background: #f8f8f8;
margin-left: 0px;
}
- menubar.left-menu:hover {
background-color: #f8f8f8;;
}
/* USER */
- menubar.right-menu {
background: #f8f8f8;
position: fixed; margin-right: 0px;
}
/* NAVIGATION BAR */
- igem-logo {
position: fixed;
display: block; bottom: 5%; left: 100px; z-index: 5000; margin: 0px auto;
float: left;
overflow: visibile; }
- ui-igem-logo {
position: fixed;
display: block; bottom: 5%; left: 160px; z-index: 5001; margin: 0px auto;
float: left;
overflow: visibile; }
/* HIDING FOOTER BOX */
- footer-box{display:none;}
- catlinks{display:none;}
/* PARAGRAPHS */
h1,h2,h3,h4 {
font-weight: normal; letter-spacing: 0 px; border-bottom:none;
} h2 {
color: #15bdb6; font-size: 25px; line-height: 26px; border-bottom: 1px solid #1e8380; font-weight: bold;
} h3,h4 {
color: #1e8380; font-size:20px; line-height:21px; font-weight:bold;
} h4 {
font-size:18px; line-height:19px; font-weight:bold;
}
/* PAGE CONTENT */
- nav-box {
display: block; position: relative; width: 70%; height: auto; margin: 0px auto; margin-bottom: 0px; background: transparent;
top: 10px;
}
- main-box {
display: block; position: relative; width: 70%; height: auto; margin: 0px auto; margin-bottom: 0px; background: transparent;
top: 55px;
}
- header {
background: transparent;
position: relative; width: 70%;
clear: both;
height: auto; margin: 0px auto; display: inline-block; }
- side-1 {
background: #332e2e;
color: #ffffff; -webkit-box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.68); -moz-box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.68); box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.68);
position: relative; width: 100%; height: auto; margin: 0px auto; margin-top: -20px; padding: 30px;
padding-top: 10px;
display: block;
border-radius: 20px;
}
- Teamslide
{ background: transparent; position: relative; width: 100%; height: auto; margin: 0px auto; display: block; }
/* CUSTOMIZING BOOTSTRAP CSS */
.container {
width: 80%; height: auto; padding-right: 15px; padding-left: 15px; margin-right: auto; margin-left: auto;
} @media (min-width: 768px) {
.container { width: 750px; }
} @media (min-width: 992px) {
.container { width: 970px; }
} @media (min-width: 1200px) {
.container { width: 1170px; }
}