Team:Michigan Software/css

From 2014.igem.org

(Difference between revisions)
Line 10: Line 10:
-
html { font-size: 1em; }
+
body {
 +
background-image: url('img/bg.png');
 +
color: black;
 +
font-size: 100%; /* Base font size: 12px */
 +
font-family: "Segoe UI", Frutiger, "Frutiger Linotype", "Dejavu Sans", "Helvetica Neue", Arial, sans-serif;
 +
line-height: 1;
 +
margin: 0;
 +
padding: 0;
 +
text-align: left;
 +
}
 +
 +
.body {
 +
clear: both;
 +
margin: 0 auto;
 +
width: 100%;
 +
}
 +
h2 {font-size: 1.571em} /* 22px */
 +
h3 {font-size: 1.429em} /* 20px */
 +
h4 {font-size: 1.286em} /* 18px */
 +
h5 {font-size: 1.143em} /* 16px */
 +
h6 {font-size: 1em} /* 14px */
-
body { font-family: 'Comfortaa', Arial, sans-serif; overflow-x: hidden; margin: 0;} /*carasmo's comment to hide horizontal scroll bar https://github.com/twbs/bootstrap/issues/10711*/
+
h2, h3, h4, h5, h6 {
 +
font-weight: 400;
 +
line-height: 1.1;
 +
margin-bottom: .8em;
 +
color: black;
 +
}
-
h1, h2, p { font-family: 'Comfortaa', Arial, sans-serif; }
+
a {
 +
outline: 0;
 +
}
-
h1 { font-weight: 700; }
 
-
h2 { font-size: 1.5em; }
+
a:link, a:visited {
 +
color: black;
 +
padding: 0 1px;
 +
text-decoration: none;
 +
}
-
ul { margin: 0; }
+
a:hover, a:active {
-
ction .outer_container { margin-bottom: 50px; background-color: #eeeeee; }
+
background-color: #B9D3E3;
-
section .row { margin-left: 0; margin-right: 0; overflow: hidden; }
+
color: #fff;
-
section h1 { text-transform: uppercase; color: white; margin-top: 0px; margin-bottom: 0px; line-height: 280px; text-align: center; }
+
text-decoration: none;
 +
}
-
.templatemo_ceo img { margin-bottom: 10px; }
+
.mainHeader h1 {
-
.templatemo_ceo p { text-align: center; }
+
        font-family: 'Comfortaa';  
-
s
+
        font-weight: bold;
-
.container { margin: 0 auto; }
+
        font-style: normal;
 +
font-size: 400%;
 +
text-align: center;
 +
float: none;
 +
margin: 3% 0 3% 0;
 +
color: #1A1A80;
 +
}
 +
 
 +
.mainHeader nav {
 +
background: #1A1A80;
 +
font-size: 1.143em;
 +
height: 40px;
 +
line-height: 30px;
 +
margin: 0 auto 30px auto;
 +
text-align: center;
 +
border-radius: 5px;
 +
-moz-border-radius: 5px;
 +
-webkit-border-radius: 5px;
 +
}
 +
 +
.mainHeader nav ul {
 +
list-style: none;
 +
margin: 0 auto;
 +
}
-
/*http://css-tricks.com/vertically-center-multi-lined-text/*/
+
.mainHeader nav ul li {
-
.center-row { display: table; }
+
float: left;
-
.center-row .center { display: table-cell; vertical-align: middle; }
+
display: inline;
 +
}
 +
 +
.mainHeader nav a:link, .mainHeader nav a:visited {
 +
        font-family: 'Comfortaa';
 +
        font-weight: bold;
 +
        font-style: normal;
 +
text-transform: uppercase;
 +
color: #FFFFFF;
 +
display: inline-block;
 +
height: 30px;
 +
padding: 5px 23px;
 +
text-decoration: none;
 +
}
 +
.mainHeader nav a:hover, .mainHeader nav a:active,
 +
.mainHeader nav .active a:link, .mainHeader nav .active a:visited {
 +
background: #B9D3E3;
 +
color: #FFFFFF;
 +
text-shadow: none !important;
 +
}
 +
 +
.mainHeader nav li a {
 +
border-radius: 5px;
 +
-moz-border-radius: 5px;
 +
-webkit-border-radius: 5px;
 +
}
 +
.sciencephoto img{
 +
    width: 800px;
 +
    height: auto;
 +
display: block;
 +
margin-left: auto;
 +
margin-right: auto;
 +
}
-
.footer { background:#1A1A80; min-height: 141px; color: white; margin-top: 20px; }
+
.sciencedescription {
-
.footer img { padding-top: 30px; }
+
position:absolute;
-
.footer a { text-decoration: none; color: white; }
+
    top:680px;
-
.footer a:hover { color: #cbcbcb; text-decoration: none; }
+
    left:88px;
-
.footer .row { height: 100%; }
+
    width:800px;
-
 
+
    background-color: #4682B4;
-
 
+
    font-size:28px;
-
#templatemo_copyright { font-size: .9em; }
+
    color:white;
-
 
+
    opacity:0.7;
-
 
+
    filter:alpha(opacity=70);
-
@media only screen and (min-width: 1200px){
+
-
h1 { font-size: 4.5em; }
+
-
.services_buttons { text-align: right; }
+
-
.navbar-default .navbar-nav>li>a:hover, .navbar-default .navbar-nav>li>a:focus, .menu ul li a.current {
+
-
height: 85px;
+
-
}
+
-
#about .col-md-7 { padding-left: 50px; }
+
-
#about .col-md-8 { padding-left: 20px; }
+
-
#team .col-md-7 { padding-right: 50px; }
+
-
#skills .col-md-7 { padding-right: 90px; }
+
-
#portfolio .col-md-7 { padding-left: 46px; }
+
-
#contact .col-md-7 { padding-left: 50px; }
+
}
}
-
@media only screen and (min-width: 992px) and (max-width: 1199px) {
+
.home_leftcontent {
-
h1 { font-size: 3.5em; }
+
background-color: #ADD8E6;
-
.services_buttons { text-align: right; }
+
border-radius: 5px;
-
.navbar-default .navbar-nav>li>a:hover, .navbar-default .navbar-nav>li>a:focus, .menu ul li a.current {
+
-moz-border-radius: 5px;
-
height: 85px;
+
-webkit-border-radius: 5px;
-
}
+
padding: 3% 5%;
-
#about .col-md-7 { padding-left: 30px; }
+
margin: 2% 1% 2% 3%;
-
#about .col-md-8 { padding-left: 20px; }
+
float: left;
-
#team .col-md-7 { padding-right: 30px; }
+
        width: 35%;
-
#skills .col-md-7 { padding-right: 30px; }
+
font-size:24px;  
-
#portfolio .col-md-7 { padding-left: 30px; }
+
-
#contact .col-md-7 { padding-left: 30px; }
+
}
}
-
@media only screen and (min-width: 768px) and (max-width: 991px) {
+
.home_leftcontent a {
-
h1 { font-size: 2.5em; }
+
color:#000080;
-
nav { font-size: 1em; }
+
font-style: italic;
-
.btn-primary { font-size: 1.6em; }
+
-
.services_buttons { text-align: left; }
+
-
.navbar-default .navbar-nav>li>a:hover, .navbar-default .navbar-nav>li>a:focus, .menu ul li a.current {
+
-
height: 85px;
+
-
}
+
-
#about .col-md-8 { padding-left: 0; padding-bottom: 20px; }
+
-
#about img { padding: 0; margin-top: 20px; margin-bottom: 20px; }
+
-
#services .col-md-2, #services_content { padding-left: 0; padding-top: 20px; height: 300px; }
+
-
#portfolio p { padding: 7.3% 4%; }
+
-
#portfolio .col-md-7, #blog .col-md-7, #contact .col-md-7  { padding-left: 0; padding-top: 20px; }
+
-
#blog .col-md-7 { padding-right: 0; }
+
}
}
-
@media only screen and (max-width: 767px) and (min-width: 481px) {
+
.home_rightcontent {
-
h1 { font-size: 2.5em; }
+
background-color: #ADD8E6;
-
nav .fa { display: inline; text-align: left; margin-bottom: 0; margin-right: 10px; }
+
border-radius: 5px;
-
.navbar-default .navbar-nav>li>a { padding-top: 15px; padding-bottom: 15px; }
+
-moz-border-radius: 5px;
-
.navbar-default .navbar-nav>li>a:hover, .navbar-default .navbar-nav>li>a:focus {
+
-webkit-border-radius: 5px;
-
height: 100%;
+
padding: 3% 5%;
-
}
+
margin: 2% 3% 2% 1%;
-
.btn-primary { font-size: 1.5em; }
+
float: right;
-
.services_buttons { text-align: left; }
+
width: 35%;
-
.services_buttons .icon-button { font-size: 210%; }
+
font-size:24px;  
-
.blog_post img { max-width: 100%; }
+
-
#about .col-md-8 { padding-left: 0; padding-bottom: 20px; }
+
-
#about img { padding: 0; margin-top: 20px; margin-bottom: 20px; }
+
-
#team_content { width: 100%; }
+
-
#services .col-md-2, #services_content { padding-left: 0; padding-top: 20px; height: 300px; }
+
-
#services_tabs { padding-left: 10px; }
+
-
#portfolio .col-md-7, #blog .col-md-7, #contact .col-md-7 { padding-top: 20px; padding-left: 0; }
+
}
}
-
@media only screen and (max-width: 480px) {
+
.home_rightcontent a {
-
section h1 { font-size: 1.6em; line-height: 50px; }
+
color:#000080;
-
nav .fa { display: inline; text-align: left; margin-bottom: 0; margin-right: 10px; }
+
font-style: italic;
-
.col-xxs { display:block; float:none; width: 100% }
+
-
    .social_buttons { margin-top: 30px; }
+
-
    .pull-right { float: left !important; } /*do not pull-right in mobile view*/
+
-
    .navbar-default .navbar-nav>li>a:hover, .navbar-default .navbar-nav>li>a:focus {
+
-
height: 100%;
+
-
}
+
-
.navbar-default .navbar-nav>li>a { padding-top: 15px; padding-bottom: 15px; }
+
-
.btn-primary { font-size: 1.2em; }
+
-
.services_buttons { text-align: left; }
+
-
.services_buttons .icon-button { font-size: 190%; }
+
-
.blog_post { width: 50%;}
+
-
    .blog_post img { max-width: 100%; }   
+
-
#about .col-md-8 { padding-left: 0; padding-bottom: 20px; }
+
-
#about img { padding: 0; margin-top: 20px; margin-bottom: 20px; }
+
-
#team_content { width: 100%; }
+
-
#services .col-md-2, #services_content { padding-left: 0; padding-top: 20px; height: 300px; }
+
-
#services_tabs { padding-left: 0; }
+
-
#portfolio .col-md-7, #blog .col-md-7, #contact .col-md-7 { padding-top: 10px; padding-left: 0; }
+
}
}
-
@media only screen and (max-width: 430px) {
+
@media only screen and (min-width : 150px) and (max-width : 780px)
-
body { font-size: 10px; }
+
{
-
.btn-primary { font-size: 1.1em; }
+
.body {
-
.blog_post h2 { font-size: 1.1em; padding: 5px 5px; }
+
clear: both;  
-
.services_buttons .icon-button { font-size: 180%; }
+
margin: 0 auto;  
-
.navbar-default .navbar-nav>li>a {
+
width: 90%;
-
padding-top: 15px;
+
font-size: 90%;
-
padding-bottom: 15px;
+
}
}
-
 
+
-
.navbar-default .navbar-nav>li>a:hover, .navbar-default .navbar-nav>li>a:focus {
+
.mainHeader nav {
-
height: 100%;
+
background:#1A1A80;
 +
font-size: 1.143em;
 +
height: 160px;
 +
line-height: 30px;
 +
margin-bottom: 0;
 +
border-radius: 5px;
 +
-moz-border-radius: 5px;
 +
-webkit-border-radius: 5px;
}
}
-
#services_tabs { padding-left: 0; }
+
 +
.mainHeader nav ul {
 +
list-style: none;
 +
margin: 0 auto;
 +
padding-left: 0;
 +
}
 +
 +
.mainHeader nav li {
 +
margin-left: 0 auto;
 +
width: 100%;
 +
}
 +
 +
.mainHeader nav a:link, .mainHeader nav a:visited {
 +
color: #FFF;
 +
display: block;
 +
height: 30px;
 +
padding: 5px 0;
 +
text-decoration: none;
 +
}
 +
 +
.mainHeader nav a:active,
 +
.mainHeader nav .active a:link, .mainHeader nav .active a:visited {
 +
background: #CF5C3F;
 +
color: #fff;
 +
text-shadow: none !important;
 +
}
 +
 +
.mainHeader nav li a {
 +
border-radius: 5px;
 +
-moz-border-radius: 5px;
 +
-webkit-border-radius: 5px;
 +
 +
border-radius: 5px;
 +
-moz-border-radius: 5px;
 +
-webkit-border-radius: 5px;
 +
}
 +
 +
.mainHeader img {
 +
width: 68%;
 +
height: auto;
 +
}
 +
 +
.Foot {
 +
width: 100%;
 +
float: left;
 +
margin: 2% 0;
 +
padding-left: 0;
 +
background-color: #B9D3E3;
 +
border-radius: 5px;
 +
-moz-border-radius: 5px;
 +
-webkit-border-radius: 5px;
 +
color: #FFF;
 +
}
 +
 +
.Foot p {
 +
                font-family:'Comfortaa';
 +
                font-style: normal;
 +
width: 86%;
 +
margin: 2% auto;
 +
}
 +
 
 +
      .project_describe{
 +
        background-color: #ADD8E6;
 +
border-radius: 5px;
 +
-moz-border-radius: 5px;
 +
-webkit-border-radius: 5px;
 +
padding: 3% 5%;
 +
margin-bottom: 3%;
 +
float: left;
 +
        width: 40%;
 +
        justify-content: space-around;   
 +
       
 +
        }
 +
 
 +
        .project_methods{
 +
 
 +
 
 +
          }
 +
 
 +
          .project_success{
 +
 
 +
 
 +
          }
 +
 
 +
 
 +
 
}
}

Revision as of 23:19, 17 October 2014

  1. contentSub, #search-controls, .firstHeading, #footer-box, #catlinks, #p-logo {
   display:none;}
  1. top-section {
   border: none;
   height: 0px;}
  1. content {
   border: none;}



body { background-image: url('img/bg.png'); color: black; font-size: 100%; /* Base font size: 12px */ font-family: "Segoe UI", Frutiger, "Frutiger Linotype", "Dejavu Sans", "Helvetica Neue", Arial, sans-serif; line-height: 1; margin: 0; padding: 0; text-align: left; }

.body { clear: both; margin: 0 auto; width: 100%; } h2 {font-size: 1.571em} /* 22px */ h3 {font-size: 1.429em} /* 20px */ h4 {font-size: 1.286em} /* 18px */ h5 {font-size: 1.143em} /* 16px */ h6 {font-size: 1em} /* 14px */

h2, h3, h4, h5, h6 { font-weight: 400; line-height: 1.1; margin-bottom: .8em; color: black; }

a { outline: 0; }


a:link, a:visited { color: black; padding: 0 1px; text-decoration: none; }

a:hover, a:active { background-color: #B9D3E3; color: #fff; text-decoration: none; }

.mainHeader h1 {

       font-family: 'Comfortaa'; 
       font-weight: bold; 
       font-style: normal; 

font-size: 400%; text-align: center; float: none; margin: 3% 0 3% 0; color: #1A1A80; }

.mainHeader nav { background: #1A1A80; font-size: 1.143em; height: 40px; line-height: 30px; margin: 0 auto 30px auto; text-align: center; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; }

.mainHeader nav ul { list-style: none; margin: 0 auto; }

.mainHeader nav ul li { float: left; display: inline; }

.mainHeader nav a:link, .mainHeader nav a:visited {

       font-family: 'Comfortaa';
       font-weight: bold; 
       font-style: normal; 

text-transform: uppercase; color: #FFFFFF; display: inline-block; height: 30px; padding: 5px 23px; text-decoration: none; } .mainHeader nav a:hover, .mainHeader nav a:active, .mainHeader nav .active a:link, .mainHeader nav .active a:visited { background: #B9D3E3; color: #FFFFFF; text-shadow: none !important; }

.mainHeader nav li a { border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; }

.sciencephoto img{

   width: 800px;
   height: auto;
display: block;

margin-left: auto; margin-right: auto; }

.sciencedescription { position:absolute;

   top:680px;
   left:88px;  
   width:800px;
   background-color: #4682B4;  
   font-size:28px;  
   color:white;  
   opacity:0.7;
   filter:alpha(opacity=70);

}

.home_leftcontent { background-color: #ADD8E6; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; padding: 3% 5%; margin: 2% 1% 2% 3%; float: left;

       width: 35%;
font-size:24px; 

}

.home_leftcontent a { color:#000080; font-style: italic; }

.home_rightcontent { background-color: #ADD8E6; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; padding: 3% 5%; margin: 2% 3% 2% 1%; float: right; width: 35%;

font-size:24px; 

}

.home_rightcontent a { color:#000080; font-style: italic; }

@media only screen and (min-width : 150px) and (max-width : 780px) { .body { clear: both; margin: 0 auto; width: 90%; font-size: 90%; }

.mainHeader nav { background:#1A1A80; font-size: 1.143em; height: 160px; line-height: 30px; margin-bottom: 0; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; }

.mainHeader nav ul { list-style: none; margin: 0 auto; padding-left: 0; }

.mainHeader nav li { margin-left: 0 auto; width: 100%; }

.mainHeader nav a:link, .mainHeader nav a:visited { color: #FFF; display: block; height: 30px; padding: 5px 0; text-decoration: none; }

.mainHeader nav a:active, .mainHeader nav .active a:link, .mainHeader nav .active a:visited { background: #CF5C3F; color: #fff; text-shadow: none !important; }

.mainHeader nav li a { border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px;

border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; }

.mainHeader img { width: 68%; height: auto; }

.Foot { width: 100%; float: left; margin: 2% 0; padding-left: 0; background-color: #B9D3E3; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; color: #FFF; }

.Foot p {

               font-family:'Comfortaa';
               font-style: normal;

width: 86%; margin: 2% auto; }

      .project_describe{
       background-color: #ADD8E6;

border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; padding: 3% 5%; margin-bottom: 3%; float: left;

       width: 40%;
       justify-content: space-around;    
        
        }
        .project_methods{


         }
          .project_success{


         }


}