Team:Minnesota/Templates/removestyle

From 2014.igem.org

(Difference between revisions)
(Created page with "<html> <head> <title>Team:Minnesota - remove style</title> <style type="text/css"> - ============the following section is hacking the original wiki template============: #c...")
 
(21 intermediate revisions not shown)
Line 1: Line 1:
<html>
<html>
<head>
<head>
-
<title>Team:Minnesota - remove style</title>
+
<title>remove style</title>
<style type="text/css">
<style type="text/css">
-
 
+
table {
-
 
+
    font-size: 100%;
 +
    background-color: transparent;
 +
    color: black;
 +
}
/*============the following section is hacking the original wiki template============*/
/*============the following section is hacking the original wiki template============*/
-
 
+
<!--
#contentSub, #search-controls, .firstHeading, #footer-box, #catlinks, #p-logo {
#contentSub, #search-controls, .firstHeading, #footer-box, #catlinks, #p-logo {
     display:none;
     display:none;
Line 19: Line 22:
#content {
#content {
-
     border: none;
+
     position: relative;
 +
    width:  965px;
 +
  margin-left: 0px;
 +
margin: 0 auto;
 +
    padding: 0 0 0 0;
 +
    color: black;
 +
    /* line-height: 1.5em; */
 +
    z-index: 2;
 +
border: none;
     background-color: transparent;
     background-color: transparent;
}
}
Line 57: Line 68:
     background-color: transparent;
     background-color: transparent;
}
}
 +
 +
-->
/*============End original wiki mods============*/
/*============End original wiki mods============*/
-
.mainBox{
+
/* remove style from https://2011.igem.org/Team:DTU-Denmark/How_to_customize_an_iGEM_wiki */
-
position: absolute;
+
-
top: 375px;
+
-
left: 210px;
+
-
width:700px;
+
-
height:300px;
+
-
text-align:center;
+
-
}
+
 +
#contentSub, #search-controls, .firstHeading, #footer-box, #catlinks, #p-logo {
 +
    display:none;}
 +
#top-section {
 +
    border: none;
 +
    height: 0px;}
-
.mainBox td{
+
#content {
-
  align:center;
+
    width: 100%;
-
  height:130px;
+
    border: none;}
-
  padding:10px; /*between border & content&*/
+
-
  border:solid #E0E0E0 1px;
+
-
}
+
-
.mainBox td.profpic{
+
-
  width:150px;
+
-
  padding:0px; /*between border & content&*/
+
-
}
+
 +
/* Removes "teams" from the menubar */
 +
#menubar > ul > li:last-child {
 +
    display: none;}
 +
/* Resizes the menubar to fik the links (default is 400px) */
 +
#menubar {
 +
    width: auto;}
-
p.filler
 
-
{
 
-
position:relative;
 
-
padding-top:100px;
 
-
font-family:arial;
 
-
color:gray;
 
-
font-size:20px;
 
-
padding:50px;
 
-
}
 
-
body
 
-
{
 
-
    background-color:transparent;
 
-
    margin:0;
 
-
    padding:0;
 
-
}
 
-
table,td
 
-
{
 
-
    border:0px;
 
-
}
 
-
/*=========Start side nav bar code==============*/
 
-
.sideNavBar
 
-
{
 
-
position:absolute;
 
-
top:320px;
 
-
left:0px;
 
-
background-color:white;
 
-
margin:0;
 
-
padding:0;
 
-
border:0px;
 
-
}
 
-
.sideNavBar ul li
+
</style>
-
{
+
-
list-style:none;
+
-
margin:0;
+
-
padding:0;
+
-
}
+
-
.sideNavBar a{
 
-
    font-family: Verdana, Century Gothic, Tahoma, sans-serif;
 
-
    font-size:20px;
 
-
    /*font-weight:600;*/
 
-
    padding-top:15px;
 
-
    padding-left:30px;
 
-
    text-decoration:none;
 
-
    background-color:white;
 
-
    display:block;
 
-
    width:170px;
 
-
    height:45px;
 
-
}
 
-
.sideNavBar a:link {
+
<!-- Remove all empty <p> tags -->
-
    border-width:1px 1px 1px 3px;
+
<script type="text/javascript">
-
    border-style:none none none solid;
+
     $(document).ready(function() {
-
    border-color:white;
+
        $("p").filter( function() {
-
    color: gray;
+
            return $.trim($(this).html()) == '';
-
 
+
        }).remove()
-
}
+
    });
-
 
+
</script>
-
.sideNavBar a:visited {
+
-
    border-width:1px 1px 1px 3px;
+
-
    border-style:none none none solid;
+
-
    border-color:white;
+
-
    color: gray;
+
-
}
+
-
 
+
-
.sideNavBar a:hover { /*cool button*/
+
-
     border-width:1px 1px 1px 3px;
+
-
    border-style: none none none solid;
+
-
    border-color:#660000 #660000 #660000 #660000;
+
-
    color: gold;
+
-
}
+
-
.sideNavBar a:active {
+
-
    border-width:1px 1px 1px 3px;
+
-
    border-style: none none none solid;
+
-
    border-color:#660000 #660000 #660000 #660000;
+
-
    color: gold;
+
-
}
+
-
 
+
-
.sideNavBar a.current{ /*force black for current button*/
+
-
    color: black;
+
-
}
+
-
 
+
-
.sideNavBar a.current:hover{ /*allow for gold to still happen for current button*/
+
-
    color: #660000;
+
-
}
+
-
 
+
-
/*=============End side nav bar code=================*/
+
-
 
+
-
/*=============Start top nav bar code===============*/
+
-
.insideTopBar {
+
-
    position:absolute;
+
-
    top:300px;
+
-
    left:230px;
+
-
    background-color:white;
+
-
 
+
-
}
+
-
.insideTopBar ul{
+
-
    padding:0;
+
-
    margin:0;
+
-
    list-style:none;
+
-
}
+
-
.insideTopBar ul li{
+
-
    float:right;
+
-
    padding-left:7px;
+
-
    margin:0px;
+
-
 
+
-
}
+
-
 
+
-
.insideTopBar a{
+
-
 
+
-
    display:block;
+
-
    background-color:white;
+
-
    text-decoration:none;
+
-
}
+
-
 
+
-
.insideTopBar img{
+
-
    opacity:0.4;
+
-
    filter:alpha(opacity=40); /* For IE8 and earlier */
+
-
}
+
-
.insideTopBar img:hover{
+
-
    opacity:1.0;
+
-
    filter:alpha(opacity=100); /* For IE8 and earlier */
+
-
}
+
-
 
+
-
/*=============End top nav bar code=================*/
+
-
 
+
-
 
+
-
</style>
+
</head>
</head>
<body>
<body>

Latest revision as of 19:32, 14 October 2014

remove style