Team:Northwestern/Templates/Reset

From 2014.igem.org

(Difference between revisions)
Line 1: Line 1:
<html>
<html>
-
<style type="text/css">
+
<head>
 +
<style>
-
/*Cleaning and Resetting the Background*/
+
/* Reset the wiki style by overriding with a reset stylesheet (written by Florian Albrecht)
-
* {
+
  the relevant wiki css rules are reset by using rules with higher priority */
-
    margin:0;
+
-
    padding:0;}
+
-
#top-section {
+
-
    height: 1px;
+
-
font: "Source Sans Pro", 12px, #000;}
+
-
#top-section { /*-- styling for default menu bar (edit, page, history, etc.) --*/
+
 
-
background-color: transparent;
+
/* Start general reset ================================================== */
-
border: 0 none;
+
 
-
height: 14px;
+
html body {
-
z-index: 100;
+
    font-size: inherit;
-
top: 0;
+
    font-family: inherit;
-
position: fixed;
+
    background-color: transparent;
-
width: 975px;
+
    color: inherit;
-
left: 50%;
+
    padding: 0;
-
margin-left: -487px;
+
}
}
-
#top-section-bar { /*-- styling full width bar which hides behind default menu bar (edit, page, history, etc.) --*/
+
div#globalWrapper {
-
background-color: transparent;
+
    font-size: inherit;
-
height: 14px;
+
    margin: 0;
-
display: block;
+
    padding: 0;
-
z-index: 10;
+
    position: static;
-
position: fixed;
+
    width: auto;
-
width: 100%;
+
-
top: 0;
+
}
}
-
#p-logo {
+
/* Start top-section reset ============================================== */
-
    height:1px; overflow:hidden; display:none;}
+
 
-
#search-controls {
+
div#top-section {
-
    display:none;}
+
     border: 0;
-
#globalWrapper {
+
     height: auto;
-
    background: #FFF;
+
-
    padding:0px;}
+
-
#content {
+
-
     border: 0px;
+
-
     width: 100%;}
+
-
#catlinks {
+
-
    display:none;}
+
-
h1.firstHeading {
+
-
    display: none;}
+
-
h1, h2, h3, h4, h5, h6 {
+
-
    border-bottom: 0px;}
+
-
p {
+
-
    font-size: 16px;
+
-
    margin-bottom: 12px;}
+
-
body {
+
-
    font-family: "Trebuchet MS", Helvetica, sans-serif;
+
     margin: 0;
     margin: 0;
-
     padding: 0;}
+
     position: static;
-
.left-menu a {
+
     width: auto;
-
     color: black; }
+
}
-
.left-menu:hover {
+
-
    color: black;
+
-
    background: transparent; }
+
-
.left-menu:hover a {
+
-
    color: black; }
+
-
.right-menu li a {
+
-
    background-color: transparent;
+
-
    color: black; }
+
 +
div#p-logo {
 +
    height: auto;
 +
    position: static;
 +
    width: auto;
 +
    z-index: auto;
 +
}
 +
 +
div#p-logo a, div#p-logo a:hover {
 +
    text-decoration: none;
 +
}
 +
 +
div#menubar {
 +
    font-family: inherit;
 +
    font-size: inherit;
 +
    line-height: inherit;
 +
    position: static;
 +
    top: 0px;
 +
    white-space: normal;
 +
    width: auto;
 +
    z-index: auto;
 +
}
 +
 +
div.left-menu, div.left-menu a {
 +
    color: inherit;
 +
    left: 0;
 +
    text-align: left;
 +
    text-transform: none;
 +
}
 +
 +
div#menubar ul {
 +
    color: inherit;
 +
    list-style: disc outside none;
 +
    margin: 0;
 +
    padding: 0;
 +
}
 +
 +
div#menubar li {
 +
    cursor: auto;
 +
    display: list-item;
 +
    padding: 0;
 +
    margin: 0;
 +
    position: static;
 +
}
 +
 +
div.left-menu li a {
 +
    padding: 0;
 +
}
 +
 +
div.left-menu:hover {
 +
    color: inherit;
 +
    background-color: transparent;
 +
}
 +
 +
div.left-menu:hover a {
 +
    color: inherit;
 +
}
 +
 +
div.right-menu, div.right-menu a {
 +
    color: inherit;
 +
    right: 0;
 +
    text-align: left;
 +
}
 +
 +
div.right-menu li a {
 +
    background-color: transparent;
 +
    color: inherit;
 +
    padding: 0;
 +
}
 +
 +
div.right-menu li a:hover {
 +
    color: inherit;
 +
    text-decoration: none;
 +
}
 +
 +
div#search-controls {
 +
    background-color: transparent;
 +
    height: auto;
 +
    position: static;
 +
    right: 0;
 +
    text-align: left;
 +
    top: 0;
 +
    width: auto;
 +
    z-index: auto;
 +
}
 +
 +
 +
/* Start content reset ================================================== */
 +
 +
div#content {
 +
    background: transparent;
 +
    border: 0;
 +
    color: inherit;
 +
    line-height: inherit;
 +
    margin: 0;
 +
    padding: 0;
 +
    position: static;
 +
    width: auto;
 +
    z-index: auto;
 +
}
 +
 +
body li {
 +
    margin: 0;
 +
}
 +
 +
body h1, body h2, body h3, body h4, body h5, body h6 {
 +
    background: transparent;
 +
    border: 0;
 +
    color: inherit;
 +
    padding: 0;
 +
}
 +
 +
body .firstHeading {
 +
    margin: 0;
 +
}
 +
 +
div#contentSub {
 +
    color: inherit;
 +
    font-size: inherit;
 +
    line-height: inherit;
 +
    margin: 0;
 +
    width: auto;
 +
}
 +
 +
div#catlinks {
 +
    background-color: transparent;
 +
    border: 0;
 +
    clear: both;
 +
    margin: 0;
 +
    padding: 0;
 +
}
 +
 +
 +
/* Start footer reset =================================================== */
 +
 +
div#footer-box {
 +
    background-color: transparent;
 +
    border: 0;
 +
    margin: 0;
 +
    padding: 0;
 +
    width: auto;
 +
}
 +
 +
div#footer {
 +
    color: inherit;
 +
    font-size: inherit;
 +
    text-align: left;
 +
}
 +
 +
div#f-poweredbyico, div#f-copyrightico {
 +
    float: none;
 +
}
 +
 +
div#footer li {
 +
    margin: 0;
 +
    display: list-item;
 +
}
</style>
</style>
-
<html>
+
</head>
 +
</html>

Revision as of 22:06, 31 August 2014