Team:UB Indonesia/css/style

From 2014.igem.org

(Difference between revisions)
 
Line 1: Line 1:
-
@charset "UTF-8";
 
-
 
-
 
-
/* ---------------- WikiMedia Elements / Page Structure ---------------- */
 
-
 
/* HIDE SEARCH CONTROLS AND PAGE TITLE */
/* HIDE SEARCH CONTROLS AND PAGE TITLE */
#p-logo,
#p-logo,
Line 10: Line 5:
     display: none;
     display: none;
}
}
-
 
-
h1, h2, h3, h4, h5, h6 {
 
-
color: #373737;
 
-
}
 
-
 
/* 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.) --*/
Line 119: Line 109:
padding: 0px;
padding: 0px;
}
}
-
 
-
body {
 
-
    background-attachment: fixed;
 
-
    background-repeat: no-repeat;
 
-
width: 100%;
 
-
height: auto;
 
-
}
 
-
 
html, .wrapper { /*-- changes default wiki settings --*/
html, .wrapper { /*-- changes default wiki settings --*/
Line 140: Line 122:
#footer-box{display:none;}
#footer-box{display:none;}
#catlinks{display:none;}
#catlinks{display:none;}
-
 
-
/* PARAGRAPHS */
 
-
 
-
h1,h2,h3,h4 {
 
-
    font-weight: normal;
 
-
    letter-spacing: 0 px;
 
-
    border-bottom:none;
 
-
}
 
-
h2 {
 
-
    /*color: rgb(228,45,51);*/ /*  */
 
-
    font-size:25px;
 
-
    line-height:26px;
 
-
    border-bottom: 1px solid;
 
-
    font-weight: bold;
 
-
}
 
-
h3,h4 {
 
-
    font-size:20px;
 
-
    line-height:21px;
 
-
    font-weight:bold;
 
-
}
 
-
h4 {
 
-
    font-size:18px;
 
-
    line-height:19px;
 
-
    font-weight:bold;
 
-
}
 
/* PAGE CONTENT */
/* PAGE CONTENT */

Latest revision as of 08:17, 14 October 2014

/* HIDE SEARCH CONTROLS AND PAGE TITLE */

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

.firstHeading {

   display: none;

} /* REMOVE DEFAULT TOP HEADER */

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

background-color: transparent; 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.45em;

}

  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: transparent;

    margin-left: 0px;

}

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

}

/* USER */

  1. menubar.right-menu {

background: transparent;

   position: fixed;
   margin-right: 0px;

}


/* CHANGING WHITE BACKGROUND */

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

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

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

       background: transparent;

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

/* HIDING FOOTER BOX */

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

/* PAGE CONTENT */

  1. main-box {

display: block; position: relative; width: 80%; 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: #ffffff; position: relative; border: 0px;

       border-radius: 20px;

width: 100%; height: auto; margin: 0px auto; margin-top: 30px; 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;
 }

}