Template:Team:DukeHomePage/CSS

From 2014.igem.org

(Difference between revisions)
 
(128 intermediate revisions not shown)
Line 82: Line 82:
border:none;
border:none;
background-color:#000;
background-color:#000;
-
color:#fff;
+
font-color:#fff;
font-size: 1em;
font-size: 1em;
 +
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. */
body {
body {
background-color:#000;
background-color:#000;
-
}
 
-
 
-
/* Transparent box */
 
-
.cthru  {
 
-
opacity:0.6;
 
-
background-color: #fff;
 
-
margin: 0px 50px;
 
}
}
/* Title font */
/* Title font */
.big {
.big {
-
font-size: 6em;
+
font-size: 4em;
color:#fff;
color:#fff;
text-transform:uppercase;
text-transform:uppercase;
text-align:center;
text-align:center;
float:center;
float:center;
 +
padding-bottom:0px;
}
}
-
/* Makes the round buttons */       
+
/* Makes the square buttons */       
-
.round-button {
+
.sq-button {
     display:block;
     display:block;
     width:100px;
     width:100px;
     height:100px;
     height:100px;
 +
    border:none;
     line-height:50px;
     line-height:50px;
-
    border: 2px solid #fd00b3;
 
-
    border-radius: 50%;
 
     color:#f5f5f5;
     color:#f5f5f5;
     text-align:center;
     text-align:center;
     text-decoration:none;
     text-decoration:none;
-
     opacity: 0.6;
+
     opacity: 1;
-
     background: #fd00b3;
+
     background: #0736A4;
-
    box-shadow: 0 0 3px gray;
+
     font-size:16px;
-
     font-size:20px;
+
     font-weight:bold;
     font-weight:bold;
     overflow:hidden;
     overflow:hidden;
-
     -webkit-transition: all 1s ease;
+
     -webkit-transition: all 0.5s ease;
-
     -moz-transition: all 1s ease;
+
     -moz-transition: all 0.5s ease;
-
     -o-transition: all 1s ease;
+
     -o-transition: all 0.5s ease;
-
     margin: 0px 5px;
+
/*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;
}
}
-
.round-button:hover {
+
.sq-button:hover {
-
     background: #000;
+
     background-color: #0000ff;
     opacity: 1;
     opacity: 1;
     width: 110px;
     width: 110px;
     height: 110px;
     height: 110px;
-
     margin-left: -5px;
+
/*margins must be negative half of the change in size*/
-
}
+
     margin: -5px -5px;
-
 
+
/* Glow effect */
-
/*Example 2 #container { width: 300px; margin: 0 auto; } #ex2 img{ height: 100px; width: 300px; margin: 15px 0; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; -o-transition: all 1s ease; } #ex2 img:hover { height: 133px; width: 400px; margin-left: -50px; } */
+
  -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);
-
/* Button menu is black and aligned with big text */
+
-
table {
+
-
background-color:#000;
+
-
width:50%;
+
}
}
Line 160: Line 163:
text-align:center;
text-align:center;
}
}
 +
 +
img.mainpic {
 +
display:block;
 +
text-align:center;
 +
float:center;
 +
padding-bottom: 10px;
 +
}
 +
</style>
</style>
Line 167: 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">
-
<table align="center">
 
-
<tr>
 
-
<td>
 
<p class="big">
<p class="big">
-
Demonstrating cooperative repression
+
Demonstrating Ultrasensitivity
</p>
</p>
-
</td>
+
<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>
+
<!--https://2014.igem.org/File:Mattigemlogowhite.png or https://static.igem.org/mediawiki/2014/1/1a/Mattigemlogowhite.png -->
-
</table>
+
-
 
+
-
<table align="center" class="main">
+
-
<tr>
+
-
<td width="100px"><a class="round-button"> </a></td>
+
-
<td width="100px"><a class="round-button"> </a></td>
+
-
<td width="100px"><a class="round-button"> </a></td>
+
-
<td width="100px"><a class="round-button"> </a></td>
+
-
</tr>
+
-
</table>
+
</div>
</div>
-
 
</body>
</body>
</html>
</html>

Latest revision as of 14:23, 28 August 2014

Demonstrating Ultrasensitivity