Team:UI-Indonesia/css/stylesheet/standard

From 2014.igem.org

(Difference between revisions)
Line 1: Line 1:
-
<html>
+
@charset "UTF-8";
-
<style>
+
 
-
.mfooter {
+
body,
-
  position:absolute;
+
#globalWrapper {
-
  width: 100%;
+
  font-size: 14px;
-
  height: 180px;
+
  font-family: "Lato", Helvetica, sans-serif;
-
  margin: 0px auto;
+
  overflow: visible;
-
  left: 0px;
+
-
  bottom: 0px;
+
-
  color: #333333;
+
-
  background: #f8f8f8;
+
-
  border-top: 1px solid #777777;
+
}
}
-
.footbox1 {
+
 
-
   margin: 10px 110px;
+
p{
-
  float: left;
+
   text-align: justify;
}
}
-
.footbox2 {
+
 
-
   position: absolute;
+
.clear {
-
  left: 10px 20px;
+
   clear: both;
}
}
-
.footbox2 a {
+
 
-
   color: #333333;
+
a,
 +
a:link,
 +
a:visited {
 +
   color: #373737;
 +
  text-decoration: none;
}
}
-
</style>
 
-
<div style="clear: both;"></div>
 
-
<div style="height: 180px">
+
a:hover,
-
 
+
a:focus {
-
</div>
+
  color: #4c4c4c;
 +
}
 +
 
 +
 
 +
/* ---------------- WikiMedia Elements / Page Structure ---------------- */
 +
 
 +
/* HIDE SEARCH CONTROLS AND PAGE TITLE */
 +
#p-logo,
 +
#search-controls,
 +
.firstHeading {
 +
    display: none;
 +
}
 +
 
 +
h1, h2, h3, h4, h5, h6 {
 +
color: #373737;
 +
}
 +
 
 +
/* REMOVE DEFAULT TOP HEADER */
 +
#top-section { /*-- styling for default menu bar (edit, page, history, etc.) --*/
 +
background-color: #f8f8f8;
 +
border: 0 none;
 +
height: 10px;
 +
top: 0;
 +
position: fixed;
 +
width: 100%;
 +
left: 50%;
 +
z-index: 1900;
 +
margin-left: -487px;
 +
-webkit-transition: all 500ms ease;
 +
  -moz-transition: all 500ms ease;
 +
  -ms-transition: all 500ms ease;
 +
  -o-transition: all 500ms ease;
 +
    transition: all 500ms ease;
 +
}
 +
 
 +
#top-section-bar { /*-- styling full width bar which hides behind default menu bar (edit, page, history, etc.) --*/
 +
background-color: #f8f8f8;
 +
height: 10px;
 +
display: block;
 +
z-index: 10;
 +
position: fixed;
 +
width: 100%;
 +
top: 0;
 +
}
 +
/*
 +
#top-section {
 +
    background: #f8f8f8;
 +
    position: fixed;
 +
    top: -10px;
 +
    border: none;
 +
    width: 100%;
 +
    height: auto;
 +
    z-index: -1000;
 +
    margin: 0px auto;
 +
 
 +
}
 +
*/
 +
/* EDIT AND USER MENU */
 +
#menubar {
 +
    font-family: "Lato", Helvetica, sans-serif;
 +
    top: 0 !important;
 +
    font-size: 0.6em;
 +
}
 +
 
 +
#menubar li,
 +
#menubar li a:link {
 +
    text-transform: uppercase;
 +
}
 +
 
 +
/* Highlight with background colour on hover */
 +
#top-section:hover #menubar li a {
 +
    color: #777777;
 +
}
 +
 
 +
#menubar li a:link,
 +
#menubar li a:visited {
 +
    color: #777777;
 +
    background-color: #f8f8f8;;
 +
}
 +
 
 +
#menubar li a:hover,
 +
#menubar li a:focus {
 +
    color: #777777;
 +
    text-decoration: underline;
 +
}
 +
 
 +
 
 +
/* EDIT */
 +
#menubar.left-menu{
 +
    position: fixed;
 +
background: #f8f8f8;
 +
    margin-left: 0px;
 +
 
 +
}
 +
 
 +
#menubar.left-menu:hover {
 +
    background-color: #f8f8f8;;
 +
}
 +
 
 +
/* USER */
 +
#menubar.right-menu {
 +
background: #f8f8f8;
 +
    position: fixed;
 +
    margin-right: 0px;
 +
 
 +
}
 +
 
 +
 
 +
/* CHANGING WHITE BACKGROUND */
 +
 
 +
#globalWrapper, #content { /*-- changes default wiki settings --*/
 +
width: 100%;
 +
height: 100%;
 +
border: none;
 +
background-color: white;
 +
margin: 0px auto;
 +
padding: 0px;
 +
}
 +
 
 +
body {
 +
background-color: #777777;
 +
width: 100%;
 +
height: auto;
 +
}
 +
 
 +
html, .wrapper { /*-- changes default wiki settings --*/
 +
width: 100%;
 +
height: 100%;
 +
background-color: transparent;
 +
}
 +
 
 +
 
 +
/* HIDING FOOTER BOX */
 +
 
 +
#footer-box{display:none;}
 +
#catlinks{display:none;}
 +
 
 +
 
 +
/* -------------------------- Header-------------------------- */
 +
 
 +
#igem-logo {
 +
    position: fixed;
 +
display: block;
 +
bottom: 7px;
 +
left: 110px;
 +
z-index: 5000;
 +
margin: 0px auto;
 +
clear: both;
 +
overflow: visibile;
 +
}
 +
#ui-logo {
 +
    position: fixed;
 +
display: block;
 +
bottom: 7px;
 +
left: 170px;
 +
z-index: 5001;
 +
margin: 0px auto;
 +
clear: both;
 +
overflow: visibile;
 +
}
 +
/* --------------------- Main Content ----------------------- */
 +
 
 +
#main-content {
 +
background-color: green;
 +
width: 100%;
 +
height: auto;
 +
margin: 0px auto;
 +
}
 +
 +
#BackToTop,
 +
#BackToTop:link,
 +
#BackToTop:visited {
 +
 
 +
    position: fixed;
 +
    bottom: 5px;
 +
    right: 5px;
 +
    text-decoration: none;
 +
    color: #55b909;
 +
}
 +
 
 +
#BackToTop:hover {
 +
    color: #81b909;
 +
}
-
<div class="mfooter">
+
/* --------------------- Footer ----------------------- */
-
  <div class="footbox1">
+
-
  <a href="https://2014.igem.org/Team:UI-Indonesia">
+
-
    <img src="https://static.igem.org/mediawiki/2014/0/05/UI-Indonesia_Image_UIlogoigem.png" height="100px"/>
+
-
  </a>
+
-
  </div>
+
-
  <div class="footbox2" style="">
+
-
    <b>Universitas Indonesia</b></br>
+
-
    UI Campus</br>
+
-
    Depok, 16424</br>
+
-
    West Java</br>
+
-
Indonesia</br>
+
-
    <img src="https://static.igem.org/mediawiki/2014/0/0a/UI-Indonesia_Image_Messageicon.png" height="10px"/> <a href="mailto:ui.igem2014@gmail.com">ui.igem2014@gmail.com</a>
+
-
  </div>
+
-
  <!--
+
-
  <div class="footbox" style="margin-left: 100px; margin-top: 30px;">
+
-
  <a href="http://www.fondationbs.org/">
+
-
    <img src="https://static.igem.org/mediawiki/2013/9/95/PB_footerBettencourtlogo.png" height="90px"/>
+
-
  </a>
+
-
  </div>
+
-
  <div class="footbox" style="float:right;margin-top:20px;margin-right:20px">
+
-
    <a href="http://www.digits.com" target="_blank"><img src="http://counter.digits.com/?counter={39ed2bc8-e9ee-aa74-01bb-15a2129b5b32}&template=simple&foreground=ffffff&background=272b1e" alt="Hit Counter by Digits" border="0"/></a> 
+
-
  </div>
+
-
  <div class="footbox" style="float:right;margin-top:40px;margin-right:20px">
+
-
  <a href="https://2013.igem.org/Main_Page">
+
-
    <img src="https://static.igem.org/mediawiki/2013/b/bc/PB_footeriGEMofficial.png" height="50px"/>
+
-
  </a>
+
-
  </div>
+
-
  -->
+
-
  <div style="clear: both;"></div> 
+
-
  <center>
+
-
    Copyright &copy; 2014.igem.org. All rights reserved.
+
-
  </center>
+
-
</div>
+
-
</body>
+
-
</html>
+

Revision as of 11:29, 11 August 2014

@charset "UTF-8";

body,

  1. globalWrapper {
  font-size: 14px;
  font-family: "Lato", Helvetica, sans-serif;
  overflow: visible;

}

p{

 text-align: justify;

}

.clear {

 clear: both;

}

a, a:link, a:visited {

 color: #373737;
 text-decoration: none;

}

a:hover, a:focus {

 color: #4c4c4c;

}


/* ---------------- WikiMedia Elements / Page Structure ---------------- */

/* HIDE SEARCH CONTROLS AND PAGE TITLE */

  1. p-logo,
  2. search-controls,

.firstHeading {

   display: none;

}

h1, h2, h3, h4, h5, h6 { color: #373737; }

/* REMOVE DEFAULT TOP HEADER */

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

background-color: #f8f8f8; border: 0 none; height: 10px; top: 0; position: fixed; width: 100%; left: 50%; z-index: 1900; margin-left: -487px; -webkit-transition: all 500ms ease;

  -moz-transition: all 500ms ease;
  -ms-transition: all 500ms ease;
  -o-transition: all 500ms ease;
   transition: all 500ms ease;

}

  1. top-section-bar { /*-- styling full width bar which hides behind default menu bar (edit, page, history, etc.) --*/

background-color: #f8f8f8; height: 10px; display: block; z-index: 10; position: fixed; width: 100%; top: 0; } /*

  1. top-section {
   background: #f8f8f8;
   position: fixed;
   top: -10px;
   border: none;
   width: 100%;
   height: auto;
   z-index: -1000;
   margin: 0px auto;
  

}

  • /

/* EDIT AND USER MENU */

  1. menubar {
   font-family: "Lato", Helvetica, sans-serif;
   top: 0 !important;
   font-size: 0.6em;

}

  1. menubar li,
  2. menubar li a:link {
   text-transform: uppercase;

}

/* Highlight with background colour on hover */

  1. top-section:hover #menubar li a {
   color: #777777;

}

  1. menubar li a:link,
  2. menubar li a:visited {
   color: #777777;
   background-color: #f8f8f8;;

}

  1. menubar li a:hover,
  2. menubar li a:focus {
   color: #777777;
   text-decoration: underline;

}


/* EDIT */

  1. menubar.left-menu{
    position: fixed;

background: #f8f8f8;

    margin-left: 0px;

}

  1. menubar.left-menu:hover {
   background-color: #f8f8f8;;

}

/* USER */

  1. menubar.right-menu {

background: #f8f8f8;

   position: fixed;
   margin-right: 0px;

}


/* CHANGING WHITE BACKGROUND */

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

width: 100%; height: 100%; border: none; background-color: white; margin: 0px auto; padding: 0px; }

body { background-color: #777777; width: 100%; height: auto; }

html, .wrapper { /*-- changes default wiki settings --*/ width: 100%; height: 100%; background-color: transparent; }


/* HIDING FOOTER BOX */

  1. footer-box{display:none;}
  2. catlinks{display:none;}


/* -------------------------- Header-------------------------- */

  1. igem-logo {
   position: fixed;

display: block; bottom: 7px; left: 110px; z-index: 5000; margin: 0px auto; clear: both; overflow: visibile; }

  1. ui-logo {
   position: fixed;

display: block; bottom: 7px; left: 170px; z-index: 5001; margin: 0px auto; clear: both; overflow: visibile; } /* --------------------- Main Content ----------------------- */

  1. main-content {

background-color: green; width: 100%; height: auto; margin: 0px auto; }

  1. BackToTop,
  2. BackToTop:link,
  3. BackToTop:visited {
   position: fixed;
   bottom: 5px;
   right: 5px;
   text-decoration: none;
   color: #55b909;

}

  1. BackToTop:hover {
   color: #81b909;

}

/* --------------------- Footer ----------------------- */