Team:UI-Indonesia/css/stylesheet/standard

From 2014.igem.org

(Difference between revisions)
 
(285 intermediate revisions not shown)
Line 3: Line 3:
body,
body,
#globalWrapper {
#globalWrapper {
-
   font-size: 14px;
+
   font-size: 18px;
-
   font-family: "Lato", Helvetica, sans-serif;
+
   font-family: "Titillium Web", Helvetica, sans-serif;
   overflow: visible;
   overflow: visible;
 +
  min-height: 100%
}
}
p{
p{
   text-align: justify;
   text-align: justify;
 +
  font-size: 18px;
 +
  line-height: 25px;
}
}
Line 19: Line 22:
a:link,
a:link,
a:visited {
a:visited {
-
   color: #373737;
+
   color: #15bdb6;
   text-decoration: none;
   text-decoration: none;
}
}
Line 25: Line 28:
a:hover,
a:hover,
a:focus {
a:focus {
-
   color: #4c4c4c;
+
   color: #1e8380;
}
}
Line 41: Line 44:
color: #373737;
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.) --*/
background-color: #f8f8f8;
background-color: #f8f8f8;
border: 0 none;
border: 0 none;
-
height: 10px;
+
height: 15px;
top: 0;
top: 0;
position: fixed;
position: fixed;
Line 84: Line 86:
/* EDIT AND USER MENU */
/* EDIT AND USER MENU */
#menubar {
#menubar {
-
     font-family: "Lato", Helvetica, sans-serif;
+
     font-family: "Titillium Web", Helvetica, sans-serif;
     top: 0 !important;
     top: 0 !important;
-
     font-size: 0.6em;
+
     font-size: 0.45em;
}
}
Line 96: Line 98:
/* Highlight with background colour on hover */
/* Highlight with background colour on hover */
#top-section:hover #menubar li a {
#top-section:hover #menubar li a {
-
     color: #777777;
+
     color: #15bdb6;
}
}
#menubar li a:link,
#menubar li a:link,
#menubar li a:visited {
#menubar li a:visited {
-
     color: #777777;
+
     color: #15bdb6;
     background-color: #f8f8f8;;
     background-color: #f8f8f8;;
}
}
Line 107: Line 109:
#menubar li a:hover,
#menubar li a:hover,
#menubar li a:focus {
#menubar li a:focus {
-
     color: #777777;
+
     color: #15bdb6;
     text-decoration: underline;
     text-decoration: underline;
}
}
Line 131: Line 133:
}
}
-
 
/* CHANGING WHITE BACKGROUND */
/* CHANGING WHITE BACKGROUND */
#globalWrapper, #content { /*-- changes default wiki settings --*/
#globalWrapper, #content { /*-- changes default wiki settings --*/
 +
        background: transparent;
width: 100%;  
width: 100%;  
-
height: 100%;
+
height: auto;
border: none;
border: none;
-
background-color: white;
 
margin: 0px auto;
margin: 0px auto;
padding: 0px;
padding: 0px;
Line 145: Line 146:
body {
body {
-
background-color: #777777;
+
background-color: #f8f8f8;
 +
    background-position: center;
 +
    background-attachment: fixed;
 +
    background-repeat: no-repeat;  
width: 100%;
width: 100%;
height: auto;
height: auto;
}
}
 +
html, .wrapper { /*-- changes default wiki settings --*/
html, .wrapper { /*-- changes default wiki settings --*/
 +
        background: transparent;
width: 100%;  
width: 100%;  
-
height: 100%;  
+
min-height: 100%;
-
background-color: transparent;
+
height: 100%;
 +
position: relative;
}
}
-
 
+
/* NAVIGATION BAR */
-
/* HIDING FOOTER BOX */
+
-
 
+
-
#footer-box{display:none;}
+
-
#catlinks{display:none;}
+
-
 
+
-
 
+
-
/* -------------------------- NavBar -------------------------- */
+
#igem-logo {
#igem-logo {
     position: fixed;
     position: fixed;
display: block;
display: block;
-
bottom: 7px;  
+
bottom: 5%;  
-
left: 110px;
+
left: 100px;
z-index: 5000;
z-index: 5000;
margin: 0px auto;
margin: 0px auto;
-
clear: both;
+
    float: left;
overflow: visibile;
overflow: visibile;
}
}
Line 178: Line 178:
     position: fixed;
     position: fixed;
display: block;
display: block;
-
bottom: 7px;  
+
bottom: 5%;  
-
left: 170px;
+
left: 160px;
z-index: 5001;
z-index: 5001;
margin: 0px auto;
margin: 0px auto;
-
clear: both;
+
        float: left;
overflow: visibile;
overflow: visibile;
}
}
-
/* -------------------------- Heading -------------------------- */
+
/* HIDING FOOTER BOX */
 +
 
 +
#footer-box{display:none;}
 +
#catlinks{display:none;}
 +
 
 +
/* PARAGRAPHS */
h1,h2,h3,h4 {
h1,h2,h3,h4 {
Line 194: Line 199:
}
}
h2 {
h2 {
-
     /*color: rgb(228,45,51);*/ /*  */
+
     color: #15bdb6;
-
     font-size:25px;
+
     font-size: 25px;
-
     line-height:26px;
+
     line-height: 26px;
-
     border-bottom: 1px solid;
+
     border-bottom: 1px solid #1e8380;
     font-weight: bold;
     font-weight: bold;
}
}
h3,h4 {
h3,h4 {
-
     font-size:20px;
+
    color: #15bdb6;
-
     line-height:21px;
+
     font-size: 20px;
-
     font-weight:bold;
+
     line-height: 21px;
 +
     font-weight: bold;
}
}
h4 {
h4 {
-
     font-size:18px;
+
     font-size: 18px;
-
     line-height:19px;
+
     line-height: 19px;
-
     font-weight:bold;
+
     font-weight: bold;
}
}
-
/* --------------------- Main Content ----------------------- */
+
sup {
 +
    vertical-align: super;
 +
    font-size: 10px;
 +
    font-color: #1e8380;
 +
}
-
#main-content {
+
/* PAGE CONTENT */
-
background-color: green;
+
 
-
width: 100%;
+
#main-box {
 +
display: block;
 +
position: relative;
 +
width: 70%;
height: auto;
height: auto;
margin: 0px auto;
margin: 0px auto;
 +
margin-bottom: 0px;
 +
background: transparent;
 +
        margin-top: 70px;
 +
        clear: both;
}
}
-
#page {
+
#page-box1 {
-
    width:1100px;
+
display: block;
-
    margin:0 auto;
+
position: relative;
-
    text-align:justify;
+
width: 70%;
-
    margin-top:20px;
+
height: auto;
-
    font-size:17px;
+
margin: 0px auto;
-
}
+
margin-bottom: 0px;
-
 
+
background: #ffffff;
-
/* --------------------- Images ----------------------- */
+
        color: #332e2e;
 +
        padding: 30px;
 +
        padding-top: 15px;
 +
        border-radius: 20px;
 +
        margin-top: 80px;
 +
        clear: both;
 +
-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);
#header {
#header {
-
position: absolute;
+
        background: transparent;
-
width: 1100px;
+
position: relative;
 +
width: 70%;
height: auto;
height: auto;
-
left: 110px;
+
margin: 0px auto;
display: block;
display: block;
 +
        margin-top: 80px;
}
}
-
img.alignleft {
 
-
    margin: 5px 20px 20px 0;
 
-
    float: left;
 
-
}
 
-
img.aligntop {
 
-
    margin: 5px 0 20px 0;
 
-
}
 
-
img.pic {
 
-
    padding: 5px;
 
-
    border: solid 1px #D4D4D4;
 
-
}
 
-
 
+
#one-box {
-
/* --------------------- Paragraphs ----------------------- */
+
display: block;
-
 
+
        background-color: #ffffff;
-
#page p, #page .leftparagraph p, #page .rightparagraph p {
+
        color: #332e2e;
-
    margin-bottom: 2px;
+
position: relative;
-
    font-size:14px;
+
width: 90%;
 +
height: auto;
 +
margin: 0px auto;
 +
        padding: 30px;
 +
        padding-top: 15px;
 +
        border-radius: 20px;
 +
        margin-top: 30px;
 +
        clear: both;
 +
-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);
}
}
-
/* --------------------- Lists ----------------------- */
+
#Teamslide {
-
 
+
      background: transparent;
-
#page ul, #page p ul, #page .leftparagraph p ul, #page .rightparagraph p ul {
+
position: relative;
-
    margin:0;
+
width: 100%;
-
    padding:0;
+
height: auto;
-
    font-size:17px;
+
margin: 0px auto;
-
    list-style:none;
+
display: block;
-
}
+
-
#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 {
+
/* CUSTOMIZING BOOTSTRAP CSS */
-
    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;
+
 +
.container {
 +
  width: 80%;
 +
  height: auto;
 +
  padding-right: 15px;
 +
  padding-left: 15px;
 +
  margin-right: auto;
 +
  margin-left: auto;
}
}
-
 
+
@media (min-width: 768px) {
-
/* --------------------- Top Page ----------------------- */
+
  .container {
-
 
+
     width: 750px;
-
.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 {
+
@media (min-width: 992px) {
-
    margin-left:5%;
+
  .container {
-
     width:90%;
+
     width: 970px;
-
    font-size:17px;
+
  }
}
}
-
.abstractile p {
+
@media (min-width: 1200px) {
-
     width:95%;
+
  .container {
-
    margin-left:2.5%;
+
     width: 1170px;
 +
  }
}
}

Latest revision as of 16:27, 17 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: 25px;

}

.clear {

 clear: both;

}

a, a:link, a:visited {

 color: #15bdb6;
 text-decoration: none;

}

a:hover, a:focus {

 color: #1e8380;

}


/* ---------------- 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: 15px; 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: "Titillium Web", 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: #15bdb6;

}

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

}

  1. menubar li a:hover,
  2. menubar li a:focus {
   color: #15bdb6;
   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 --*/
       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: #15bdb6;
   font-size: 25px;
   line-height: 26px;
   border-bottom: 1px solid #1e8380;
   font-weight: bold;

} h3,h4 {

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

} h4 {

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

}

sup {

   vertical-align: super;
   font-size: 10px;
   font-color: #1e8380;

}

/* PAGE CONTENT */

  1. main-box {

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

       margin-top: 70px;
       clear: both;

}

  1. page-box1 {

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

       color: #332e2e;
       padding: 30px;
       padding-top: 15px;
       border-radius: 20px;
       margin-top: 80px;
       clear: both;

-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);

  1. header {
       background: transparent;

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

       margin-top: 80px;

}

  1. one-box {
	display: block;
       background-color: #ffffff;
       color: #332e2e;

position: relative; width: 90%; height: auto; margin: 0px auto;

       padding: 30px;
       padding-top: 15px;
       border-radius: 20px;
       margin-top: 30px;
       clear: both;

-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); }

  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;
 }

}