Team:UI-Indonesia/css/stylesheet/standard

From 2014.igem.org

(Difference between revisions)
Line 113: Line 113:
/* EDIT */
/* EDIT */
-
#menubar.left-menu{
+
#menubar.left-menu {
     position: fixed;
     position: fixed;
background: #f8f8f8;
background: #f8f8f8;
Line 145: Line 145:
body {
body {
-
background-image: url("https://static.igem.org/mediawiki/2014/b/bb/UI-Indonesia_Image_Background.png");
+
background-color: #777777;
-
background-position: center bottom;
+
-
background-repeat: no-repeat;
+
-
background-attachment: fixed;
+
-
background-size: auto;
+
width: 100%;
width: 100%;
height: auto;
height: auto;
Line 167: Line 163:
-
/* -------------------------- Header-------------------------- */
+
/* -------------------------- NavBar -------------------------- */
#igem-logo {
#igem-logo {
Line 179: Line 175:
overflow: visibile;
overflow: visibile;
}
}
-
#ui-logo {
+
#ui-igem-logo {
     position: fixed;
     position: fixed;
display: block;
display: block;
Line 189: Line 185:
overflow: visibile;
overflow: visibile;
}
}
 +
 +
/* -------------------------- Heading -------------------------- */
 +
 +
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;
 +
}
 +
/* --------------------- Main Content ----------------------- */
/* --------------------- Main Content ----------------------- */
Line 197: Line 219:
margin: 0px auto;
margin: 0px auto;
}
}
-
+
#page {
-
#BackToTop,
+
    width:1100px;
-
#BackToTop:link,
+
    margin:0 auto;
-
#BackToTop:visited {
+
    text-align:justify;
 +
    margin-top:20px;
 +
    font-size:17px;
 +
}
-
    position: fixed;
+
/* --------------------- Images ----------------------- */
-
    bottom: 5px;
+
 
-
    right: 5px;
+
img.alignleft {
-
     text-decoration: none;
+
     margin: 5px 20px 20px 0;
-
     color: #55b909;
+
     float: left;
}
}
 +
img.aligntop {
 +
    margin: 5px 0 20px 0;
 +
}
 +
img.pic {
 +
    padding: 5px;
 +
    border: solid 1px #D4D4D4;
 +
}
 +
 +
 +
/* --------------------- Paragraphs ----------------------- */
-
#BackToTop:hover {
+
#page p, #page .leftparagraph p, #page .rightparagraph p {
-
     color: #81b909;
+
     margin-bottom: 2px;
 +
    font-size:14px;
}
}
-
/* --------------------- Footer ----------------------- */
+
/* --------------------- Lists ----------------------- */
 +
 
 +
#page ul, #page p ul, #page .leftparagraph p ul, #page .rightparagraph p ul {
 +
    margin:0;
 +
    padding:0;
 +
    font-size:17px;
 +
    list-style:none;
 +
}
 +
#page ul li, #page p ul li, #page .leftparagraph p ul li, #page .rightparagraph p ul li {
 +
    padding:0;
 +
    margin:0;
 +
    margin-top:6px;
 +
}
 +
#page ul li:before, #page p ul li:before, #page .leftparagraph p ul li:before, #page .rightparagraph p ul li:before {
 +
    content: " • ";
 +
    padding: 2px;
 +
    color: rgb(30,39,43);
 +
}
 +
 
 +
/* --------------------- Dividing Page ----------------------- */
 +
 
 +
.leftparagraph {
 +
    float:left;
 +
    margin:10px 0px;
 +
    margin-right:20px;
 +
    width:530px;
 +
}
 +
.rightparagraph {
 +
    float:left;
 +
    width:530px;
 +
    margin:10px 0px;
 +
    margin-left:20px;
 +
}
 +
.pagecnt {
 +
    float:left;
 +
    width:52%;
 +
    height:auto;
 +
}
 +
.pageimgs {
 +
    float:left;
 +
    width:45%;
 +
    margin-left:3%;
 +
    height:1000px;
 +
    height:auto;
 +
 
 +
}
 +
 
 +
/* --------------------- Top Page ----------------------- */
 +
 
 +
.projtile {
 +
    float: left;
 +
    width: 355px;
 +
    height: 200px;   
 +
    color: rgb(30,39,43);
 +
    background: rgb(252,250,229);
 +
    overflow: hidden;
 +
}
 +
.projtile h2 {
 +
    text-align:center;
 +
    width:90%;
 +
    font-size:25px;
 +
    margin-left:5%;
 +
    margin-bottom:5px;
 +
    height:1.05em;
 +
    font-weight:bold;
 +
    border-bottom: 1px solid;
 +
    font-family: 'Archivo Narrow', sans-serif;
 +
}
 +
.projtile p {
 +
    margin-left:5%;
 +
    width:90%;
 +
    font-size:17px;
 +
}
 +
.abstractile p {
 +
    width:95%;
 +
    margin-left:2.5%;
 +
}

Revision as of 10:30, 13 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;}


/* -------------------------- NavBar -------------------------- */

  1. igem-logo {
   position: fixed;

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

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

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

/* -------------------------- Heading -------------------------- */

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;

}

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

  1. main-content {

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

  1. page {
   width:1100px;
   margin:0 auto;
   text-align:justify;
   margin-top:20px;
   font-size:17px;

}

/* --------------------- Images ----------------------- */

img.alignleft {

   margin: 5px 20px 20px 0;
   float: left;

} img.aligntop {

   margin: 5px 0 20px 0;

} img.pic {

   padding: 5px;
   border: solid 1px #D4D4D4;

}


/* --------------------- Paragraphs ----------------------- */

  1. page p, #page .leftparagraph p, #page .rightparagraph p {
   margin-bottom: 2px;
   font-size:14px;

}

/* --------------------- Lists ----------------------- */

  1. page ul, #page p ul, #page .leftparagraph p ul, #page .rightparagraph p ul {
   margin:0;
   padding:0;
   font-size:17px;
   list-style:none;

}

  1. page ul li, #page p ul li, #page .leftparagraph p ul li, #page .rightparagraph p ul li {
   padding:0;
   margin:0;
   margin-top:6px;

}

  1. page ul li:before, #page p ul li:before, #page .leftparagraph p ul li:before, #page .rightparagraph p ul li:before {
   content: " • ";
   padding: 2px;
   color: rgb(30,39,43);

}

/* --------------------- Dividing Page ----------------------- */

.leftparagraph {

   float:left;
   margin:10px 0px;
   margin-right:20px;
   width:530px;

} .rightparagraph {

   float:left;
   width:530px;
   margin:10px 0px;
   margin-left:20px;

} .pagecnt {

   float:left;
   width:52%;
   height:auto;

} .pageimgs {

   float:left;
   width:45%;
   margin-left:3%;
   height:1000px;
   height:auto;

}

/* --------------------- Top Page ----------------------- */

.projtile {

   float: left;
   width: 355px;
   height: 200px;     
   color: rgb(30,39,43);
   background: rgb(252,250,229); 
   overflow: hidden;

} .projtile h2 {

   text-align:center;
   width:90%;
   font-size:25px;
   margin-left:5%;
   margin-bottom:5px;
   height:1.05em;
   font-weight:bold;
   border-bottom: 1px solid;
   font-family: 'Archivo Narrow', sans-serif;

} .projtile p {

   margin-left:5%;
   width:90%;
   font-size:17px;

} .abstractile p {

   width:95%;
   margin-left:2.5%;

}