Team:Cambridge-JIC/styles.css

From 2014.igem.org

(Difference between revisions)
 
(74 intermediate revisions not shown)
Line 1: Line 1:
-
/*body{background:#D6FFD6}*/
+
/* TA I am putting my things at the botton - Hugh */
body, html {
body, html {
Line 9: Line 9:
font-family: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;
font-family: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;
font-weight: 700;
font-weight: 700;
 +
}
 +
 +
body {
 +
margin-top: 80px;
 +
background-color: #B8E68A;
}
}
Line 16: Line 21:
}
}
 +
/* navbar */
 +
.navbar {
 +
    padding-top: 25px;
 +
    background-color: #10C214;
 +
    border-color: #E7E7E7;
 +
}
/* navbar formatting, fontsize  */
/* navbar formatting, fontsize  */
.navbar .nav > li > a, .navbar .nav > li > a:first-letter,
.navbar .nav > li > a, .navbar .nav > li > a:first-letter,
.navbar .nav > li.current-menu-item > a,  
.navbar .nav > li.current-menu-item > a,  
.navbar .nav > li.current-menu-ancestor > a {
.navbar .nav > li.current-menu-ancestor > a {
-
display:        inline;
+
display:        inline;
-
color:          black;                         
+
color:          white;                         
-
font-family:    Helvetica;
+
font-family:    Helvetica;
-
font-size:      0.7em;
+
font-size:      0.8em;
-
padding:        20px 20px;
+
padding:        20px 20px;
-
padding-top:    10px;
+
padding-top:    10px;
}
}
Line 33: Line 44:
text-shadow:    none;
text-shadow:    none;
}
}
 +
.intro-header {
.intro-header {
Line 38: Line 50:
padding-bottom: 50px;
padding-bottom: 50px;
color: #f8f8f8;
color: #f8f8f8;
-
background: url(https://static.igem.org/mediawiki/2014/0/06/Cambridge_JIC_P7030139.JPG) no-repeat center center;
+
background: url(https://static.igem.org/mediawiki/2014/d/da/Cambridge-JIC_web_banner.jpg) no-repeat center center;
background-size: cover;
background-size: cover;
text-align: center;
text-align: center;
Line 47: Line 59:
padding-bottom: 50px;
padding-bottom: 50px;
color: #f8f8f8;
color: #f8f8f8;
-
background: url(https://static.igem.org/mediawiki/2014/0/06/Cambridge_JIC_P7030139.JPG) no-repeat center center;
+
background: url(https://static.igem.org/mediawiki/2014/9/9a/Cambridge-JIC_P7040250.JPG) no-repeat center center;
 +
background-size: cover;
 +
text-align: center;
 +
}
 +
 
 +
.intro-header-assembly {
 +
padding-top: 50px; /* If you're making other pages, make sure there is 50px of padding to make sure the navbar doesn't overlap content! */
 +
padding-bottom: 50px;
 +
color: #f8f8f8;
 +
background: url(https://static.igem.org/mediawiki/2014/4/40/Cambridge-JIC_P7020022.JPG) no-repeat center center;
background-size: cover;
background-size: cover;
text-align: center;
text-align: center;
Line 116: Line 137:
}
}
 +
.content-section-footer {
 +
background-color: #8A8A5C;
 +
padding: 50px 0;
 +
}
.section-heading {
.section-heading {
margin-bottom: 30px;
margin-bottom: 30px;
Line 286: Line 311:
/* Wiki Hacks - END */
/* Wiki Hacks - END */
 +
 +
/* Hugh Wilson's stuff */
 +
/* style for the final navigation bar */
 +
#final_navbar {
 +
display: inline;
 +
}
 +
 +
/* formatting for the splash boxes */
 +
.splash_links {
 +
background-color: #10C214;
 +
text-align: center;
 +
}
 +
 +
.splash_links ul li {
 +
text-align: center;
 +
display: inline-block;
 +
margin-left: 1em;
 +
margin-right: 1em;
 +
color: white;
 +
}
 +
 +
.splash_links a:link {
 +
color: #FFFFFF; /* why aren't the links white? */
 +
text-decoration: none;
 +
}
 +
 +
.splash_links a:hover {
 +
color: #F0F0F0;
 +
text-decoration: none;
 +
}
 +
 +
/* Sticky footer styles
 +
-------------------------------------------------- */
 +
html {
 +
  position: relative;
 +
  min-height: 100%;
 +
}
 +
body {
 +
  /* Margin bottom by footer height */
 +
  margin-bottom: 60px;
 +
}
 +
.footer {
 +
  position: absolute;
 +
  bottom: 0;
 +
  width: 99%;
 +
  /* Set the fixed height of the footer here */
 +
  height: 60px;
 +
  background-color: #f5f5f5;
 +
}
 +
 +
 +
/* Custom page CSS
 +
-------------------------------------------------- */
 +
/* Not required for template or sticky footer method. */
 +
 +
body > .container {
 +
  padding: 60px 15px 0;
 +
}
 +
.container .text-muted {
 +
  margin: 20px 0;
 +
}
 +
 +
.footer > .container {
 +
  padding-right: 15px;
 +
  padding-left: 15px;
 +
}
 +
 +
code {
 +
  font-size: 80%;
 +
}
 +
 +
/* Reference list */
 +
.reference {
 +
font-size: 75%;
 +
}
 +
 +
/* Tables */
 +
table, th {
 +
border: 2px solid black;
 +
padding: 5px;
 +
font-size: 80%;
 +
}
 +
 +
td {
 +
border: 1px solid black;
 +
padding: 5px;
 +
}

Latest revision as of 22:37, 17 October 2014

/* TA I am putting my things at the botton - Hugh */

body, html { height: 100%; width: 100%; }

body, h1, h2, h3, h4, h5, h6 { font-family: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: 700; }

body { margin-top: 80px; background-color: #B8E68A; }

.lead, p { font-size: 16px; font-weight: 400; }

/* navbar */ .navbar {

   padding-top: 25px;
   background-color: #10C214;
   border-color: #E7E7E7;

} /* navbar formatting, fontsize */ .navbar .nav > li > a, .navbar .nav > li > a:first-letter, .navbar .nav > li.current-menu-item > a, .navbar .nav > li.current-menu-ancestor > a { display: inline; color: white; font-family: Helvetica; font-size: 0.8em; padding: 20px 20px; padding-top: 10px; }

/* navbar colours - hover */ .navbar .nav > li > a:hover, .navbar .nav > li > a:hover:first-letter { color: #CCCCB2; text-shadow: none; }


.intro-header { padding-top: 50px; /* If you're making other pages, make sure there is 50px of padding to make sure the navbar doesn't overlap content! */ padding-bottom: 50px; color: #f8f8f8; background: url(Cambridge-JIC_web_banner.jpg) no-repeat center center; background-size: cover; text-align: center; }

.intro-header-proj { padding-top: 50px; /* If you're making other pages, make sure there is 50px of padding to make sure the navbar doesn't overlap content! */ padding-bottom: 50px; color: #f8f8f8; background: url(Cambridge-JIC_P7040250.JPG) no-repeat center center; background-size: cover; text-align: center; }

.intro-header-assembly { padding-top: 50px; /* If you're making other pages, make sure there is 50px of padding to make sure the navbar doesn't overlap content! */ padding-bottom: 50px; color: #f8f8f8; background: url(Cambridge-JIC_P7020022.JPG) no-repeat center center; background-size: cover; text-align: center; }

.intro-message { position: relative; padding-top: 20%; padding-bottom: 20%; }

.intro-message > h1 { margin: 0; font-size: 5em; text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.6); }

.intro-divider { width: 400px; border-top: 1px solid #f8f8f8; border-bottom: 1px solid rgba(0, 0, 0, 0.2); }

.intro-message > h3 { text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.6); }

@media (max-width: 767px) { .intro-message { padding-bottom: 15%; }

.intro-message > h1 { font-size: 3em; }

ul.intro-social-buttons > li { display: block; margin-bottom: 20px; padding: 0; }

ul.intro-social-buttons > li:last-child { margin-bottom: 0; }

.intro-divider { width: 100%; } }

.network-name { text-transform: uppercase; font-size: 14px; font-weight: 400; letter-spacing: 2px; }

.content-section-a { background-color: #f8f8f8; padding: 50px 0; }

.content-section-b { border-top: 1px solid #e7e7e7; border-bottom: 1px solid #e7e7e7; padding: 50px 0; }

.content-section-footer { background-color: #8A8A5C; padding: 50px 0; } .section-heading { margin-bottom: 30px; }

.section-heading-spacer { border-top: 3px solid #e7e7e7; width: 200px; float: left; }

.banner { padding: 100px 0; color: #f8f8f8; background: url(../../img/P7030138.JPG) no-repeat center center; background-size: cover; }

.banner h2 { margin: 0; text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.6); font-size: 3em; }

.banner ul { margin-bottom: 0; }

.banner-social-buttons { float: right; margin-top: 0; }

@media (max-width: 1199px) { ul.banner-social-buttons { float: left; margin-top: 15px; } }

@media (max-width: 767px) { .banner h2 { margin: 0; text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.6); font-size: 3em; }

ul.banner-social-buttons > li { display: block; margin-bottom: 20px; padding: 0; }

ul.banner-social-buttons > li:last-child { margin-bottom: 0; } }

footer { background-color: #f8f8f8; padding: 20px 0; }


/* Wiki Hacks - START */ /* Author: Pieter van Boheemen */ /* Team: TU Delft */ /* Thanks guys - Bill Collins */ /* Thanks guys and Bill - Trang-Anh Nghiem */

  1. globalWrapper {
   background-color: transparent;
   padding-bottom:0px;
   border: none;
   }
  1. content {
   background-color: white;
   border:none;
   padding-bottom:none;
   margin-bottom:none;
   }
  1. bodyContent {
   border: none;
   }
  1. top-section {
   height: 14px;
   margin-top: -14px;
   margin-left: auto;
   margin-right: auto;
   margin-bottom: 0 !important;
   margin-bottom: 10px;
   padding:0;
   border: none;
   }
  1. p-logo {
   height:1px;
   overflow:hidden;
   border:none;
   }
  1. search-controls {
   overflow:hidden;
   display:none;
   background: none;
   position: absolute;
   top: 100px;
   right: 40px;
   }           

.left-menu { width: 300px; display:block; float:left; margin-top:-62px; margin-right:20px; border: none; left:20px;} .left-menu ul { border: none; }

  1. menubar.right-menu {
   width:300px;
   display:block;
   float:left;
   margin-top:-62px;
   padding-left:50px;
   border: none;
   right:50px;
   }                                                                                                                                                        

.right-menu ul { border: none;}

  1. menubar li a{
   color:#73a631;

}

  1. menubar li a:hover {
   color:#73a631;
   text-decoration:underline;

}

  1. menubar li.selected a {
   color:#555555;

}

  1. footer-box {
   background-color: white;
   border: none;
   width: 965px;
   margin: 0 auto;
   margin-bottom:none;
   padding-left:5px;
   padding-right:5px;
   }
  1. footer {
   border: none;
   width: 965px;
   margin: 0;
   padding: 0;
   background-color:white;
   }                                                                                                                                                        .firstHeading { display: none;}
  1. f-list a {
   color: #333;
   font-size: 10px;
   }
  1. f-list a:hover {
   color: #666;
   }
  1. footer ul {
   margin: 0;
   padding: 0;
   }
  1. footer ul li {
   margin-top: 0;
   margin-bottom: 0;
   margin-left: 10px;
   margin-right: 10px;
   padding: 0;
   }


/* Wiki Hacks - END */

/* Hugh Wilson's stuff */ /* style for the final navigation bar */

  1. final_navbar {

display: inline; }

/* formatting for the splash boxes */ .splash_links { background-color: #10C214; text-align: center; }

.splash_links ul li { text-align: center; display: inline-block; margin-left: 1em; margin-right: 1em; color: white; }

.splash_links a:link { color: #FFFFFF; /* why aren't the links white? */ text-decoration: none; }

.splash_links a:hover { color: #F0F0F0; text-decoration: none; }

/* Sticky footer styles


*/

html {

 position: relative;
 min-height: 100%;

} body {

 /* Margin bottom by footer height */
 margin-bottom: 60px;

} .footer {

 position: absolute;
 bottom: 0;
 width: 99%;
 /* Set the fixed height of the footer here */
 height: 60px;
 background-color: #f5f5f5;

}


/* Custom page CSS


*/

/* Not required for template or sticky footer method. */

body > .container {

 padding: 60px 15px 0;

} .container .text-muted {

 margin: 20px 0;

}

.footer > .container {

 padding-right: 15px;
 padding-left: 15px;

}

code {

 font-size: 80%;

}

/* Reference list */ .reference { font-size: 75%; }

/* Tables */ table, th { border: 2px solid black; padding: 5px; font-size: 80%; }

td { border: 1px solid black; padding: 5px; }