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

 
(204 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
<html>
 
<html>
 
<head>
 
<head>
 +
    <meta charset="utf-8">
 +
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
 +
    <meta name="viewport" content="width=device-width, initial-scale=1">
 +
    <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
 +
   
 +
    <!-- HTML5 shim and Respond.js for 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]-->
 +
  
 
<!-- NOTE TO THE USER: This is where all the CSS information is stored -->
 
<!-- NOTE TO THE USER: This is where all the CSS information is stored -->
 
 
<!-- ========================== Google Fonts ========================== -->
 
<link href='http://fonts.googleapis.com/css?family=Merriweather' rel='stylesheet' type='text/css'>
 
<link href='http://fonts.googleapis.com/css?family=PT+Sans:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
 
 
  
 
<!-- ========================= MathJax (LaTeX for the web) ================== -->
 
<!-- ========================= MathJax (LaTeX for the web) ================== -->
 
<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
 
<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
 
 
  
 
<!-- ============== ie9.js (fixes all Internet Explorer browsers older than ie9) =========== -->
 
<!-- ============== ie9.js (fixes all Internet Explorer browsers older than ie9) =========== -->
Line 20: Line 24:
 
<![endif]-->
 
<![endif]-->
  
 +
<!-- ========================= Bootstrap core CSS ======================== -->
 +
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css" rel="stylesheet">
  
  
<!-- ========================= Bootstrap core CSS ======================== -->
+
<!-- ================ CUSTOM CSS (Making Media wiki look less shitty) ===================================== -->
<link href="https://2014.igem.org/Team:British_Columbia/bootstrap.css?action=raw&ctype=text/css" rel="stylesheet">
+
  
<!-- ====================== Bootstrap custom styles for this template ==================== -->
+
<style type="text/css">
<link href="https://2014.igem.org/Team:British_Columbia/offcanvas.css?action=raw&ctype=text/css" rel="stylesheet">
+
  
<title>2014 UBC iGEM</title>
+
html, body {
 +
  margin: 0;
 +
  padding: 0;
 +
  font-family: "Helvetica", sans-serif;
 +
font-weight: lighter;
 +
}
  
<!-- ================ CUSTOM CSS ===================================== -->
+
h1 {
 +
  text-align: center;
 +
}
  
<style type="text/css">
 
  
 +
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{
 +
    margin: 0 0 0 0;
 +
    padding: 0;
 +
}
  
 +
.bod{
  
#center_welcome{
+
width:100%;
    top: 50%;
+
height:100%;
 +
margin-bottom:80px;
 
}
 
}
  
#top-section {
+
body#ubc{
    width: 100%;
+
width:100%;
    margin-left: 0px;
+
/*min-width:1200px;*/
    left: 0px;
+
height:100%;
 +
margin: 0 auto;
 +
text-align: center;
 
}
 
}
 +
/*
 +
#text{
 +
width:1500px;
 +
margin:0 auto;
 +
height:100%;
 +
text-align:center;
 +
}*/
  
.firstHeading {
+
.UBCbod{
      display:none;
+
margin: 0 auto;
 +
height:100%;
 +
width:1200px;
 
}
 
}
  
.panel-default {
+
#corners{
      border-color: transparent;    
+
width:100%;
 +
min-width:1200px;
 +
margin: 0 auto;
 +
height:285px;
 +
z-index:0;
 +
position:absolute;
 +
margin-top:-50px;
 
}
 
}
  
#ubc_igem_logo {
+
#cornerleft{
      height: 100%;
+
background: url('https://static.igem.org/mediawiki/2015/a/ad/Corner_actual_left_goods.png') no-repeat;
      width: 100%;
+
float:Left;
 +
width:400px;
 +
height:285px;
 +
z-index:-1;
 
}
 
}
  
p {
+
#cornerright{
      font-family: 'PT Sans', sans-serif;
+
background: url('https://static.igem.org/mediawiki/2015/4/44/Corner_left_good2.png') no-repeat;
      font-size: 110%;
+
float:right;
 +
width:400px;
 +
height:285px;
 +
z-index:-1;
 
}
 
}
  
body{
+
.UBCheader{
    margin: 0 0 0 0;
+
z-index:100;
    padding: 0;
+
width:100%;
 +
min-width:1200px;
 +
height: 70px;
 +
background-color:#bbd0bf;
 +
border:#738d83 10px solid;
 +
border-right: none;
 +
border-left:none;
 +
position:absolute;
 +
margin-top:50px;
 
}
 
}
  
header {
+
#UBCheader{
background-image: url('https://static.igem.org/mediawiki/2014/b/b9/Banner-01.png');
+
width: 1200px;
background-repeat: no-repeat;
+
height: 100px;
background-position: 50% 50%;
+
float:left;
background-size: 2200px;
+
margin:0 auto;
height: 200px;
+
z-index:100;
 
}
 
}
  
 +
#UBClogo{
 +
width: 377px;
 +
height:150px;
 +
float:left;
 +
position: relative;
 +
background-image:url('https://static.igem.org/mediawiki/2015/c/c1/UBC_logo.png');
 +
margin-left:50px;
 +
margin-top:-45px;
 +
}
  
 +
#UBCmenu{
 +
width: 700px;
 +
height: 125px;
 +
float:left;
 +
position: relative;
 +
margin-left:50px;
 +
margin-top:-15px;
 +
display:block;
 +
font-family: "Times New Roman", serif;
 +
}
  
svg {
+
#UBCmenu a h4:hover{
    height: 200px;
+
color:#804315;
 
}
 
}
  
img#sponsor_platinum{
+
#UBCmenu ul li a:hover{
    width: 500px;
+
color:#804315;
    height: auto;
+
 
}
 
}
  
img#sponsor_gold{
+
#UBCmenu h4{
    width: 400px;
+
text-align: center;
    height: auto;
+
padding-top:40px;
 +
padding-left:5px;
 +
margin:0;
 +
color:white;
 +
font-size:18px;
 +
font-weight:100;
 +
position:relative;
 +
display:block;
 
}
 
}
  
img#sponsor_silver{
+
#UBCmenu ul{
    width: 250px;
+
list-style:none;
    height: auto;
+
color:white;
 +
position:relative;
 +
display:none;
 
}
 
}
  
center-block {
+
#UBCmenu a{
  display: block;
+
color:white;
  margin-left: auto;
+
font-size:12px;
  margin-right: auto;
+
 
}
 
}
  
#welcome {
+
#UBCmenu #proj:hover ul{
display: inline-block;
+
display:block;
vertical-align: middle;
+
position:absolute;
float: none;
+
 
}
 
}
  
.vertical-align {
+
#UBCmenu #parts:hover ul{
  display: flex;
+
display:block;
  align-items: center;    
+
position:absolute;
 
}
 
}
  
 +
#UBCmenu #model:hover ul{
 +
display:block;
 +
position:absolute;
 +
}
  
.scrollup {
+
#UBCmenu #hp:hover ul{
    width: 40px;
+
display:block;
    height: 40px;
+
position:absolute;
    position: fixed;
+
    bottom: 50px;
+
    right: 50px;
+
    float: right;
+
 
}
 
}
  
.scrollup:hover{
+
#UBCmenu #ach:hover ul{
opacity: 0.4;
+
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;
 +
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;
 +
}
 +
 +
 +
#UBCmenu #parts{
 +
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 #model{
 +
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;
 +
}
 +
#UBCmenu #hp h4{
 +
line-height:15px;
 +
padding-top:33px;}
 +
 +
#UBCmenu #hp{
 +
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 #hp ul{
 +
margin-top:40px;
 +
}
 +
 +
#UBCmenu #team{
 +
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;
 +
}
 +
 +
#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%;
 +
height: 100px;
 +
margin: 0 auto;
 +
text-align:center;
 +
padding-top:220px;
 +
 +
}
 +
 +
#UBCt{
 +
width:1200px;
 +
margin:0 auto;
 +
}
 +
 +
 +
#UBCtitle{
 +
width:1200px;
 +
height: 100px;
 +
float:left;
 +
margin: 0 auto;
 +
text-align:center;
 +
}
 +
 +
#UBCtitle #two{
 +
width: 500px;
 +
float:left;
 +
position: relative;
 +
height:50px;
 +
background-color: #f3dfba; /* Old browsers */
 +
background: -moz-linear-gradient(left,  #f3dfba 0%, #e1d1b4 100%); /* FF3.6+ */
 +
background: -webkit-gradient(linear, left top, right top, color-stop(0%,#f3dfba), color-stop(100%,#e1d1b4)); /* Chrome,Safari4+ */
 +
background: -webkit-linear-gradient(left,  #f3dfba 0%,#e1d1b4 100%); /* Chrome10+,Safari5.1+ */
 +
background: -o-linear-gradient(left,  #f3dfba 0%,#e1d1b4 100%); /* Opera 11.10+ */
 +
background: -ms-linear-gradient(left,  #f3dfba 0%,#e1d1b4 100%); /* IE10+ */
 +
background: linear-gradient(to right,  #f3dfba 0%,#e1d1b4 100%); /* W3C */
 +
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f3dfba', endColorstr='#e1d1b4',GradientType=1 ); /* IE6-9 */
 +
}
 +
 +
#UBCtitle #one{
 +
width: 500px;
 +
float:left;
 +
position: relative;
 +
height: 50px;
 +
/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#e1d1b4+1,f3dfba+100 */
 +
 +
background: #e1d1b4; /* Old browsers */
 +
 +
background: -moz-linear-gradient(left,  #e1d1b4 1%, #f3dfba 100%); /* FF3.6+ */
 +
 +
background: -webkit-gradient(linear, left top, right top, color-stop(1%,#e1d1b4), color-stop(100%,#f3dfba)); /* Chrome,Safari4+ */
 +
 +
background: -webkit-linear-gradient(left,  #e1d1b4 1%,#f3dfba 100%); /* Chrome10+,Safari5.1+ */
 +
 +
background: -o-linear-gradient(left,  #e1d1b4 1%,#f3dfba 100%); /* Opera 11.10+ */
 +
 +
background: -ms-linear-gradient(left,  #e1d1b4 1%,#f3dfba 100%); /* IE10+ */
 +
 +
background: linear-gradient(to right,  #e1d1b4 1%,#f3dfba 100%); /* W3C */
 +
 +
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e1d1b4', endColorstr='#f3dfba',GradientType=1 ); /* IE6-9 */
 +
 +
 +
}
 +
 +
 +
#UBCtitle #three{
 +
margin:0 auto;
 +
width:200px;
 +
height:50px;
 +
text-decoration:none;
 +
font-style: normal;
 +
text-align: center;
 +
font-size:20px;
 +
color:white;
 +
text-shadow: -2px 0 #5e2d20, 0 2px #5e2d20, 2px 0 #5e2d20, 0 -2px #5e2d20;
 +
float:left;
 +
position: relative;
 +
margin-top:-20px;
 +
}
 +
 +
 +
#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;
 +
}
 +
 +
 +
#homepageimg:hover{
 +
background-repeat: no-repeat;
 +
background-position: center center;
 +
background-image: url('https://static.igem.org/mediawiki/2015/c/cb/Hovered.png');
 +
}
 +
 +
#UBCbody{
 +
padding:20px;
 +
width:1100px;
 +
background-color:white;
 +
border-radius:20px;
 +
margin:0 auto;
 +
text-align:left;
 +
}
 +
 +
#UBCbody {
 +
text-indent:20px;
 +
}
 +
 +
#footer{
 +
width:100%;
 +
min-width:1200px;
 +
height:50px;
 +
background-color:#748e83;
 +
margin-top:30px;
 +
}
 +
 +
#footer h6{
 +
float:right;
 +
padding-right:50px;
 +
}
 +
 +
.CSSTableGenerator {
 +
margin:0px;padding:0px;
 +
width:100%;
 +
box-shadow: 10px 10px 5px #888888;
 +
border:1px solid #000000;
 +
 +
-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 {
 +
-moz-border-radius-topleft:0px;
 +
-webkit-border-top-left-radius:0px;
 +
border-top-left-radius:0px;
 +
}
 +
.CSSTableGenerator table tr:first-child td:last-child {
 +
-moz-border-radius-topright:0px;
 +
-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; }
 +
.CSSTableGenerator tr:nth-child(even)    { background-color:#ffffff; }.CSSTableGenerator td{
 +
vertical-align:middle;
 +
 +
 +
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;
 +
}
 +
.CSSTableGenerator tr:first-child 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);
 +
 +
background-color:#ff7f00;
 +
border:0px solid #000000;
 +
text-align:center;
 +
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);
 +
 +
background-color:#ff7f00;
 +
}
 +
.CSSTableGenerator tr:first-child td:first-child{
 +
border-width:0px 0px 1px 0px;
 +
}
 +
.CSSTableGenerator tr:first-child td:last-child{
 +
border-width:0px 0px 1px 1px;
 +
}
 +
  
 
</style>
 
</style>
 +
  
 
<!-- ========================= Bootstrap core JavaScript ===================== -->
 
<!-- ========================= Bootstrap core JavaScript ===================== -->
 
<!-- Placed at the end of the document so the pages load faster -->
 
<!-- Placed at the end of the document so the pages load faster -->
 
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js?action=raw"></script>
 
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js?action=raw"></script>
<script src="https://2014.igem.org/Team:British_Columbia/bootstrap.js?action=raw"></script>
+
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
 
+
 
+
 
+
</head>
+
</html>
+

Latest revision as of 23:10, 17 October 2015