Template:Team:Hong Kong HKUST/anti-main.css

From 2014.igem.org

(Difference between revisions)
(Undo revision 358581 by Hyht2011 (talk))
 
(8 intermediate revisions not shown)
Line 1: Line 1:
/*  
/*  
** This CSS file is intended to   
** This CSS file is intended to   
-
** To counter the effect of main.css
+
** To cancel the effect of main.css
** Imposed by default on the iGEM server
** Imposed by default on the iGEM server
*/
*/
Line 8: Line 8:
     font: inherit;
     font: inherit;
     color: inherit;
     color: inherit;
-
     margin: 0;
+
     margin: auto;
-
     padding: 0;
+
     padding: 0;visited
     background-color: none;
     background-color: none;
}
}
Line 18: Line 18:
     font-size: 100%;
     font-size: 100%;
     width: 100%;
     width: 100%;
-
     margin: 0;
+
     margin: auto;
     padding: 0;
     padding: 0;
     padding-bottom: 10px;
     padding-bottom: 10px;
Line 60: Line 60:
/* the left column width is specified in class .portlet  
/* the left column width is specified in class .portlet  
** remains unchanged */
** remains unchanged */
-
 
+
back
/* general styles */
/* general styles */
table {
table {
     font-size: default;
     font-size: default;
-
     background: default;
+
     background-color: transparent;
     color: black;
     color: black;
}
}
a {
a {
     text-decoration: none;
     text-decoration: none;
-
     color: inherit;
+
     color: #0000DD;
     background: none;
     background: none;
}
}
a:visited {
a:visited {
-
     color: inherit;
+
     color: #0000DD;
}
}
a:active {
a:active {
-
     color: inherit;
+
     color: #0000DD;
}
}
a:hover {
a:hover {
-
     text-decoration: none;
+
     color: #0000FF;
}
}
a.stub {
a.stub {
Line 224: Line 224:
height: 100%;
height: 100%;
border: 0px;
border: 0px;
-
background-color:#FCEBE6;
+
margin: auto;
-
margin: 0px;
+
padding: 0px;
padding: 0px;
}
}
-
html, body, .wrapper { /*-- changes default wiki settings --
+
html, body, .wrapper, #globalWrapper, #content{ /*-- changes default wiki settings --
*/
*/
-
+
background-color:#FCEBb7;
-
background-color: #FCEBE6;
+
}
}

Latest revision as of 21:54, 17 October 2014

/*

    • This CSS file is intended to
    • To cancel the effect of main.css
    • Imposed by default on the iGEM server
  • /

body {

   font: inherit;
   color: inherit;
   margin: auto;
   padding: 0;visited
   background-color: none;

}

/* scale back down to default */

  1. globalWrapper {
   position: relative;
   font-size: 100%;
   width: 100%;
   margin: auto;
   padding: 0;
   padding-bottom: 10px;

} .visualClear {

   clear: both;

}

/* The top section contains the banner, the search box,

    • and the left and right menus. We are not changing that.
    • so it is neglected here */


/* Footer remains unchanged */


/* Sponsors box remains unchanged */

/* Pulldown menu boxes remains unchanged */

/* IGEM RIGHT SIDEBAR STYLING remains unchanged */


/*****************************************************************************************************

* The content div contains all of the contents of the page - provided by mediawiki
****************************************************************************************************/
  1. content {
   position: relative;
   width:  965px;
  1. margin-left: 10px;

margin: 0 auto;

   padding: 5px 5px 5px 5px;
   background: none;
   color: black;
   border-left: 1px solid #444444;
   border-right: 1px solid #444444;
   line-height: inherit;
   z-index: 2;

}

/* the left column width is specified in class .portlet

    • remains unchanged */

back /* general styles */

table {

   font-size: default;
   background-color: transparent;
   color: black;

} a {

   text-decoration: none;
   color: #0000DD;
   background: none;

} a:visited {

   color: #0000DD;

} a:active {

   color: #0000DD;

} a:hover {

   color: #0000FF;

} a.stub {

   color: inherit;

} /* a.new, #p-personal a.new { - rdr */ a.new {

   color: inherit;

} a.new:visited, #p-personal a.new:visited {

   color: inherit;

}

img {

   border: none;
   vertical-align: middle;

} p {

   margin: default;
   line-height: inherit;

} p img {

   margin: 0;

}

hr {

   height: default;
   color: inherit;
   background-color: default;
   border: default;
   margin: default;

}

h1, h2, h3, h4, h5, h6 {

   color: inherit;
   background: none;
   font-weight: inherit;
   margin: default;
   padding-top: default;
   padding-bottom: default;
   border-bottom: none;

} h1 { font-size: default; } h2 { font-size: default; } h3, h4, h5, h6 {

   border-bottom: none;
   font-weight: inherit;

} h3 { font-size: default; } h4 { font-size: default; } h5 { font-size: default; } h6 { font-size: default; }

ul ol{

   line-height: default;
   list-style-type: default;
   margin: default;
   padding: default;
   list-style-image: default;

}

li {

   margin-bottom: inherit;

} dt {

   font-weight: inherit;
   margin-bottom: default;

} dl {

   margin-top: default;
   margin-bottom: default;

} dd {

   line-height: inherit;
   margin-left: default;
   margin-bottom: default;

}

fieldset {

   border: default;
   margin: default;
   padding: default;
   line-height: inherit;

} legend {

   background: inherit;
   padding: default;
   font-size: default;

} form {

   border: none;
   margin: 0;

}

textarea {

   width: 100%;
   padding: .1em;

}

q {

   font-family: Times, "Times New Roman", serif;
   font-style: italic;

}

/* Some space under the headers in the content area */

  1. bodyContent h1, #bodyContent h2 {
   margin-bottom: defult;

}

  1. bodyContent h3, #bodyContent h4, #bodyContent h5 {
   margin-bottom: default;

} .firstHeading {

   margin-bottom: default;

}


/*

    • Hiding some wiki elements
  • /
  1. contentSub, #footer-box, #catlinks, #search-controls, #p-logo, .printfooter, .firstHeading,.visualClear {

display: none; } /*-- hides default wiki settings --*/

  1. top-section { /*-- styling for default menu bar (edit, page,

history, etc.) --*/ background-color:black; border: 0 none; height: 20px; z-index: 100; top: 0; position: fixed; width: 100%; left: 0; margin-left: 0; }


  1. globalWrapper, #content { /*-- changes default wiki settings

--*/ width: 100%; height: 100%; border: 0px; margin: auto; padding: 0px; }

html, body, .wrapper, #globalWrapper, #content{ /*-- changes default wiki settings --

  • /

background-color:#FCEBb7; }

/*Changing default wiki setting. By Guillaume*/

.left-menu:hover, .right-menu:hover{

   background-color: #555555;

} .left-menu:hover a, .right-menu:hover a{

   color: white;

} .left-menu li a, .right-menu li a{ color:gray; background-color:transparent; } .left-menu li a:hover, .right-menu li a:hover{ color:white; text-decoration:underline; }

  1. menubar{

width:auto; }

/*End of changing default wiki setting.*/