Template:Team:Duke/CSS

From 2014.igem.org

(Difference between revisions)
 
(67 intermediate revisions not shown)
Line 1: Line 1:
-
<html>
+
<html xmlns="http://www.w3.org/1999/xhtml">
 +
 
 +
<!--THIS STYLE SHEET REPLACES THE HOME TEMPLATE: https://2014.igem.org/Template:Team:DukeHomePage/CSS -->
 +
 
<head>
<head>
-
<style type="text/css">
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
 +
<style media="screen" type="text/css">
-
#contentSub, #footer-box, #catlinks, #search-controls, #p-logo, .printfooter, .visualClear {display: none;} /*-- hides default wiki settings --*/
+
/*hide default igem banner and reformat style into blank slate - modified from UVA 2013*/
-
.firstHeading {
+
#globalWrapper {
-
width: 975px;
+
width: 100%;
-
margin: 0px auto;
+
-
padding-top: 100px;
+
-
margin-bottom: 20px;
+
-
font-family: Georgia, Times, "Times New Roman", serif;  
+
}
}
-
h1, h2, h3, h4, h5 { font-family: Georgia, Times, "Times New Roman", serif;}
+
#top-section {
 +
width: 100%;
 +
height:0px;
 +
border:none;
 +
}
-
#top-section { /*-- styling for default menu bar (edit, page, history, etc.) --*/
+
#p-logo {
-
background-color: #ff6666;
+
display:none;
-
border: 0 none;
+
visibility:hidden;
-
height: 14px;
+
-
z-index: 100;
+
-
top: 0;
+
-
position: fixed;
+
-
width: 975px;
+
-
left: 50%;
+
-
margin-left: -487px;
+
}
}
-
#top-section-bar { /*-- styling full width bar which hides behind default menu bar (edit, page, history, etc.) --*/
+
#search-controls {
-
background-color: #cc99ff;
+
display:none;
-
height: 14px;
+
-
display: block;
+
-
z-index: 10;
+
-
position: fixed;
+
-
width: 100%;
+
-
top: 0;
+
}
}
-
#menubar a:link, #menubar a:active, #menubar a:visited, #menubar a:hover, #menubar:hover { /*-- styling for default menu bar links (edit, page, history, etc.) --*/
+
#menubar a {
-
color: #727272;
+
color:#000000;
-
text-decoration: none;
+
-
background-color: transparent;
+
}
}
-
body {  
+
#menubar a:hover{
-
background-color: #009999;
+
text-decoration:none;
 +
color:#fff;
}
}
-
#globalWrapper, #content { /*-- changes default wiki settings --*/
+
 
-
width: 100%;
+
.left-menu ul {
-
height: 100%;
+
background-color:#000000;
-
border: 0px;
+
margin:0;
-
background-color: transparent;
+
padding:0;
-
margin: 0px;
+
-
padding: 0px;
+
}
}
-
html, body, .wrapper { /*-- changes default wiki settings --*/
+
.right-menu ul li a {
-
width: 100%;
+
background-color:#000;
-
height: 100%;
+
-
background-color: transparent;
+
}
}
-
#contentcontainer { /*-- creates container for all content on page --*/
+
.printfooter {
-
font-family: Arial, Helvetica, sans-serif;
+
display:none;
-
font-weight: normal;
+
-
font-size: 14px;
+
-
color: #414141;
+
-
width: 960px;
+
-
margin-left: auto;
+
-
margin-right: auto;
+
-
background-color: #transparent;
+
-
margin-top: 0px;  
+
}
}
-
.sidemenu, .sidemenu li {  
+
#footer-box {
-
list-style-type: none;
+
display:none;
-
list-style-image: none;
+
-
font-family: verdana;
+
-
text-decoration: none;
+
-
color:#000;
+
-
font-size: 14px;
+
}
}
-
.sidemenu li {display: block;}
+
#catlinks {
 +
display:none;
 +
}
-
.sidemenu a {
+
.firstHeading {
-
text-decoration:none;
+
display:none;
-
color: #000000;
+
-
display: block;
+
-
width: 180px;
+
-
height: 100%;
+
-
padding: 3px 5px;
+
-
transition: .25s ease-in-out;
+
-
-moz-transition: .25s ease-in-out;
+
-
-webkit-transition: .25s ease-in-out;
+
-
}
+
-
 
+
-
.sidemenu a.greyout { color: #909090; }
+
-
 
+
-
.sidemenu a:hover {
+
-
color:#666666;
+
-
background-color: #d9f5aa;
+
}
}
-
.sub-sidemenu {font-size: 10px; margin-bottom: 20px; color: #666666; display: none;}
+
#content {
-
.sub-sidemenu a {color: #666666;}
+
width: 100%;  
-
 
+
border:none;
-
div.underconst
+
background-color:#000;
-
{
+
-
padding:10px;
+
-
border-radius:5px;
+
-
background-color:pink;
+
-
text-align:center;
+
}
}
 +
</style>
-
a.anchor{display: block; position: relative; top: -80px; visibility: hidden;}
 
-
.contentpara {margin-bottom: 30px;}
+
<!--BEGIN HERE: This comment marks where actual coding on the main part of the page begins.-->
-
span.email{font-family: monospace; font-weight: normal;}
+
<style media="screen" type="text/css">
-
fieldset {border: 1px solid #337f53;}
+
/*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;
 +
}
-
.greyout {color: #A0A0A0;}
+
#bodyContent ul li {
-
.highlightme {background-color: #FFFF00;}
+
list-style-type:none;
-
 
+
}
-
#alertContainer {border: 2px solid red; margin-bottom: 10px; width: 936px;}
+
-
#annContainer {margin-left: 8px;}
+
-
#newsContainer {border: 1px solid #ccc;}
+
-
.newsTitle {
+
#bodyContent a:hover {
-
display: block;
+
text-decoration:none;
-
color: #414141;
+
-
font-size: 25px; 
+
-
        font-family: Georgia, Times, "Times New Roman", serif;
+
-
padding: 10px 15px 5px 10px;
+
-
border-bottom: 1px solid #ccc;
+
-
margin-bottom: 0px;  
+
}
}
-
.newsItem {
+
 
-
border-bottom: 1px solid #ccc;  
+
#bodyContent table {
-
display: block;
+
background-color:#000;
-
padding: 5px 15px 0px 10px;
+
color:#fff;
-
margin-bottom: 0px;  
+
}
}
-
.newsItem h3 {
+
#bodyContent a {
-
width: auto;
+
color:#fff;
-
display: inline;
+
-
font-size: 14px;
+
-
font-family: Arial, Helvetica, sans-serif;
+
-
padding: 0px;
+
-
margin: 0px;
+
}
}
-
.newsItem img {
+
/*This formats the stuff at the bottom. */
-
float: right;
+
body {
-
clear: right;
+
background-color:#000;
-
width: 80px;
+
-
padding-left: 15px;
+
-
display: inline-block;  
+
}
}
-
.newsItem .newsDate {
+
 
-
font-style: italic;  
+
/* Title font */
-
font-size: 14px;  
+
.big {
-
display: inline-block;  
+
font-size: 4em;
-
color: #999999;  
+
color:#fff;
-
float: right;
+
text-transform:uppercase;
-
padding: 0px 0px 10px 15px;
+
text-align:center;
 +
float:center;
}
}
-
.newsItem p, .newsItem ul, .newsItem li {
+
/* Makes the square buttons */     
-
padding: 0px;  
+
.sq-button {
-
margin-left: 20px;  
+
    display:block;
-
font-size: 12px;  
+
    width:100px;
-
line-height: 1.2;
+
    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%;
}
}
-
.newsItem p {margin-top: 10px;}
 
-
.annItem {
+
.sq-button:hover {
-
border: 2px solid #49b677;  
+
    background-color: #0000ff;
-
display: block;  
+
    opacity: 1;
-
padding: 0px 15px 10px 10px;  
+
    width: 110px;
-
margin-bottom: 18px;  
+
    height: 110px;
-
position: relative;  
+
/*margins must be negative half of the change in size*/
-
height: 160px;  
+
    margin: -5px -5px;
-
vertical-align: middle;
+
/* 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);
}
}
-
.annItem .annCentered {
+
/* So the logo is out of the way */
-
display: table-cell;  
+
.logo {
-
vertical-align: middle;  
+
z-index:200;
-
height: 160px;
+
padding:20px;
 +
margin: 0px 100px 0px 0px;
}
}
-
.annCentered h3 {
+
.main {
-
padding: 0px;
+
position:relative;
-
display: block;
+
z-index:100;
-
margin-left: auto;  
+
padding:20px;
-
margin-right: auto;  
+
text-align:center;
-
text-align: center;
+
}
}
 +
</style>
 +
-
.annItem ul, .annItem li {padding: 0px; margin: 0px;}
 
-
.annItem li {list-style: none; margin: 5px}
 
-
</style>
 
</head>
</head>
 +
<body>
 +
</body>
</html>
</html>

Latest revision as of 16:33, 14 October 2014