Team:UI-Indonesia/css/stylesheet

From 2014.igem.org

(Difference between revisions)
Line 158: Line 158:
#navigationblock {
#navigationblock {
-
background-color: #fafaf8;  
+
background-color: #ffffff;  
-
position:fixed;  
+
position: fixed;  
-
top: 0px;  
+
bottom: 0px;
-
width: 1200px;  
+
width: 965px;  
-
height: 130px;  
+
height: 60px;  
overflow: hidden;  
overflow: hidden;  
-
font-family: Calibri, Arial; float:left; margin:0px; padding:0px; z-index:1000; border-bottom:1px solid #d3d7d8;}
+
font-family: Calibri, Arial;
-
#navbarlogo{position:absolute; top:0px; left:0px; width:1200px}
+
margin: 0px auto;  
-
#navigationbar{position:absolute; left:460px; top:38px; font-size:16px; font-weight:100; color:black;}
+
padding: 0px;  
 +
z-index: 1000;  
 +
border-bottom: 2px solid #000000;
 +
}
 +
 
 +
#navigationbar {
 +
position: absolute;  
 +
left: 0px;  
 +
bottom: 0px
 +
font-size: 16px;  
 +
font-weight: 100;  
 +
color: black;
 +
}
 +
#navigationbar > li {display:block; list-style-type:none; float:left; width:75px; height:30px; text-align:center; }
#navigationbar > li {display:block; list-style-type:none; float:left; width:75px; height:30px; text-align:center; }
Line 189: Line 202:
#HumanPractice_Sublist{position:relative; top:0px; left:-470px;}
#HumanPractice_Sublist{position:relative; top:0px; left:-470px;}
-
#iGEM_logo{position:absolute; top:30px; left:1090px; height:80px;}
+
#igem-logo {
 +
position: absolute;  
 +
top: 30px;  
 +
left: 1090px;  
 +
height:80px;
 +
}
/* --------------------- Main Content ----------------------- */
/* --------------------- Main Content ----------------------- */

Revision as of 07:15, 23 July 2014

@charset "UTF-8";

body,

  1. globalWrapper {
  font-size: 14px;
  font-family: 'Signika', sans-serif;
  overflow-x: hidden;

}

p{

 text-align: justify;

}

.clear {

 clear: both;

}

a, a:link, a:visited {

 color: #55b909;
 text-decoration: none;

}

a:hover, a:focus {

 color: #81b909;

}


/* ---------------- 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: #f83031; }

/* REMOVE DEFAULT TOP HEADER */

  1. top-section {
   background-image: url('https://static.igem.org/mediawiki/2014/4/4f/UI-Indonesia_Image_TopSectionBG.png');

background-size: 965px auto;

   border: none;
   height: 20px;
   margin-top: 0;
   margin-bottom: 0;
  -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:hover {
   background: #ffffff;

}

/* EDIT AND USER MENU */

  1. menubar {
   top: 0 !important;
   font-size: 0.7em;

}

  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: #e80607;

}

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

}

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

}


/* EDIT */

  1. menubar.left-menu{

}

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

}

/* USER */

  1. menubar.right-menu {

}


/* CHANGING WHITE BACKGROUND */

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

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

body { background-color: #ffffff; 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. header {
   position: relative; /* this is to allow positioning of elements within */

background-color: #ffffff;

   text-align: center;

top: 0px; margin: 0px auto; width: 965px; height: 165px; }

   #mission-igempossible {
       position: absolute;

display: block; left: 0; margin: 0px auto; clear: both;

   }

/* -------------------- Navigation Bar ----------------------- */

  1. navigationblock {

background-color: #ffffff; position: fixed; bottom: 0px; width: 965px; height: 60px; overflow: hidden; font-family: Calibri, Arial; margin: 0px auto; padding: 0px; z-index: 1000; border-bottom: 2px solid #000000; }

#navigationbar { position: absolute; left: 0px; bottom: 0px font-size: 16px; font-weight: 100; color: black; }

  1. navigationbar > li {display:block; list-style-type:none; float:left; width:75px; height:30px; text-align:center; }

.Navbar_Item{background-color:transparent;} .Navbar_Item a {color:black; text-decoration:none;} .Navbar_Item > ul {display:none; width:900px; height:80px; text-align:center; color:black; z-index:1100; } .Navbar_Item > ul > li {float:left; list-style:none; text-align:center; background-color:transparent; position:relative; top:10px; padding:0 10px;} .Navbar_Item:hover{ border-bottom:1px solid #D00000; color:#D00000; background-color:#fafaf8;} .Navbar_Item:hover > ul{zoom:1; display:block;} .Navbar_Item:hover >a {color:#D00000; background-color:#fafaf8;} .Navbar_Item > ul > li:hover {border-bottom:1px solid #D00000; color:#D00000; background-color:#fafaf8;} .Navbar_Item > ul > li:hover >a {color:#D00000} .BackgroundofSublist{position:absolute; left:-1000px; width:2000px; height:80px; background-color:#ffffff; opacity:0;}


  1. Home_Sublist{position:relative; top:0px; left:-50px;}
  2. Team_Sublist{position:relative; top:0px; left:-110px;}
  3. Project_Sublist{position:relative; top:0px; left:-180px;}
  4. Model_Sublist{position:relative; top:0px; left:-140px;}
  5. DataPage_Sublist{position:relative; top:0px; left:-60px;}
  6. Safety_Sublist{position:relative; top:0px; left:-180px;}
  7. HumanPractice_Sublist{position:relative; top:0px; left:-470px;}

#igem-logo { position: absolute; top: 30px; left: 1090px; height:80px; }

/* --------------------- Main Content ----------------------- */

  1. main-content {

background-color: green; width: 965px; 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;

}