Team:Minnesota/Templates/removestyle

From 2014.igem.org

(Difference between revisions)
 
(20 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;
 
-
}
 
</style>
</style>
 +
 +
 +
<!-- Remove all empty <p> tags -->
 +
<script type="text/javascript">
 +
    $(document).ready(function() {
 +
        $("p").filter( function() {
 +
            return $.trim($(this).html()) == '';
 +
        }).remove()
 +
    });
 +
</script>
</head>
</head>
<body>
<body>

Latest revision as of 19:32, 14 October 2014

remove style