Template:Team:CityU HK/CSS

From 2014.igem.org

(Difference between revisions)
 
(11 intermediate revisions not shown)
Line 1: Line 1:
<html>
<html>
-
<head>
 
-
<style type="text/css">
 
-
#contentSub, #footer-box, #sitesub, #catlinks, #search-controls, #p-logo, .printfooter, .firstHeading, .visualClear {display: none;} /*-- hides default wiki settings --*/
+
    <meta charset="utf-8">
 +
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
 +
    <meta name="viewport" content="width=device-width, initial-scale=1">
 +
    <title>Bootstrap 101 Template</title>
-
.topWikiNavBackground {
+
    <!-- Bootstrap -->
-
     height:18px;
+
    <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
-
     margin-top: -32px;
+
      
-
     background-color:transparent;
+
     <!-- font -->
-
}
+
     <link href='http://fonts.googleapis.com/css?family=Lobster' rel='stylesheet' type='text/css>
 +
    <link href='http://fonts.googleapis.com/css?family=Dosis' rel='stylesheet' type='text/css'>
 +
    <link href='http://fonts.googleapis.com/css?family=Oswald' rel='stylesheet' type='text/css'>
 +
    <link href='http://fonts.googleapis.com/css?family=Pacifico' rel='stylesheet' type='text/css'>
 +
    <link href='http://fonts.googleapis.com/css?family=Josefin+Sans:100,400' rel='stylesheet' type='text/css'>
 +
    <link href='http://fonts.googleapis.com/css?family=Montserrat+Alternates' rel='stylesheet' type='text/css'>
 +
    <link href='http://fonts.googleapis.com/css?family=Source+Sans+Pro' rel='stylesheet' type='text/css'>
-
#globalWrapper, #content { /*-- changes default wiki settings --*/
+
    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
-
width: 100%;
+
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
-
height: 100%;
+
    <!--[if lt IE 9]>
-
border: 0px;
+
      <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
-
background-color: transparent;
+
      <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
-
margin: 0px;
+
    <![endif]-->
-
padding: 0px;
+
-
}
+
-
html, body, .wrapper { /*-- changes default wiki settings --*/
+
 
-
width: 100%;
+
<style type="text/css">
-
height: 100%;
+
 
-
background-color: transparent;
+
/* Removing wiki-like stuff */
-
}
+
/****************************/
-
#top-section { /*-- styling for default menu bar (edit, page, history, etc.) --*/
+
#contentSub, #footer-box, #catlinks, #search-controls, #p-logo, .printfooter, .firstHeading,.visualClear {display: none;}  
 +
/****************************/
 +
 
 +
#top-section {     /*-- styling for default menu bar (edit, page, history, etc.) --*/
 +
background-color: #383838;
border: 0 none;
border: 0 none;
-
height: 14px;
+
        height: 0px;
 +
        color: transparent;
z-index: 100;
z-index: 100;
top: 0;
top: 0;
Line 34: Line 44:
left: 50%;  
left: 50%;  
margin-left: -487px;
margin-left: -487px;
-
        background-color: transparent;  
+
}
 +
 
 +
#top-section:hover {
 +
background-color: #383838;
 +
border: 0 none;
 +
        height: 14px;
 +
z-index: 100;
 +
top: 0;
 +
width: 975px;
 +
left: 50%;
 +
margin-left: -487px;
 +
        -webkit-transition: all 0s linear .1s;
 +
-moz-transition: all 0s linear .1s;
 +
-ms-transition: all 0s linear .1s;
 +
-o-transition: all 0s linear .1s;
 +
transition: all 0s linear .1s;
}
}
#top-section-bar { /*-- styling full width bar which hides behind default menu bar (edit, page, history, etc.) --*/
#top-section-bar { /*-- styling full width bar which hides behind default menu bar (edit, page, history, etc.) --*/
-
        background-color:transparent;
+
background-color: #383838;
-
        height: 14px;
+
height: 14px;
display: block;
display: block;
z-index: 10;
z-index: 10;
position: fixed;
position: fixed;
-
width:100%;
+
width: 100%;
top: 0;
top: 0;
}
}
-
#menubar a:link, #menubar a:visited { /*-- styling for default menu bar links (edit, page, history, etc.) --*/
+
#menubar a:link, #menubar a:active, #menubar a:visited, #menubar a:hover, #menubar:hover { /*-- styling for default menu bar links (edit, page, history, etc.) --*/
-
        color:#FFF;
+
color: #727272;  
text-decoration: none;  
text-decoration: none;  
background-color: transparent;
background-color: transparent;
}
}
-
#menubar a:active, #menubar a:hover
+
body {  
-
{
+
background-color: transparent;
-
        color:#FFF;
+
-
text-decoration: underline;
+
-
        background-color:transparent;
+
}
}
-
* {
 
-
margin: 0;
 
-
padding: 0;
 
-
-webkit-font-smoothing: antialiased;
+
#globalWrapper, #content { /*-- changes default wiki settings --*/
-
-webkit-box-sizing: border-box;
+
width: 100%;  
-
-moz-box-sizing: border-box;
+
height: 100%;
-
box-sizing: border-box;
+
border: 0px;
 +
background-color: transparent;
 +
margin: 0px;
 +
padding: 0px;
}
}
-
::selection {
+
html, body, .wrapper { /*-- changes default wiki settings --*/
-
background: #F79042;
+
width: 100%;  
-
color: #fff;
+
height: 100%;
 +
background-color: transparent;
}
}
-
.slide-out-div {
+
h2 {border-bottom: none;}
-
          padding: 20px;
+
h1 {border-bottom: none;}
-
          background-image:url(../img_bu14/popopenbkgd_bu14.png);
+
h3 {border-bottom: none;}
-
  background-repeat:repeat;
+
a:link {color: none;}
-
  z-index:30;
+
-
  text-align:left;
+
-
      }
+
-
 
+
-
a:link {
+
-
color: #F79042;
+
-
text-decoration: none;
+
-
}
+
-
a:visited {
+
-
text-decoration: none;
+
-
color: #F79042;
+
-
}
+
-
a:hover {
+
-
text-decoration: underline;
+
-
}
+
-
a:active {
+
-
text-decoration: none;
+
-
}
+
-
.title{
+
</style>
-
position:absolute;
+
-
top:38px;
+
-
left:83px;
+
-
z-index:2;
+
-
}
+
-
body {
 
-
color: #353535;
 
-
font: 14px/23px proxima-nova-alt, "Proxima Nova Alt", sans-serif;
 
-
text-align:center;
 
-
}
 
-
h0{
+
    <style>
-
color:#FFF;
+
.navbar-default {
-
font-size:40px;
+
border-bottom: solid 3px #e0e0e0;
-
font-weight:700;
+
margin-bottom:0;
-
         text-decoration:none;
+
background-color: #EBEDEC;
-
}
+
                height: 8%;
 +
}
 +
 +
.navbar-brand {
 +
font-family:'Josefin Sans', sans-serif;
 +
font-size: 2em;
 +
padding-top: 40px;
 +
padding-left: 40px;
 +
padding-bottom: 70px;
 +
}
 +
       
 +
         .nav .navbar-brand a:link {          /*overwrite igem default style*/
 +
                color: #2c4762;
 +
        }
-
header1{
+
.navbar-brand:hover {
-
font-size:28px;
+
color:#3cc;
-
font-weight:700;
+
}
-
text-transform:uppercase;
+
-
        text-decoration:none;
+
    .navbar .container-fluid #bs-example-navbar-collapse-1 .nav.navbar-nav.navbar-right {
 +
margin-top: 20px;
 +
font-size: 16px;
 +
font-family:'Dosis', sans-serif;
}
}
 +
    .nav.navbar-nav.navbar-right a:link {    /*overwrite igem default style*/
 +
        color:#357385;
 +
    }
-
header2{
+
    .nav.navbar-nav.navbar-right .active a {
-
font-size:18px;
+
border-bottom-width: 3px;
-
color:#FFF;
+
border-bottom-style: solid;
-
font-weight:700;
+
border-bottom-color: #3cc;
-
text-transform:uppercase;
+
-
text-align:left;
+
-
        text-decoration:none;
+
}
}
-
 
+
nav ul li a:hover {
-
header3{
+
font-weight: bolder;
-
font-size:20px;
+
color: #3cc;
-
color:#000;
+
border-bottom-width: 3px;
-
font-weight:700;
+
border-bottom-style: solid;
-
text-align:left;
+
border-bottom-color: rgba(51,204,204,.3);
-
        text-decoration:none;
+
}
}
-
 
+
.dropdown-menu li a:hover {
-
maincontent{
+
-
font-size:14px;
+
-
font-weight:200;
+
-
text-align:justify;
+
-
}
+
-
 
+
-
capt{
+
-
font-size:12px;
+
-
        color:#5E5F5F;
+
-
font-weight:150;
+
-
text-align:justify;
+
-
        line-height:110%
+
-
}
+
-
 
+
-
sidenav{
+
-
color:#FFF;
+
-
font-weight:700;
+
-
}
+
-
 
+
-
#logo {
+
-
position: absolute;
+
-
left: 80px;
+
-
top: 40px;
+
-
z-index: 2;
+
-
margin-left: -17px;
+
-
}
+
-
 
+
-
.header{
+
-
background-color:#353535;
+
-
position:fixed;
+
-
height:125px;
+
-
top:0px;
+
-
width:100%;
+
-
z-index:30;
+
-
}
+
-
.igemlogo
+
-
{
+
-
position:fixed;
+
-
right:5px;
+
-
z-index:30;
+
-
}
+
-
 
+
-
 
+
-
#tracking_nav
+
-
{
+
-
margin: 0px 0px 0px 950px;
+
-
position: fixed;
+
-
color:#bababa;
+
-
border: 1px solid #3d3f3c;
+
-
background:#3d3f3c;
+
-
font-size: 16pt;
+
-
padding: 5px;
+
-
line-height: 120%;
+
-
}
+
-
 
+
-
#tracking_nav a { color:#ffffff; text-transform: lowercase;font-size: 16pt;}
+
-
#tracking_nav a:hover {background:#bababa;}
+
-
 
+
-
ul#nav {
+
-
width:90%;
+
-
top:100px;
+
-
left:60px;
+
-
position:fixed;
+
-
z-index:30;
+
-
}
+
-
 
+
-
#nav li {
+
-
color: #FFF;
+
-
background-color:none;
+
-
margin: 0 15px 0 0;
+
-
float: left;
+
-
position: relative;
+
-
list-style: none;
+
-
 
+
-
}
+
-
#nav li:last-child { margin:0; }
+
-
 
+
-
/* main level link */
+
-
#nav a {
+
-
font-family:bree-web, Bree, sans-serif;
+
-
font-size:10pt;
+
-
font-weight:600;
+
-
line-height:210%;
+
-
color: inherit;
+
-
text-decoration: none;
+
-
display: block;
+
-
padding: 0 0 0 5px;
+
-
margin: 0;
+
-
}
+
-
 
+
-
ul#nav > li > a {
+
-
line-height:10px;
+
-
border-left:solid 3px #bbb;
+
-
padding:0 0 0 15px;
+
-
}
+
-
 
+
-
#nav a:hover {
+
-
/*background-color: #87c540;
+
-
color: #ffffff;*/
+
-
}
+
-
 
+
-
/* main level link hover */
+
-
#nav .current a, #nav li:hover > a {
+
-
color: #87c540;
+
-
border-color:#87c540;
+
-
}
+
-
 
+
-
/* sub levels link hover */
+
-
#nav ul li:hover a, #nav li:hover li a {
+
border: none;
border: none;
-
/*background-image:url(https://static.igem.org/mediawiki/2014/3/3a/Orangemenubkgd_bu14.png);*/
+
color: #3cc;
-
        background-color: #87c540;
+
font-weight: bold;
-
background-repeat:repeat;
+
-
color:#FFF;
+
}
}
-
#nav ul a:hover {
+
#footer {
-
color: #353535 !important;
+
background: rgba(0,0,0,0.8);
-
/*background: #fff url() repeat-x 0 -100px !important;
+
background-size:cover;
-
text-shadow: 0 1px 1px rgba(0,0,0, .1);*/
+
height: 250px;
-
}
+
        width: 100%;
-
 
+
-
 
+
-
/* dropdown */
+
-
#nav li:hover > ul {
+
-
/*display: block;*/
+
-
opacity:1;
+
-
margin:0;
+
-
background-color: none;
+
-
z-index:0;
+
-
}
+
-
 
+
-
/* level 2 list */
+
-
#nav ul {
+
-
/*display: none;*/
+
-
opacity:0;
+
-
margin: 20px 0 0 0;
+
-
padding: 7px 0 0 0;
+
-
width: 205px;
+
-
position: absolute;
+
-
left: 0;
+
-
z-index:-1;
+
-
 
+
-
}
+
-
#nav ul li {
+
-
float: none;
+
-
margin: 0;
+
-
padding: 0;
+
-
}
+
-
 
+
-
#nav ul a {
+
-
font-weight: normal;
+
-
/*text-shadow: 0 1px 0 #fff;*/
+
-
}
+
-
 
+
-
/* clearfix */
+
-
#nav:after {
+
-
content: ".";
+
-
display: block;
+
clear: both;
clear: both;
-
visibility: hidden;
+
position: relative;
-
line-height: 0;
+
bottom: 0;
-
height: 0;
+
        margin: 0;
-
}
+
        padding: 20px 20px 0px 20px;  
-
#nav {
+
        border-top: solid 1px #e0e0e0;
-
display: inline-block;
+
-
}
+
-
html[xmlns] #nav {
+
-
display: block;
+
-
}
+
-
+
-
* html #nav {
+
-
height: 1%;
+
}
}
-
 
+
#footer h4 {
-
 
+
color: #fff;
-
 
+
-
 
+
-
.headerdivider{
+
-
        background-image:url(https://static.igem.org/mediawiki/2014/1/15/Headerdivider_bu14.png);
+
-
position:absolute;
+
-
top:120px;
+
-
height:15px;
+
-
width:100%;
+
-
z-index:10;
+
}
}
-
.plasmid{
+
#footer p {
-
        background-color:transparent;
+
color: #fff;
-
position: relative;
+
-
background-repeat:no-repeat;
+
-
margin-left:auto;
+
-
margin-right:auto;
+
-
width:400px;
+
-
height:500px;
+
-
        top: calc(50% - 300px);
+
-
z-index:10;
+
-
}
+
-
 
+
-
.banner {
+
-
        background-image:url(https://static.igem.org/mediawiki/2014/0/03/Boston1_bu14.jpg);
+
-
        background-size:cover;
+
-
position: absolute;
+
-
top:100px;
+
-
width: 100%;
+
-
height:100%;
+
-
overflow: auto;
+
-
font-size: 18px;
+
text-align: center;
text-align: center;
-
color: rgba(255,255,255,.6);
 
-
text-shadow: 0 0 1px rgba(0,0,0,.05), 0 1px 2px rgba(0,0,0,.3);
 
-
 
-
box-shadow: 0 1px 2px rgba(0,0,0,.25);
 
-
 
-
 
-
}
 
-
 
-
.wrap {
 
-
margin: 0 auto;
 
-
width: 960px;
 
}
}
-
.anchor{
+
#footer a {
-
position:absolute;
+
color: #fff;
-
top:calc(100% - 125px);
+
text-decoration: none;
}
}
-
.topanchor{
+
#footer a:hover {
-
position:absolute;
+
color: #3cc;
-
top:calc(0% - 125px);
+
}
}
-
.lower{
+
#footer img {
-
background-image:url(https://static.igem.org/mediawiki/2014/d/d7/Gradient_bu14.png);
+
margin-left: 40px;
-
background-color:#FFF;
+
margin-top: 30px;
-
text-align:center;
+
margin-bottom: 10px;
-
background-repeat:repeat-x;
+
-
width:100%;
+
-
position:absolute;
+
-
top:100%;
+
-
z-index:10;
+
}
}
-
.content{
+
-
text-align:left;
+
-
width:100%;
+
-
position:relative;
+
-
z-index:10;
+
-
 
+
-
}
+
-
.text{
+
-
width:75%;
+
-
margin-left:auto;
+
-
margin-right:auto;
+
-
}
+
-
.content1{
+
-
background-image:url(../img_bu14/whitebkgd_bu14.png);
+
-
background-repeat:repeat;
+
-
 
+
-
 
+
-
.sponsors{
+
-
background-color:#FFF;
+
-
position:relative;
+
-
text-align:center;
+
-
bottom:0px;
+
-
z-index:10;
+
-
}
+
-
 
+
-
@media only screen and (min-device-width: 320px) and (max-device-width: 480px), (max-width: 900px) {
+
-
.wrap {
+
-
width: 90%;
+
-
}
+
-
#logo {
+
-
left: 50px;
+
-
top: 30px;
+
-
}
+
-
 
+
-
.banner header1, .banner header2 {
+
-
font-size: 24px;
+
-
line-height: 30px;
+
-
}
+
-
.banner ul li {
+
-
height: 240px;
+
-
}
+
-
.banner .inner {
+
-
padding-top: 100px;
+
-
padding-bottom: 50px;
+
-
}
+
-
.banner p {
+
-
font-size: 15px;
+
-
width: 80%;
+
-
margin: 0 auto;
+
-
}
+
-
pre {
+
-
overflow: auto;
+
-
}
+
-
.features li {
+
-
width: 100%;
+
-
margin-left: 10px;
+
-
margin-bottom: 30px;
+
-
}
+
-
.how li {
+
-
width: 90%;
+
-
}
+
-
.how pre {
+
-
position: static;
+
-
width: 100%;
+
-
}
+
-
}
+
-
 
+
-
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
+
-
.features li:before {
+
-
background: url('img/icons@2x.png');
+
-
background-size: 100%;
+
-
}
+
-
}
+
-
 
+
-
 
+
-
</style>
+
</html>
</html>

Latest revision as of 07:01, 28 August 2014

Bootstrap 101 Template