Team:UI-Indonesia/css/stylesheet/standard

From 2014.igem.org

(Difference between revisions)
Line 38: Line 38:
/* REMOVE DEFAULT TOP HEADER */
/* REMOVE DEFAULT TOP HEADER */
#top-section {
#top-section {
-
     background-image: url('https://static.igem.org/mediawiki/2014/4/4f/UI-Indonesia_Image_TopSectionBG.png');
+
     position: absolute;
-
background-size: 100% auto;
+
    top: -10px;
     border: none;
     border: none;
     height: auto;
     height: auto;
-
margin-right: 0;
+
     margin: 0px auto;
-
    margin-top: 0;
+
-
     margin-bottom: 0;
+
   -webkit-transition: all 500ms ease;
   -webkit-transition: all 500ms ease;
   -moz-transition: all 500ms ease;
   -moz-transition: all 500ms ease;
Line 87: Line 85:
/* EDIT */
/* EDIT */
#menubar.left-menu{
#menubar.left-menu{
-
 
+
    position: absolute;
 +
    left: 0px;
}
}
Line 96: Line 95:
/* USER */
/* USER */
#menubar.right-menu {
#menubar.right-menu {
 +
    position: absolute;
 +
    right: 0px;
}
}

Revision as of 05:20, 6 August 2014

@charset "UTF-8";

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 {
   position: absolute;
   top: -10px;
   border: none;
   height: auto;
   margin: 0px auto;
  -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.5em;

}

  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{
    position: absolute;
    left: 0px;

}

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

}

/* USER */

  1. menubar.right-menu {
   position: absolute;
   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: #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: 100%; height: auto; }

   #mission-igempossible {
       position: absolute;

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

   }

/* --------------------- 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;

}