Template:Team:DukeHomePage/CSS

From 2014.igem.org

(Difference between revisions)
 
(333 intermediate revisions not shown)
Line 2: Line 2:
<head>
<head>
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-
<style type="text/css">
+
<html xmlns="http://www.w3.org/1999/xhtml">
-
/* These styles just pretty up the page a bit. */
+
 
 +
<head>
 +
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
 +
<style media="screen" type="text/css">
 +
 
 +
/*hide default igem banner and reformat style into blank slate - modified from UVA 2013*/
 +
 
 +
#globalWrapper {
 +
width: 100%;
 +
}
#top-section {
#top-section {
-
height: 0px;
+
width: 100%;
-
border-top: 1
+
height:0px;
-
border-left: none;
+
border:none;
-
border-right: none;
+
}
}
-
#siteSub {
+
#p-logo {
display:none;
display:none;
 +
visibility:hidden;
}
}
Line 21: Line 30:
}
}
-
.firstHeading {
+
#menubar a {
-
display:none;
+
color:#000000;
}
}
-
#search-controls {
+
#menubar a:hover{
-
margin-top:0px;
+
text-decoration:none;
 +
color:#fff;
 +
}
 +
 
 +
 
 +
.left-menu ul {
 +
background-color:#000000;
 +
margin:0;
 +
padding:0;
 +
}
 +
 
 +
.right-menu ul li a {
 +
background-color:#000;
 +
}
 +
 
 +
.printfooter {
 +
display:none;
}
}
Line 33: Line 58:
}
}
-
body
+
#catlinks {
-
{
+
display:none;
-
background-color: #000000;
+
}
}
 +
.firstHeading {
 +
display:none;
 +
}
 +
 +
#content {
 +
width: 100%;
 +
border:none;
 +
background-color:#000;
 +
}
 +
</style>
 +
 +
 +
<!--BEGIN HERE: This comment marks where actual coding on the main part of the page begins.-->
 +
 +
<style media="screen" type="text/css">
 +
 +
/*This "bodyContent" style rule controls what the formatting of the page looks like, not body, for some reason. MediaWiki logic, amirite?*/
 +
#bodyContent {
 +
border:none;
 +
background-color:#000;
 +
font-color:#fff;
 +
font-size: 1em;
 +
font-family: Futura, Helvetica;
 +
}
 +
 +
#bodyContent a {
 +
text-decoration:none;
 +
color:#fff;
 +
}
 +
 +
 +
/*This formats the stuff at the bottom. */
body {
body {
-
  font: 65%/1.2 Tahoma, Helvetica, sans-serif;
+
background-color:#000;
-
  background-color: #000000; }
+
}
-
#wrap {
+
-
  font-size: 1.1em;
+
-
  width: 180px;
+
-
  padding: 0px;
+
-
  margin-left: 15px;
+
-
  background-color: #000000;
+
-
  position: relative;
+
-
  height: 100%;
+
-
margin-right: 20px;
+
/* Title font */
-
margin-bottom: 20px;
+
.big {
-
margin-top: 10px;
+
font-size: 4em;
-
float: left;
+
color:#fff;
 +
text-transform:uppercase;
 +
text-align:center;
 +
float:center;
 +
padding-bottom:0px;
 +
}
 +
/* Makes the square buttons */     
 +
.sq-button {
 +
    display:block;
 +
    width:100px;
 +
    height:100px;
 +
    border:none;
 +
    line-height:50px;
 +
    color:#f5f5f5;
 +
    text-align:center;
 +
    text-decoration:none;
 +
    opacity: 1;
 +
    background: #0736A4;
 +
    font-size:16px;
 +
    font-weight:bold;
 +
    overflow:hidden;
 +
    -webkit-transition: all 0.5s ease;
 +
    -moz-transition: all 0.5s ease;
 +
    -o-transition: all 0.5s ease;
 +
/*margins must be half of the change in size*/   
 +
    margin: 5px 5px;
 +
    line-height:200%;
 +
}
 +
.sq-button span {
 +
    display: table-cell;
 +
    text-align: center;
 +
    vertical-align: middle;
}
}
-
.right_box{
+
.sq-button:hover {
-
width: 730px;
+
    background-color: #0000ff;
-
margin-left: 210px;
+
    opacity: 1;
-
margin-top: 20px;
+
    width: 110px;
-
+
    height: 110px;
 +
/*margins must be negative half of the change in size*/
 +
    margin: -5px -5px;
 +
/* Glow effect */
 +
  -webkit-box-shadow: 0px 0px 20px rgba(7, 54, 164, 0);  
 +
  -moz-box-shadow: 0px 0px 20px rgba(7, 54, 164, 0;
 +
  box-shadow: 0px 0px 20px rgba(7, 54, 164, 0);
 +
}
 +
/* So the logo is out of the way */
 +
.logo {
 +
z-index:200;
 +
padding:20px;
 +
margin: 0px 100px 0px 0px;
 +
}
 +
 +
.main {
 +
position:relative;
 +
z-index:100;
 +
padding:20px;
 +
text-align:center;
 +
}
 +
 +
img.mainpic {
 +
display:block;
 +
text-align:center;
 +
float:center;
 +
padding-bottom: 10px;
}
}
</style>
</style>
-
</head>
 
-
<body>
 
-
<!-- Black color scheme inspired by UVA's 2013 iGEM wiki -->
 
-
<div>  <!--Wiki coming soon + igem logo-->
 
-
                <img src="https://static.igem.org/mediawiki/2014/0/02/Wikicomingsoonbanner.png" alt="1" />
 
-
              <a href="2014.igem.org"><img src="https://static.igem.org/mediawiki/2014/c/ce/Mattigemlogo.png" height="300" width="300" alt="1" /></a>
 
-
</div>
 
-
 
 
-
<div> <!--I made these buttons and not a part of the image so that they and their links can be changed if (when) this doesn't work. Buttons can be added, edited at will. -->
 
-
<a href="https://2014.igem.org/Team:Duke/Team"><button>Who we are</button></a>
 
-
<a href="https://2014.igem.org/Team:Duke/Project"><button>What we did</button></a>
 
-
<a href="https://2014.igem.org/Team:Duke/Notebook"><button>How we did it</button></a>
 
-
<a href="https://2013.igem.org/Team:Duke/Human/"><button>Why it matters</button></a>
 
-
</div>
 
 +
 +
</head>
 +
<body>
 +
<div class="main">
 +
<p class="big">
 +
Demonstrating Ultrasensitivity
 +
</p>
 +
<center><a href="https://2014.igem.org"><img class="mainpic" src="https://static.igem.org/mediawiki/2014/1/1a/Mattigemlogowhite.png" width="400px" height="400px" /></a></center>
 +
<!--https://2014.igem.org/File:Mattigemlogowhite.png or https://static.igem.org/mediawiki/2014/1/1a/Mattigemlogowhite.png -->
 +
</div>
</body>
</body>
</html>
</html>

Latest revision as of 14:23, 28 August 2014

Demonstrating Ultrasensitivity