Team:Northwestern/Templates/Reset

From 2014.igem.org

(Difference between revisions)
Line 3: Line 3:
<style>
<style>
-
/* Reset the wiki style by overriding with a reset stylesheet (written by Florian Albrecht)
+
#contentSub, #search-controls, .firstHeading, #footer-box, #catlinks, #p-logo {
-
  the relevant wiki css rules are reset by using rules with higher priority */
+
    display:none;}
-
 
+
/* Redesigning the topmenu */
-
/* Start general reset ================================================== */
+
/***************************/
-
 
+
body {
-
html body {
+
     margin: 10px 0 0 0;
-
     font-size: inherit;
+
     padding: 0;}
-
     font-family: inherit;
+
#top-section {
-
     background-color: transparent;
+
    width: 965px;
-
     color: inherit;
+
     height: 0;
 +
     margin: 0 auto;
     padding: 0;
     padding: 0;
-
}
+
     border: none;}
-
 
+
#menubar {
-
div#globalWrapper {
+
     font-size: 65%;
-
    font-size: inherit;
+
     top: -14px;}
-
    margin: 0;
+
.left-menu:hover {
-
    padding: 0;
+
     background-color: transparent;}
-
    position: static;
+
#menubar li a {
-
    width: auto;
+
     background-color: transparent;}
-
}
+
#menubar:hover {
-
 
+
     color: white;}
-
 
+
#menubar li a {
-
/* Start top-section reset ============================================== */
+
     color: transparent;}
-
 
+
#menubar:hover li a {
-
div#top-section {
+
     color: white;}
-
     border: 0;
+
#menubar > ul > li:last-child {
-
    height: auto;
+
     display:none;}
-
    margin: 0;
+
-
    position: static;
+
-
    width: auto;
+
-
}
+
-
 
+
-
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>
</head>
</head>
</html>
</html>

Revision as of 22:09, 31 August 2014