Team:Michigan Software/css

From 2014.igem.org

(Difference between revisions)
Line 19: Line 19:
ul { margin: 0; }
ul { margin: 0; }
 +
 +
 +
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;
 +
}

Revision as of 23:04, 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 { 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*/

h1, h2, p { font-family: 'Comfortaa', Arial, sans-serif; }

h1 { font-weight: 700; }

h2 { font-size: 1.5em; }

ul { margin: 0; }


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