Template:CSS/EPFL csscustom

From 2014.igem.org

(Difference between revisions)
(Created page with " body, html { height: 100%; width: 100%; } h1, h2, h3, h4, h5, h6 { border: none; margin: auto; } #bodyContent h1, #bodyContent h2 { margin-bottom: 0px; } hr { margin: au...")
Line 1: Line 1:
-
 
body, html {
body, html {
Line 208: Line 207:
#menubar {
#menubar {
   top: 41px;
   top: 41px;
 +
}
 +
 +
footer {
 +
text-align: center;
}
}

Revision as of 15:39, 7 July 2014

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

h1, h2, h3, h4, h5, h6 {

border: none;

margin: auto; }

  1. bodyContent h1, #bodyContent h2 {
margin-bottom: 0px;

}

hr { margin: auto; margin-top: 20px; margin-bottom: 20px; }

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

.lead { font-size: 18px; font-weight: 400; }

.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('https://static.igem.org/mediawiki/2014/f/f1/Rlc2.jpg') no-repeat center center; background-size: cover; text-align: center; }

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

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

.section-heading { margin-bottom: 30px !important; }

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

.banner { padding: 100px 0; color: #f8f8f8; background: url(../img/banner-bg.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: 50px 0; }

p.copyright { margin: 15px 0 0; }

  1. content {
   width: 100%;

}

  1. top-section {
border: none;
height:auto;

width: 100%; }

  1. globalWrapper {

font-size: 100%; }

.navbar-brand { padding: 0px; }

  1. content {
 border: none;
 padding: 0px;

}

.right-menu li a {

background-color: transparent;
color: white !important;

}

  1. menubar, #menubar:hover {
   background-color: transparent;
   color: #777 !important;

}

.left-menu li a {

   color: white !important;

}

  1. menubar {
 top: 41px;

}

footer { text-align: center; }