Template:Team:DukeHomePage/CSS

From 2014.igem.org

(Difference between revisions)
 
(49 intermediate revisions not shown)
Line 84: Line 84:
font-color:#fff;
font-color:#fff;
font-size: 1em;
font-size: 1em;
-
font-family: Futura;
+
font-family: Futura, Helvetica;
}
}
 +
 +
#bodyContent a {
 +
text-decoration:none;
 +
color:#fff;
 +
}
 +
/*This formats the stuff at the bottom. */
/*This formats the stuff at the bottom. */
Line 99: Line 105:
text-align:center;
text-align:center;
float:center;
float:center;
 +
padding-bottom:0px;
}
}
Line 111: Line 118:
     text-align:center;
     text-align:center;
     text-decoration:none;
     text-decoration:none;
-
     opacity: 0.8;
+
     opacity: 1;
     background: #0736A4;
     background: #0736A4;
     font-size:16px;
     font-size:16px;
Line 121: Line 128:
/*margins must be half of the change in size*/     
/*margins must be half of the change in size*/     
     margin: 5px 5px;
     margin: 5px 5px;
 +
    line-height:200%;
 +
}
 +
 +
.sq-button span {
 +
    display: table-cell;
 +
    text-align: center;
 +
    vertical-align: middle;
}
}
.sq-button:hover {
.sq-button:hover {
-
     background-color: #0736A4;
+
     background-color: #0000ff;
     opacity: 1;
     opacity: 1;
     width: 110px;
     width: 110px;
Line 149: Line 163:
text-align:center;
text-align:center;
}
}
 +
 +
img.mainpic {
 +
display:block;
 +
text-align:center;
 +
float:center;
 +
padding-bottom: 10px;
 +
}
 +
</style>
</style>
Line 156: Line 178:
</head>
</head>
-
 
<body>
<body>
-
<div class="logo">
 
-
<a href="https://2014.igem.org/Main_Page"><img src="https://static.igem.org/mediawiki/2014/1/1a/Mattigemlogowhite.png " align="right" alt="Duke iGEM" height="100px" width="100px" /></a>
 
-
<!--black logo can be found here: https://static.igem.org/mediawiki/2014/c/ce/Mattigemlogo.png -->
 
-
<!--white logo can be found here: https://static.igem.org/mediawiki/2014/1/1a/Mattigemlogowhite.png -->
 
-
</div>
 
-
 
<div class="main">
<div class="main">
<p class="big">
<p class="big">
-
Demonstrating cooperative repression
+
Demonstrating Ultrasensitivity
</p>
</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>
-
<!--tr must be the maximum height of the element. td must be the maximum width of the element. -->
+
<!--https://2014.igem.org/File:Mattigemlogowhite.png or https://static.igem.org/mediawiki/2014/1/1a/Mattigemlogowhite.png -->
-
<table id="bodyContent" align="center">
+
-
<tr height="110px">
+
-
<td width="110px"><a class="sq-button"> Who we are</a></td>
+
-
<td width="110px"><a class="sq-button"></a></td>
+
-
<td width="110px"><a class="sq-button"></a></td>
+
-
<td width="110px"><a class="sq-button"></a></td>
+
-
</tr>
+
-
</table>
+
-
 
+
</div>
</div>
-
 
</body>
</body>
</html>
</html>

Latest revision as of 14:23, 28 August 2014

Demonstrating Ultrasensitivity