Template:Team:CityU HK/CSS
From 2014.igem.org
(Difference between revisions)
(Created page with "<html> <head> <style type="text/css"> #contentSub, #footer-box, #sitesub, #catlinks, #search-controls, #p-logo, .printfooter, .firstHeading, .visualClear {display: none;} /*-- h...") |
|||
(14 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
<html> | <html> | ||
- | |||
- | |||
- | + | <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> | ||
- | . | + | <!-- Bootstrap --> |
- | + | <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css"> | |
- | + | ||
- | + | <!-- 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'> | ||
- | + | <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries --> | |
- | + | <!-- WARNING: Respond.js doesn't work if you view the page via file:// --> | |
- | + | <!--[if lt IE 9]> | |
- | + | <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script> | |
- | + | <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> | |
- | + | <![endif]--> | |
- | + | ||
- | + | ||
- | + | ||
- | + | <style type="text/css"> | |
- | + | ||
- | + | /* 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: 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; | ||
- | + | } | |
+ | |||
+ | #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: #383838; | |
- | + | 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 | + | #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: #727272; | |
text-decoration: none; | text-decoration: none; | ||
background-color: transparent; | background-color: transparent; | ||
} | } | ||
- | + | body { | |
- | { | + | background-color: transparent; |
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | |||
- | |||
- | |||
- | + | #globalWrapper, #content { /*-- changes default wiki settings --*/ | |
- | + | width: 100%; | |
- | - | + | height: 100%; |
- | + | border: 0px; | |
+ | background-color: transparent; | ||
+ | margin: 0px; | ||
+ | padding: 0px; | ||
} | } | ||
- | + | html, body, .wrapper { /*-- changes default wiki settings --*/ | |
- | + | width: 100%; | |
- | color: | + | height: 100%; |
+ | background-color: transparent; | ||
} | } | ||
- | + | h2 {border-bottom: none;} | |
- | + | h1 {border-bottom: none;} | |
- | + | h3 {border-bottom: none;} | |
- | + | a:link {color: none;} | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | } | + | |
- | + | ||
- | + | ||
- | + | ||
- | } | + | |
- | a: | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | } | + | |
- | + | </style> | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | + | <style> | |
- | color:# | + | .navbar-default { |
- | font-size:40px; | + | border-bottom: solid 3px #e0e0e0; |
- | + | margin-bottom:0; | |
- | + | 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; | ||
+ | } | ||
- | + | .navbar-brand:hover { | |
- | + | color:#3cc; | |
- | + | } | |
- | + | ||
- | + | .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; | ||
+ | } | ||
- | + | .nav.navbar-nav.navbar-right .active a { | |
- | + | border-bottom-width: 3px; | |
- | + | border-bottom-style: solid; | |
- | + | border-bottom-color: #3cc; | |
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | + | nav ul li a:hover { | |
- | + | font-weight: bolder; | |
- | font- | + | color: #3cc; |
- | color:# | + | border-bottom-width: 3px; |
- | + | border-bottom-style: solid; | |
- | + | border-bottom-color: rgba(51,204,204,.3); | |
- | + | ||
} | } | ||
- | + | .dropdown-menu li a:hover { | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | . | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
border: none; | border: none; | ||
- | + | color: #3cc; | |
- | + | font-weight: bold; | |
- | + | ||
} | } | ||
- | # | + | #footer { |
- | + | background: rgba(0,0,0,0.8); | |
- | + | background-size:cover; | |
- | + | height: 250px; | |
- | + | width: 100%; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | background- | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
clear: both; | clear: both; | ||
- | + | position: relative; | |
- | + | bottom: 0; | |
- | + | margin: 0; | |
- | + | padding: 20px 20px 0px 20px; | |
- | + | border-top: solid 1px #e0e0e0; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | + | #footer h4 { | |
- | + | color: #fff; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | + | #footer p { | |
- | + | color: #fff; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
text-align: center; | text-align: center; | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
} | } | ||
- | + | #footer a { | |
- | + | color: #fff; | |
- | + | text-decoration: none; | |
} | } | ||
- | + | #footer a:hover { | |
- | + | color: #3cc; | |
- | + | ||
} | } | ||
- | + | #footer img { | |
- | + | margin-left: 40px; | |
- | + | margin-top: 30px; | |
- | + | margin-bottom: 10px; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
</html> | </html> |
Latest revision as of 07:01, 28 August 2014