Template:Team:UCSD Software/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...")
Line 3: Line 3:
<style type="text/css">
<style type="text/css">
-
#contentSub, #footer-box, #sitesub, #catlinks, #search-controls, #p-logo, .printfooter, .firstHeading, .visualClear {display: none;} /*-- hides default wiki settings --*/
+
.nav a {
-
 
+
  color: #F0F8FF;
-
.topWikiNavBackground {
+
  font-size: 13px;
-
    height:18px;
+
  font-weight: bold;
-
    margin-top: -32px;
+
  padding: 14px 10px;
-
    background-color:transparent;
+
  //text-transform: uppercase;
}
}
-
 
+
.nav{
-
#globalWrapper, #content { /*-- changes default wiki settings --*/
+
    //background-image:url('http://www.duolog.com/wp-content/uploads/Grey-Background.png');
-
width: 100%;  
+
    background-color: #333;
-
height: 100%;
+
-
border: 0px;
+
-
background-color: transparent;
+
-
margin: 0px;
+
-
padding: 0px;
+
}
}
-
 
+
/*.common{
-
html, body, .wrapper { /*-- changes default wiki settings --*/
+
    background-image:url('http://www.albiw.com/wp-content/uploads/bg_002.jpg');
-
width: 100%;
+
    height: 600px;
-
height: 100%;
+
    background-repeat: no-repeat;
-
background-color: transparent;
+
    background-size: cover;}*/
-
}
+
.nav li {
-
#top-section { /*-- styling for default menu bar (edit, page, history, etc.) --*/
+
  display: inline;
-
border: 0 none;
+
-
height: 14px;
+
-
z-index: 100;
+
-
top: 0;
+
-
position: fixed;
+
-
width: 975px;
+
-
left: 50%;
+
-
margin-left: -487px;
+
-
        background-color: transparent;  
+
}
}
-
#top-section-bar { /*-- styling full width bar which hides behind default menu bar (edit, page, history, etc.) --*/
+
.jumbotron {
-
        background-color:transparent;
+
  background-image:url('http://www.albiw.com/wp-content/uploads/bg_002.jpg');
-
        height: 14px;
+
  height: 470px;
-
display: block;
+
  background-repeat: no-repeat;
-
z-index: 10;
+
  background-size: cover;
-
position: fixed;
+
-
width:100%;
+
-
top: 0;
+
}
}
-
#menubar a:link, #menubar a:visited  { /*-- styling for default menu bar links (edit, page, history, etc.) --*/
+
.jumbotron .container {
-
        color:#FFF;
+
  position: relative;
-
text-decoration: none;  
+
  top:100px;
-
background-color: transparent;
+
}
}
-
#menubar a:active, #menubar a:hover
+
.jumbotron h1 {
-
{
+
  color: #fff;
-
        color:#FFF;
+
  font-size: 48px;
-
text-decoration: underline;
+
  font-family: 'Shift', sans-serif;
-
        background-color:transparent;
+
  font-weight: bold;
}
}
-
* {
 
-
margin: 0;
 
-
padding: 0;
 
-
-webkit-font-smoothing: antialiased;
+
.jumbotron p {
-
-webkit-box-sizing: border-box;
+
  font-size: 20px;
-
-moz-box-sizing: border-box;
+
  color: #fff;
-
box-sizing: border-box;
+
}
}
-
::selection {
+
.learn-more {
-
background: #F79042;
+
  background-color: #dedede; //#f7f7f7;
-
color: #fff;
+
}
}
-
.slide-out-div {
+
.learn-more h3 {
-
          padding: 20px;
+
  font-family: 'Shift', sans-serif;
-
          background-image:url(../img_bu14/popopenbkgd_bu14.png);
+
  font-size: 18px;
-
  background-repeat:repeat;
+
  font-weight: bold;
-
  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{
+
.learn-more a {
-
position:absolute;
+
  color: #00b0ff;
-
top:38px;
+
-
left:83px;
+
-
z-index:2;
+
}
}
-
 
+
.neighborhood-guides{
-
body {
+
    background-color: #efefef;
-
color: #353535;
+
    border-bottom: 1px solid #dbdbdb;
-
font: 14px/23px proxima-nova-alt, "Proxima Nova Alt", sans-serif;
+
-
text-align:center;
+
}
}
-
 
+
.neighborhood-guides h2{
-
h0{
+
    color: #393c3d;
-
color:#FFF;
+
    font-size: 24px;
-
font-size:40px;
+
-
font-weight:700;
+
-
        text-decoration:none;
+
}
}
-
 
+
.neighborhood-guides p{
-
header1{
+
    font-size: 15px;
-
font-size:28px;
+
    margin-bottom: 13px;
-
font-weight:700;
+
-
text-transform:uppercase;
+
-
        text-decoration:none;
+
}
}
-
header2{
+
.something {
-
font-size:18px;
+
  background-image:url('http://news.bbcimg.co.uk/media/images/74783000/jpg/_74783703_cityafp.jpg');
-
color:#FFF;
+
  height: 400px;
-
font-weight:700;
+
  background-repeat: no-repeat;
-
text-transform:uppercase;
+
  background-size: cover;
-
text-align:left;
+
  //margin-right: 0px;
-
        text-decoration:none;
+
  //margin-left: 0px;
}
}
-
header2black{
+
.something h1{
-
font-size:18px;
+
  color: #fff;
-
color:#000000;
+
  font-size: 50px;
-
font-weight:700;
+
  font-family: 'Shift', sans-serif;
-
text-transform:uppercase;
+
  font-weight: bold;
-
text-align:left;
+
-
        text-decoration:none;
+
-
}
+
-
 
+
-
header3{
+
-
font-size:20px;
+
-
color:#000;
+
-
font-weight:700;
+
-
text-align:left;
+
-
        text-decoration:none;
+
-
}
+
-
 
+
-
maincontent{
+
-
font-size:14px;
+
-
        font-weight:100;
+
-
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: #870203;
+
-
color: #ffffff;*/
+
-
}
+
-
 
+
-
/* main level link hover */
+
-
#nav .current a, #nav li:hover > a {
+
-
color: #F79042;
+
-
border-color:#F79042;
+
-
}
+
-
 
+
-
/* sub levels link hover */
+
-
#nav ul li:hover a, #nav li:hover li a {
+
-
border: none;
+
-
background-image:url(https://static.igem.org/mediawiki/2014/3/3a/Orangemenubkgd_bu14.png);
+
-
background-repeat:repeat;
+
-
color:#FFF;
+
-
}
+
-
 
+
-
#nav ul a:hover {
+
-
color: #353535 !important;
+
-
/*background: #fff url() repeat-x 0 -100px !important;
+
-
text-shadow: 0 1px 1px rgba(0,0,0, .1);*/
+
-
}
+
-
 
+
-
 
+
-
/* 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;
+
-
visibility: hidden;
+
-
line-height: 0;
+
-
height: 0;
+
-
}
+
-
#nav {
+
-
display: inline-block;
+
-
}
+
-
html[xmlns] #nav {
+
-
display: block;
+
-
}
+
-
+
-
* html #nav {
+
-
height: 1%;
+
-
}
+
-
 
+
-
 
+
-
 
+
-
 
+
-
 
+
-
.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{
+
-
        background-color:transparent;
+
-
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;
+
-
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{
+
-
position:absolute;
+
-
top:calc(100% - 125px);
+
-
}
+
-
 
+
-
.topanchor{
+
-
position:absolute;
+
-
top:calc(0% - 125px);
+
-
}
+
-
 
+
-
.lower{
+
-
background-image:url(https://static.igem.org/mediawiki/2014/d/d7/Gradient_bu14.png);
+
-
background-color:#FFF;
+
-
text-align:center;
+
-
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) {
+
.something p{
-
.features li:before {
+
  font-size: 20px;
-
background: url('img/icons@2x.png');
+
  color: #fff;
-
background-size: 100%;
+
-
}
+
}
}
</style>
</style>
</html>
</html>

Revision as of 07:01, 13 October 2014