Difference between revisions of "Team:British Columbia/Test/Custom CSS"

 
(166 intermediate revisions by 3 users not shown)
Line 31: Line 31:
  
 
<style type="text/css">
 
<style type="text/css">
 +
 +
html, body {
 +
  margin: 0;
 +
  padding: 0;
 +
  font-family: "Helvetica", sans-serif;
 +
font-weight: lighter;
 +
}
 +
 +
h1 {
 +
  text-align: center;
 +
}
 +
 +
 +
html, body, head, #content{
 +
background-color:#e1d1b4;
 +
}
 +
#contentSub, #search-controls, .firstHeading, #footer-box, #catlinks, #p-logo {
 +
    display:none;}
 +
#top-section {
 +
    border: none;
 +
    height: 0px;}
 +
#content {
 +
    border: none;
 +
    Width: 100%;
 +
}
 +
 
body{
 
body{
 +
    margin: 0 0 0 0;
 +
    padding: 0;
 +
}
 +
 +
.bod{
 +
 
width:100%;
 
width:100%;
 +
height:100%;
 +
margin-bottom:80px;
 +
}
 +
 +
body#ubc{
 +
width:100%;
 +
/*min-width:1200px;*/
 
height:100%;
 
height:100%;
 
margin: 0 auto;
 
margin: 0 auto;
 
text-align: center;
 
text-align: center;
background-color:#e1d1b4;
 
 
}
 
}
 +
/*
 +
#text{
 +
width:1500px;
 +
margin:0 auto;
 +
height:100%;
 +
text-align:center;
 +
}*/
  
.bod{
+
.UBCbod{
 
margin: 0 auto;
 
margin: 0 auto;
 
height:100%;
 
height:100%;
Line 45: Line 90:
 
}
 
}
  
.header{
+
#corners{
 
width:100%;
 
width:100%;
height: 80px;
+
min-width:1200px;
margin-top:80px;
+
margin: 0 auto;
 +
height:285px;
 +
z-index:0;
 +
position:absolute;
 +
margin-top:-50px;
 +
}
 +
 
 +
#cornerleft{
 +
background: url('https://static.igem.org/mediawiki/2015/a/ad/Corner_actual_left_goods.png') no-repeat;
 +
float:Left;
 +
width:400px;
 +
height:285px;
 +
z-index:-1;
 +
}
 +
 
 +
#cornerright{
 +
background: url('https://static.igem.org/mediawiki/2015/4/44/Corner_left_good2.png') no-repeat;
 +
float:right;
 +
width:400px;
 +
height:285px;
 +
z-index:-1;
 +
}
 +
 
 +
.UBCheader{
 +
z-index:100;
 +
width:100%;
 +
min-width:1200px;
 +
height: 70px;
 
background-color:#bbd0bf;
 
background-color:#bbd0bf;
border:#748e83 10px solid;
+
border:#738d83 10px solid;
 
border-right: none;
 
border-right: none;
 
border-left:none;
 
border-left:none;
 +
position:absolute;
 +
margin-top:50px;
 
}
 
}
  
#header{
+
#UBCheader{
 
width: 1200px;
 
width: 1200px;
 
height: 100px;
 
height: 100px;
 
float:left;
 
float:left;
 
margin:0 auto;
 
margin:0 auto;
 +
z-index:100;
 
}
 
}
  
#logo{
+
#UBClogo{
 
width: 377px;
 
width: 377px;
 
height:150px;
 
height:150px;
Line 69: Line 144:
 
background-image:url('https://static.igem.org/mediawiki/2015/c/c1/UBC_logo.png');
 
background-image:url('https://static.igem.org/mediawiki/2015/c/c1/UBC_logo.png');
 
margin-left:50px;
 
margin-left:50px;
margin-top:-35px;
+
margin-top:-45px;
 
}
 
}
  
#menu{
+
#UBCmenu{
 
width: 700px;
 
width: 700px;
 
height: 125px;
 
height: 125px;
Line 79: Line 154:
 
margin-left:50px;
 
margin-left:50px;
 
margin-top:-15px;
 
margin-top:-15px;
 +
display:block;
 +
font-family: "Times New Roman", serif;
 
}
 
}
  
#menu h4{
+
#UBCmenu a h4:hover{
 +
color:#804315;
 +
}
 +
 
 +
#UBCmenu ul li a:hover{
 +
color:#804315;
 +
}
 +
 
 +
#UBCmenu h4{
 
text-align: center;
 
text-align: center;
padding-top:50px;
+
padding-top:40px;
 
padding-left:5px;
 
padding-left:5px;
 
margin:0;
 
margin:0;
Line 89: Line 174:
 
font-size:18px;
 
font-size:18px;
 
font-weight:100;
 
font-weight:100;
 +
position:relative;
 +
display:block;
 
}
 
}
  
#proj{
+
#UBCmenu ul{
width:142px;
+
list-style:none;
height: 125px;
+
color:white;
 +
position:relative;
 +
display:none;
 +
}
 +
 
 +
#UBCmenu a{
 +
color:white;
 +
font-size:12px;
 +
}
 +
 
 +
#UBCmenu #proj:hover ul{
 +
display:block;
 +
position:absolute;
 +
}
 +
 
 +
#UBCmenu #parts:hover ul{
 +
display:block;
 +
position:absolute;
 +
}
 +
 
 +
#UBCmenu #model:hover ul{
 +
display:block;
 +
position:absolute;
 +
}
 +
 
 +
#UBCmenu #hp:hover ul{
 +
display:block;
 +
position:absolute;
 +
}
 +
 
 +
#UBCmenu #ach:hover ul{
 +
display:block;
 +
position:absolute;
 +
}
 +
 
 +
#UBCmenu #team:hover ul{
 +
display:block;
 +
position:absolute;
 +
}
 +
 
 +
#UBCmenu #note:hover ul{
 +
display:block;
 +
position:absolute;
 +
}
 +
 
 +
#UBCmenu ul{
 +
margin-top:30px;
 +
margin-left:27px;
 +
z-index:100;
 +
}
 +
 
 +
#UBCmenu ul li{
 +
width:60px;
 +
background-color:#e7b76d;
 +
margin:0;
 +
padding:5px;
 +
text-align:center;
 +
border-bottom:solid 1px #e1d1b4;
 +
opacity:0.99;
 +
line-height:100%;
 +
}
 +
 
 +
#UBCmenu ul li ul{
 +
width:60px;
 +
background-color:#e7b76d;
 +
margin:0;
 +
padding:5px;
 +
text-align:center;
 +
border-bottom:solid 1px #e1d1b4;
 +
opacity:0.99;
 +
line-height:100%;
 +
float:left;
 +
margin-left:60px;
 +
margin-top:-40px;
 +
display:none;
 +
}
 +
 
 +
ul li:hover ul{
 +
display:block;
 +
}
 +
 
 +
#UBCmenu ul li ul li{
 +
float:left;
 +
}
 +
 
 +
a:hover{
 +
text-decoration:none;
 +
}
 +
 
 +
#UBCmenu #proj{
 +
width:114px;
 +
height: 100px;
 
float:left;
 
float:left;
 
position: relative;
 
position: relative;
background-image:url('https://static.igem.org/mediawiki/2015/2/2c/UBC_button.png');
+
background-image:url('https://static.igem.org/mediawiki/2015/8/8f/UBC_buttonartefact.png');
 
background-repeat:no-repeat;
 
background-repeat:no-repeat;
 
background-position:center;
 
background-position:center;
Line 102: Line 280:
 
}
 
}
  
#model{
+
 
width:142px;
+
#UBCmenu #parts{
height: 125px;
+
width:114px;
 +
height: 100px;
 
float:left;
 
float:left;
 
position: relative;
 
position: relative;
background-image:url('https://static.igem.org/mediawiki/2015/2/2c/UBC_button.png');
+
background-image:url('https://static.igem.org/mediawiki/2015/8/8f/UBC_buttonartefact.png');
 
background-repeat:no-repeat;
 
background-repeat:no-repeat;
 
background-position:center;
 
background-position:center;
margin-left:-20px;
+
margin-left:-30px;
 
margin-top:-40px;
 
margin-top:-40px;
 
}
 
}
#hp{
+
#UBCmenu #model{
width:142px;
+
width:114px;
height: 125px;
+
height: 100px;
 
float:left;
 
float:left;
 
position: relative;
 
position: relative;
background-image:url('https://static.igem.org/mediawiki/2015/2/2c/UBC_button.png');
+
background-image:url('https://static.igem.org/mediawiki/2015/8/8f/UBC_buttonartefact.png');
 
background-repeat:no-repeat;
 
background-repeat:no-repeat;
 
background-position:center;
 
background-position:center;
 
margin-top: 30px;
 
margin-top: 30px;
margin-left:-20px;
+
margin-left:-30px;
 
}
 
}
#hp h4{
+
#UBCmenu #hp h4{
 
line-height:15px;
 
line-height:15px;
padding-top:45px;}
+
padding-top:33px;}
#team{
+
 
width:142px;
+
#UBCmenu #hp{
height: 125px;
+
width:114px;
 +
height: 100px;
 
float:left;
 
float:left;
 
position: relative;
 
position: relative;
background-image:url('https://static.igem.org/mediawiki/2015/2/2c/UBC_button.png');
+
background-image:url('https://static.igem.org/mediawiki/2015/8/8f/UBC_buttonartefact.png');
 
background-repeat:no-repeat;
 
background-repeat:no-repeat;
 
background-position:center;
 
background-position:center;
margin-left:-20px;
+
margin-left:-30px;
 
margin-top:-40px;
 
margin-top:-40px;
 
}
 
}
#note{
+
 
width:142px;
+
#UBCmenu #hp ul{
height: 125px;
+
margin-top:40px;
 +
}
 +
 
 +
#UBCmenu #team{
 +
width:114px;
 +
height: 100px;
 
float:left;
 
float:left;
 
position: relative;
 
position: relative;
background-image:url('https://static.igem.org/mediawiki/2015/2/2c/UBC_button.png');
+
background-image:url('https://static.igem.org/mediawiki/2015/8/8f/UBC_buttonartefact.png');
 
background-repeat:no-repeat;
 
background-repeat:no-repeat;
 
background-position:center;
 
background-position:center;
 
margin-top: 30px;
 
margin-top: 30px;
margin-left:-20px;
+
margin-left:-30px;
 
}
 
}
  
.t{
+
#UBCmenu #note{
 +
width:114px;
 +
height: 100px;
 +
float:left;
 +
position: relative;
 +
background-image:url('https://static.igem.org/mediawiki/2015/8/8f/UBC_buttonartefact.png');
 +
background-repeat:no-repeat;
 +
background-position:center;
 +
margin-left:-30px;
 +
margin-top:-40px;
 +
}
 +
 
 +
#UBCmenu #ach{
 +
width:114px;
 +
height: 100px;
 +
float:left;
 +
position: relative;
 +
background-image:url('https://static.igem.org/mediawiki/2015/8/8f/UBC_buttonartefact.png');
 +
background-repeat:no-repeat;
 +
background-position:center;
 +
margin-top: 30px;
 +
margin-left:-30px;
 +
}
 +
 
 +
.UBCt{
 
width:100%;
 
width:100%;
 
height: 100px;
 
height: 100px;
 
margin: 0 auto;
 
margin: 0 auto;
 
text-align:center;
 
text-align:center;
padding-top:100px;
+
padding-top:220px;
  
 
}
 
}
  
#t{
+
#UBCt{
 
width:1200px;
 
width:1200px;
 
margin:0 auto;
 
margin:0 auto;
Line 165: Line 374:
  
  
#title{
+
#UBCtitle{
 
width:1200px;
 
width:1200px;
 
height: 100px;
 
height: 100px;
Line 173: Line 382:
 
}
 
}
  
#title #one{
+
#UBCtitle #two{
 
width: 500px;  
 
width: 500px;  
 
float:left;
 
float:left;
Line 188: Line 397:
 
}
 
}
  
#title #two{
+
#UBCtitle #one{
 
width: 500px;
 
width: 500px;
 
float:left;
 
float:left;
Line 215: Line 424:
  
  
#title #three{
+
#UBCtitle #three{
 
margin:0 auto;
 
margin:0 auto;
 
width:200px;
 
width:200px;
Line 227: Line 436:
 
float:left;
 
float:left;
 
position: relative;
 
position: relative;
margin-top:-10px;
+
margin-top:-20px;
 
}
 
}
 
#body{
 
width:900px;
 
height:900px;
 
margin:0 auto;
 
background-color:white;
 
margin-top: 50px;
 
border-radius: 30px;
 
border:#e7b76d solid 3px;
 
}
 
 
</style>
 
 
 
  
  
<!--<style type="text/css">
+
#homepageimg{
 +
width: 1200px;
 +
height: 1200px;
 +
margin: 0 auto;
 +
background-image: url('https://static.igem.org/mediawiki/2015/8/8e/UBChoverme.png');
 +
background-repeat: no-repeat;
 +
background-position: center center;
 +
}
 +
  
#contentSub, #search-controls, .firstHeading, #footer-box, #catlinks, #p-logo {
+
#homepageimg:hover{
    display:none;}
+
background-repeat: no-repeat;
#top-section {
+
background-position: center center;
    border: none;
+
background-image: url('https://static.igem.org/mediawiki/2015/c/cb/Hovered.png');
    height: 0px;}
+
#content {
+
    border: none;
+
    Width: 100%;
+
 
}
 
}
 
+
body{
+
#UBCbody{
    margin: 0 0 0 0;
+
padding:20px;
    padding: 0;
+
width:1100px;
 +
background-color:white;
 +
border-radius:20px;
 +
margin:0 auto;
 +
text-align:left;
 
}
 
}
  
.back-to-top {
+
#UBCbody {
background: none;
+
text-indent:20px;
margin: 0;
+
position: fixed;
+
bottom: 0;
+
right: 0;
+
width: 70px;
+
height: 70px;
+
z-index: 100;
+
display: none;
+
text-decoration: none;
+
color: #ffffff;
+
background-color: #ff9000;
+
 
}
 
}
  
.back-to-top i {
+
#footer{
  font-size: 60px;
+
width:100%;
 +
min-width:1200px;
 +
height:50px;
 +
background-color:#748e83;
 +
margin-top:30px;
 
}
 
}
  
/* GLOBAL STYLES
+
#footer h6{
-------------------------------------------------- */
+
float:right;
/* Padding below the footer and lighter body text */
+
padding-right:50px;
 
+
body {
+
  padding-top: 48px;
+
  padding-bottom: 70px;
+
  color: #5a5a5a;
+
 
}
 
}
  
/* CUSTOMIZE THE NAVBAR
+
.CSSTableGenerator {
-------------------------------------------------- */
+
margin:0px;padding:0px;
 
+
width:100%;
/* Special class on .container surrounding .navbar, used for positioning it into place. */
+
box-shadow: 10px 10px 5px #888888;
.navbar {
+
border:1px solid #000000;
  margin-top: 16px;
+
 +
-moz-border-radius-bottomleft:0px;
 +
-webkit-border-bottom-left-radius:0px;
 +
border-bottom-left-radius:0px;
 +
 +
-moz-border-radius-bottomright:0px;
 +
-webkit-border-bottom-right-radius:0px;
 +
border-bottom-right-radius:0px;
 +
 +
-moz-border-radius-topright:0px;
 +
-webkit-border-top-right-radius:0px;
 +
border-top-right-radius:0px;
 +
 +
-moz-border-radius-topleft:0px;
 +
-webkit-border-top-left-radius:0px;
 +
border-top-left-radius:0px;
 +
}.CSSTableGenerator table{
 +
    border-collapse: collapse;
 +
        border-spacing: 0;
 +
width:100%;
 +
height:100%;
 +
margin:0px;padding:0px;
 +
}.CSSTableGenerator tr:last-child td:last-child {
 +
-moz-border-radius-bottomright:0px;
 +
-webkit-border-bottom-right-radius:0px;
 +
border-bottom-right-radius:0px;
 
}
 
}
 
+
.CSSTableGenerator table tr:first-child td:first-child {
/* CUSTOMIZE THE CAROUSEL
+
-moz-border-radius-topleft:0px;
-------------------------------------------------- */
+
-webkit-border-top-left-radius:0px;
 
+
border-top-left-radius:0px;
/* Carousel base class */
+
.carousel {
+
  height: 500px;
+
  margin-bottom: 60px;
+
  margin-top: -8px;
+
 
}
 
}
/* Since positioning the image, we need to help out the caption */
+
.CSSTableGenerator table tr:first-child td:last-child {
.carousel-caption {
+
-moz-border-radius-topright:0px;
  z-index: 10;
+
-webkit-border-top-right-radius:0px;
 +
border-top-right-radius:0px;
 +
}.CSSTableGenerator tr:last-child td:first-child{
 +
-moz-border-radius-bottomleft:0px;
 +
-webkit-border-bottom-left-radius:0px;
 +
border-bottom-left-radius:0px;
 +
}.CSSTableGenerator tr:hover td{
 +
 
}
 
}
 
+
.CSSTableGenerator tr:nth-child(odd){ background-color:#ffaa56; }
/* Declare heights because of positioning of img element */
+
.CSSTableGenerator tr:nth-child(even)    { background-color:#ffffff; }.CSSTableGenerator td{
.carousel .item {
+
vertical-align:middle;
  height: 500px;
+
  background-color: #FFFFFF;
+
 +
border:1px solid #000000;
 +
border-width:0px 1px 1px 0px;
 +
text-align:center;
 +
padding:7px;
 +
font-size:10px;
 +
font-family:Helvetica;
 +
font-weight:bold;
 +
color:#000000;
 +
}.CSSTableGenerator tr:last-child td{
 +
border-width:0px 1px 0px 0px;
 +
}.CSSTableGenerator tr td:last-child{
 +
border-width:0px 0px 1px 0px;
 +
}.CSSTableGenerator tr:last-child td:last-child{
 +
border-width:0px 0px 0px 0px;
 
}
 
}
.carousel-inner > .item > img {
+
.CSSTableGenerator tr:first-child td{
  min-width: auto%;
+
background:-o-linear-gradient(bottom, #ff7f00 5%, #bf5f00 100%); background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #ff7f00), color-stop(1, #bf5f00) );
  height: 500px;
+
background:-moz-linear-gradient( center top, #ff7f00 5%, #bf5f00 100% );
 +
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#ff7f00", endColorstr="#bf5f00"); background: -o-linear-gradient(top,#ff7f00,bf5f00);
  
 
+
background-color:#ff7f00;
/* control colour */
+
border:0px solid #000000;
.carousel-control {
+
text-align:center;
      color: #000000;
+
border-width:0px 0px 1px 1px;
 
+
font-size:18px;
 +
font-family:Helvetica;
 +
font-weight:bold;
 +
color:#ffffff;
 
}
 
}
 +
.CSSTableGenerator tr:first-child:hover td{
 +
background:-o-linear-gradient(bottom, #ff7f00 5%, #bf5f00 100%); background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #ff7f00), color-stop(1, #bf5f00) );
 +
background:-moz-linear-gradient( center top, #ff7f00 5%, #bf5f00 100% );
 +
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#ff7f00", endColorstr="#bf5f00"); background: -o-linear-gradient(top,#ff7f00,bf5f00);
  
/* MARKETING CONTENT
+
background-color:#ff7f00;
-------------------------------------------------- */
+
 
+
/* Center align the text within the three columns below the carousel */
+
.marketing .col-lg-4 {
+
  margin-bottom: 20px;
+
  text-align: center;
+
 
}
 
}
.marketing h2 {
+
.CSSTableGenerator tr:first-child td:first-child{
  font-weight: normal;
+
border-width:0px 0px 1px 0px;
 
}
 
}
.marketing .col-lg-4 p {
+
.CSSTableGenerator tr:first-child td:last-child{
  margin-right: 10px;
+
border-width:0px 0px 1px 1px;
  margin-left: 10px;
+
 
}
 
}
  
  
/* Featurettes
+
</style>
------------------------- */
+
 
+
.featurette-divider {
+
  margin: 80px 0; /* Space out the Bootstrap <hr> more */
+
}
+
 
+
/* Thin out the marketing headings */
+
.featurette-heading {
+
  font-weight: 300;
+
  line-height: 1;
+
  letter-spacing: -1px;
+
}
+
 
+
 
+
/* RESPONSIVE CSS
+
-------------------------------------------------- */
+
 
+
@media (min-width: 768px) {
+
  /* Navbar positioning foo */
+
  .navbar-wrapper {
+
    margin-top: 20px;
+
  }
+
  .navbar-wrapper .container {
+
    padding-right: 15px;
+
    padding-left: 15px;
+
  }
+
  .navbar-wrapper .navbar {
+
    padding-right: 0;
+
    padding-left: 0;
+
  }
+
 
+
  /* The navbar becomes detached from the top, so we round the corners */
+
  .navbar-wrapper .navbar {
+
    border-radius: 4px;
+
  }
+
 
+
  /* Bump up size of carousel content */
+
  .carousel-caption p {
+
    margin-bottom: 20px;
+
    font-size: 21px;
+
    line-height: 1.4;
+
  }
+
 
+
  .featurette-heading {
+
    font-size: 50px;
+
  }
+
}
+
 
+
@media (min-width: 992px) {
+
  .featurette-heading {
+
    margin-top: 120px;
+
  }
+
 
+
/* Back to top */
+
 
+
</style>-->
+
  
  

Latest revision as of 23:10, 17 October 2015