Team:Northwestern/Templates/Reset

From 2014.igem.org

(Difference between revisions)
 
(8 intermediate revisions not shown)
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 ================================================== */
+
/***************************/
-
 
+
/* REMOVE IGEM STYLE */
-
html body {
+
#search-controls {
-
    font-size: inherit;
+
  margin-top:30px;
-
    font-family: inherit;
+
-
    background-color: transparent;
+
-
    color: inherit;
+
-
    padding: 0;
+
}
}
-
 
+
#footer-box, #siteSub, #search-controls, .firstHeading, #contentSub, #catlinks,  #p-logo {
-
div#globalWrapper {
+
  display:none;
-
    font-size: inherit;
+
-
    margin: 0;
+
-
    padding: 0;
+
-
    position: static;
+
-
    width: auto;
+
}
}
-
 
+
#bodyContent a[href ^="mailto:"],
-
 
+
.link-mailto {
-
/* Start top-section reset ============================================== */
+
     background: none;
-
 
+
     padding-right: 0;
-
div#top-section {
+
-
     border: 0;
+
-
     height: auto;
+
-
    margin: 0;
+
-
    position: static;
+
-
    width: auto;
+
}
}
-
 
+
#bodyContent a[href ^="https://"], .link-https {
-
div#p-logo {
+
     background: none;
-
     height: auto;
+
     padding-right: 0;
-
    position: static;
+
-
    width: auto;
+
-
     z-index: auto;
+
}
}
-
 
+
#menubar {
-
div#p-logo a, div#p-logo a:hover {
+
margin-left: 10px;
-
    text-decoration: none;
+
background: none;
}
}
-
div#menubar {
+
.right-menu li a, .left-menu li a {
-
    font-family: inherit;
+
color: black;
-
    font-size: inherit;
+
background-color: transparent;
-
    line-height: inherit;
+
font-size: 10px;
-
    position: static;
+
font-weight: bold;
-
    top: 0px;
+
-
    white-space: normal;
+
-
    width: auto;
+
-
    z-index: auto;
+
}
}
-
div.left-menu, div.left-menu a {
+
.right-menu li a:hover, .left-menu:hover a {
-
    color: inherit;
+
color: #fff;
-
    left: 0;
+
-
    text-align: left;
+
-
    text-transform: none;
+
}
}
-
div#menubar ul {
+
#top-section {
-
     color: inherit;
+
     height: 15px;
-
    list-style: disc outside none;
+
background: none;
-
    margin: 0;
+
border: none;
-
    padding: 0;
+
}
}
-
div#menubar li {
 
-
    cursor: auto;
 
-
    display: list-item;
 
-
    padding: 0;
 
-
    margin: 0;
 
-
    position: static;
 
-
}
 
-
div.left-menu li a {
+
#content {
-
    padding: 0;
+
width: 100%;
}
}
-
 
+
h1, h2, h3, h4, h5, h6 {
-
div.left-menu:hover {
+
text-decoration: none;
-
    color: inherit;
+
border: none;
-
    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>

Latest revision as of 23:48, 11 September 2014