Team:UI-Indonesia/css/stylesheet/standard

From 2014.igem.org

(Difference between revisions)
Line 47: Line 47:
/* REMOVE DEFAULT TOP HEADER */
/* REMOVE DEFAULT TOP HEADER */
#top-section { /*-- styling for default menu bar (edit, page, history, etc.) --*/
#top-section { /*-- styling for default menu bar (edit, page, history, etc.) --*/
-
background-color: #383838;
+
background-color: #f8f8f8;
border: 0 none;
border: 0 none;
-
height: 14px;
+
height: 10px;
z-index: 100;
z-index: 100;
top: 0;
top: 0;
Line 58: Line 58:
}
}
-
#top-section-bar { /*-- styling full width bar which hides behind default menu bar (edit, page, history, etc.) --*/
+
#menubar {
-
background-color: #383838;
+
    font-family: "Droid Sans", Helvetica, sans-serif;
-
height: 14px;
+
    top: 0 !important;
-
display: block;
+
    font-size: 0.45em;
-
z-index: 10;
+
    width: 70%;
-
position: fixed;
+
    margin: 0px auto;
-
width: 100%;
+
}
-
top: 0;
+
 
 +
#menubar li,
 +
#menubar li a:link {
 +
    text-transform: uppercase;
 +
    width: 70px;
 +
    text-align: left;
 +
}
 +
 
 +
/* Highlight with background colour on hover */
 +
 
 +
#top-section:hover #menubar li a {
 +
    color: #15bdb6;
 +
}
 +
 
 +
#menubar li a:link,
 +
#menubar li a:visited {
 +
    color: #1e8380;
 +
    background-color: #f8f8f8;
}
}
-
#menubar a:link, #menubar a:active, #menubar a:visited, #menubar a:hover, #menubar:hover { /*-- styling for default menu bar links (edit, page, history, etc.) --*/
+
#menubar li a:hover,
-
color: #727272;  
+
#menubar li a:focus {
-
text-decoration: none;
+
    color: #1e8380;
-
background-color: transparent;
+
    text-decoration: underline;
}
}

Revision as of 18:25, 16 October 2014

@charset "UTF-8";

body,

  1. globalWrapper {
  font-size: 18px;
  font-family: "Titillium Web", Helvetica, sans-serif;
  overflow: visible;
  min-height: 100%

}

p{

 text-align: justify;
 font-size: 18px;
 line-height: 20px;

}

.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; z-index: 100; top: 0; position: fixed; width: 975px; left: 50%; margin-left: -487px; }

  1. menubar {
   font-family: "Droid Sans", Helvetica, sans-serif;
   top: 0 !important;
   font-size: 0.45em;
   width: 70%;
   margin: 0px auto;

}

  1. menubar li,
  2. menubar li a:link {
   text-transform: uppercase;
   width: 70px;
   text-align: left;

}

/* Highlight with background colour on hover */

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

}

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

}

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

}

/* CHANGING WHITE BACKGROUND */

  1. globalWrapper, #content { /*-- changes default wiki settings --*/
       background: transparent;

width: 100%; height: auto; border: none; margin: 0px auto; padding: 0px; }

body { background-color: #f8f8f8;

   background-position: center; 
   background-attachment: fixed;
   background-repeat: no-repeat; 

width: 100%; height: auto; }


html, .wrapper { /*-- changes default wiki settings --*/

       background: transparent;

width: 100%; min-height: 100%; height: 100%; position: relative; }

/* NAVIGATION BAR */

  1. igem-logo {
   position: fixed;

display: block; bottom: 5%; left: 100px; z-index: 5000; margin: 0px auto;

   float: left;

overflow: visibile; }

  1. ui-igem-logo {
   position: fixed;

display: block; bottom: 5%; left: 160px; z-index: 5001; margin: 0px auto;

       float: left;

overflow: visibile; }

/* HIDING FOOTER BOX */

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

/* PARAGRAPHS */

h1,h2,h3,h4 {

   font-weight: normal;
   letter-spacing: 0 px;
   border-bottom:none;

} h2 {

   color: #e80607;
   font-size: 25px;
   line-height: 26px;
   border-bottom: 1px solid #222222;
   font-weight: bold;

} h3,h4 {

   color: #e80708;
   font-size:20px;
   line-height:21px;
   font-weight:bold;

} h4 {

   font-size:18px;
   line-height:19px;
   font-weight:bold;

}

/* PAGE CONTENT */

  1. nav-box {

display: block; position: relative; width: 70%; height: auto; margin: 0px auto; margin-bottom: 0px; background: transparent;

       top: 10px;

}

  1. main-box {

display: block; position: relative; width: 70%; height: auto; margin: 0px auto; margin-bottom: 0px; background: transparent;

   top: 70px;

}

  1. header {
   background: transparent;

position: relative; width: 100%; height: auto; margin: 0px auto; display: block; }

  1. side-1 {

background: #f8f8f8;

       -webkit-box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.68);

-moz-box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.68); box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.68); position: relative; width: 100%; height: auto; margin: 0px auto; margin-top: 15px; padding: 30px;

   padding-top: 3px;

display: block; }

  1. Teamslide

{ background: transparent; position: relative; width: 100%; height: auto; margin: 0px auto; display: block; }


/* CUSTOMIZING BOOTSTRAP CSS */

.container {

 width: 80%;
 height: auto;
 padding-right: 15px;
 padding-left: 15px;
 margin-right: auto;
 margin-left: auto;

} @media (min-width: 768px) {

 .container {
   width: 750px;
 }

} @media (min-width: 992px) {

 .container {
   width: 970px;
 }

} @media (min-width: 1200px) {

 .container {
   width: 1170px;
 }

}