Template:Team:Tsinghua-A/style.css

From 2013.igem.org

(Difference between revisions)
(Created page with "<html> <style type="text/css"> - Reset: html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins,...")
Line 1: Line 1:
-
<html>
+
/*
-
<style type="text/css">
+
AUTHOR
 +
Design and code by: http://www.free-responsive-templates.com
 +
Free stock photos by: http://free-responsive-templates.com/category/free-stock-photos/
 +
Created: 17 September 2012
 +
LICENSE
 +
Released for free under a Creative Commons Attribution 3.0 Unported License (CC BY 3.0)
 +
http://creativecommons.org/licenses/by/3.0/
 +
License: http://free-responsive-templates.com/license/
-
/* Reset */
+
SUPPORT
-
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video {
+
E-mail: free.responsive.templates@gmail.com
-
margin: 0;
+
Contact: http://free-responsive-templates.com/contact/
-
padding: 0;
+
*/
-
border: 0;
+
* {
-
font-size: 100%;
+
margin:0;
-
vertical-align: baseline;
+
padding:0;
}
}
-
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
+
body {
-
display: block;
+
font-family: 'Oranienbaum', serif;
-
}
+
font-size:100%;
-
blockquote, q {
+
background:#232323 url(../images/123.jpg) no-repeat fixed center top;
-
quotes: none;
+
-
}
+
-
blockquote:before, blockquote:after, q:before, q:after {
+
-
content: "";
+
-
content: none;
+
-
}
+
-
.clearfix:before, .clearfix:after {
+
-
content: "";
+
-
display: table;
+
-
}
+
-
.clearfix:after {
+
-
clear: both;
+
-
}
+
-
.clearfix {
+
-
zoom: 1;
+
-
}
+
-
* {
+
margin: 0;
margin: 0;
padding: 0;
padding: 0;
 +
color: #ffffff;
 +
position:relative;
 +
text-shadow:0 0px, 1px 1px #2c2c2c;
}
}
-
body {
 
-
font-size: 16px;
 
-
color: #fff;
 
-
background-color: #fff;
 
-
overflow: hidden;
 
-
font-family: "Myriad Pro", "Trebuchet MS", sans-serif;
 
-
text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
 
-
}
 
-
/* Typography */
 
h1 {
h1 {
-
font-size: 50px;
+
margin:50px 0;
}
}
-
h2 {
+
h1 a {
-
font-size: 45px;
+
font-family: 'Amarante', cursive;
 +
font-size:1.5em;
 +
text-decoration:none;
 +
color:#9400D3;
 +
font-weight: bold;
}
}
-
h3 {
+
h1 a:hover {
-
font-size: 40px;
+
text-decoration:none;
}
}
-
h4 {
+
h2 {
-
font-size: 35px;
+
font-family: 'Coda', cursive;
 +
font-size:1.7em;
 +
font-weight:inherit;
 +
margin:0 0 10px 0;
 +
color:#69b0ff;
}
}
-
h5 {
+
a img {  
-
font-size: 30px;
+
border: none;
-
}
+
-
h6 {
+
-
font-size: 25px;
+
-
}
+
-
h1, h2, h3, h4, h5, h6 {
+
-
margin: 20px;
+
-
}
+
-
p {
+
-
margin-bottom: 300px;
+
}
}
a {
a {
-
color: #FFF;
+
color: #6ab0ff;
-
}
+
text-decoration: underline;  
-
a .cufon {
+
-
border-bottom: dashed 1px #FFF;
+
-
-webkit-transition: all 1s ease-out;
+
-
-moz-transition: all 1s ease-out;
+
-
-o-transition: all 1s ease-out;
+
-
-ms-transition: all 1s ease-out;
+
-
transition: all 1s ease-out;
+
-
}
+
-
a:hover .cufon {
+
-
background: rgba(0, 0, 0, 0.50);
+
-
-webkit-transition: all 1s ease-out;
+
-
-moz-transition: all 1s ease-out;
+
-
-o-transition: all 1s ease-out;
+
-
-ms-transition: all 1s ease-out;
+
-
transition: all 1s ease-out;
+
-
}
+
-
nav a .cufon {
+
-
border-bottom: none;
+
-
}
+
-
nav a:hover .cufon {
+
-
background: none;
+
-
}
+
-
.nomargin {
+
-
margin-bottom: 0px;
+
-
}
+
-
.overlay {
+
-
width: 100%;
+
-
height: 100%;
+
-
position: fixed;
+
-
top: 0px;
+
-
left: 0px;
+
-
background: url(../images/dotted.png);
+
-
opacity: 0.3;
+
-
}
+
-
.main img.preview {
+
-
position: absolute;
+
-
left: 0px;
+
-
top: 0px;
+
-
width: 100%;
+
-
-webkit-box-reflect: below 0px -webkit-gradient(linear, left bottom, left top, from(white), to(transparent));
+
-
}
+
-
ul.navigation {
+
-
position: absolute;
+
-
width: 100%;
+
-
top: 140px;
+
-
left: 0px;
+
-
list-style: none;
+
-
}
+
-
ul.navigation li {
+
-
float: left;
+
-
clear: both;
+
-
margin-bottom: 8px;
+
-
position: relative;
+
-
width: 100%;
+
-
}
+
-
ul.navigation li span.arrow_down, ul.navigation li span.arrow_up {
+
-
background-color: rgba(0, 0, 0, 0.75);
+
-
position: absolute;
+
-
width: 40px;
+
-
height: 50px;
+
-
cursor: pointer;
+
-
-webkit-box-shadow: 0px 0px 2px #000;
+
-
-moz-box-shadow: 0px 0px 2px #000;
+
-
box-shadow: 0px 0px 2px #000;
+
-
}
+
-
ul.navigation li span.arrow_down {
+
-
background: rgba(0, 0, 0, 0.75) url(../images/icons/down.png) no-repeat center center;
+
-
}
+
-
ul.navigation li span.arrow_up {
+
-
background: rgba(0, 0, 0, 0.75) url(../images/icons/up.png) no-repeat center center;
+
-
}
+
-
.wrapper {
+
-
display: none;
+
-
position: absolute;
+
-
width: 100%;
+
-
height: 126px;
+
-
-ms-overflow-y: hidden;
+
-
overflow-y: hidden;
+
-
top: 50px;
+
-
left: 0px;
+
-
-webkit-box-shadow: 1px 1px 5px #000;
+
-
-moz-box-shadow: 1px 1px 5px #000;
+
-
box-shadow: 1px 1px 5px #000;
+
-
}
+
-
.thumbs {
+
-
height: 126px;
+
-
margin: 0;
+
-
}
+
-
.thumbs img {
+
-
float: left;
+
-
margin: 3px 3px 0px 0px;
+
-
cursor: pointer;
+
-
-webkit-box-shadow: 1px 1px 5px #000;
+
-
-moz-box-shadow: 1px 1px 5px #000;
+
-
box-shadow: 1px 1px 5px #000;
+
-
opacity: 0.7;
+
-
filter: progid:DXImageTransform.Microsoft.Alpha(opacity=70);
+
-
}
+
-
.loading {
+
-
position: fixed;
+
-
top: 10px;
+
-
right: 0px;
+
-
background: rgba(0, 0, 0, 0.75) url(../images/icons/loader.gif) no-repeat 10px 50%;
+
-
padding: 15px 40px 15px 60px;
+
-
-webkit-box-shadow: 0px 0px 2px #000;
+
-
-moz-box-shadow: 0px 0px 2px #000;
+
-
box-shadow: 0px 0px 2px #000;
+
-
opacity: 0.6;
+
-
filter: progid:DXImageTransform.Microsoft.Alpha(opacity=60);
+
-
}
+
-
.about {
+
-
display: none;
+
-
position: absolute;
+
-
top: 50px;
+
-
left: 0px;
+
-
opacity: 0.6;
+
-
filter: progid:DXImageTransform.Microsoft.Alpha(opacity=60);
+
-
}
+
-
.subcontent {
+
-
background: #000;
+
-
padding: 30px;
+
-
-webkit-box-shadow: 0px 0px 10px #000;
+
-
-moz-box-shadow: 0px 0px 10px #000;
+
-
box-shadow: 0px 0px 10px #000;
+
-
}
+
-
ul.menu {
+
-
margin: 0;
+
-
padding: 0;
+
-
list-style: none;
+
-
font-size: 14px;
+
-
width: 1020px;
+
}
}
-
ul.menu a {
+
a:hover {  
 +
color: #1a86ff;
text-decoration: none;
text-decoration: none;
-
outline: none;
 
}
}
-
ul.menu li {
+
img {
-
float: left;
+
max-width: 100%;
-
width: 170px;
+
height: auto;
-
height: 85px;
+
width: auto;
-
position: relative;
+
-
cursor: pointer;
+
}
}
-
ul.menu li > a {
+
p {
-
position: absolute;
+
line-height:140%;
-
top: 0px;
+
-
left: 0px;
+
-
width: 170px;
+
-
height: 85px;
+
-
z-index: 12;
+
-
background: transparent url(../images/overlay.png) no-repeat bottom right;
+
-
background-color: rgba(0, 0, 0, 0.75);
+
-
-webkit-box-shadow: 0px 0px 2px #000 inset;
+
-
-moz-box-shadow: 0px 0px 2px #000 inset;
+
-
box-shadow: 0px 0px 2px #000 inset;
+
}
}
-
ul.menu li a img {
+
header {
-
border: none;
+
background:#2c2c2c;
-
position: absolute;
+
-
width: 0px;
+
-
height: 0px;
+
-
bottom: 0px;
+
-
left: 85px;
+
-
z-index: 100;
+
-
-webkit-box-shadow: 0px 0px 4px #000;
+
-
-moz-box-shadow: 0px 0px 4px #000;
+
-
box-shadow: 0px 0px 4px #000;
+
}
}
-
ul.menu li span.wrap {
+
.wrapper {  
-
position: absolute;
+
width:93.75%; /* 960px/1024px  */
-
top: 25px;
+
margin:0 auto;
-
left: 0px;
+
-
width: 170px;
+
-
height: 60px;
+
-
z-index: 15;
+
}
}
-
ul.menu li span.active {
+
.contentBody {
-
position: absolute;
+
width:72.916666666666666666666666666667%;
-
background: rgba(0, 0, 0, 0.75);
+
float:left;
-
top: 85px;
+
background:none repeat scroll 0 0 rgba(44, 44, 44, 0.4);
-
width: 170px;
+
-
height: 0px;
+
-
left: 0px;
+
-
z-index: 14;
+
-
-webkit-box-shadow: 0px 0px 4px #000 inset;
+
-
-moz-box-shadow: 0px 0px 4px #000 inset;
+
-
box-shadow: 0px 0px 4px #000 inset;
+
-
-webkit-border-bottom-right-radius: 15px;
+
-
-webkit-border-bottom-left-radius: 15px;
+
-
border-bottom-right-radius: 15px;
+
-
-moz-border-radius-bottomright: 15px;
+
-
border-bottom-left-radius: 15px;
+
-
-moz-border-radius-bottomleft: 15px;
+
}
}
-
ul.menu li span span.link, ul.menu li span span.descr, ul.menu li div.box a {
+
.post {
-
margin-left: 15px;
+
position:relative;
-
text-transform: uppercase;
+
-
text-shadow: 1px 1px 1px #000;
+
}
}
-
ul.menu li span span.link {
+
.post img {
-
color: #fff;
+
margin:20px 0 10px 0;
-
font-size: 22px;
+
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
-
float: left;
+
-
clear: both;
+
}
}
-
ul.menu li span span.descr {
+
.post span {
-
color: #0B75AF;
+
background:none repeat scroll 0 0 rgba(44, 44, 44, 0.4);
-
float: left;
+
padding:4px 10px;
-
clear: both;
+
position:absolute;
-
width: 155px;
+
right:4%;
-
/*For dumbass IE7*/
+
top:9%;
-
font-size: 10px;
+
font-size:0.8em;
-
letter-spacing: 1px;
+
font-style:italic;
}
}
-
ul.menu li div.box {
+
.post {
-
display: block;
+
padding:4%;
-
position: absolute;
+
-
width: 170px;
+
-
overflow: hidden;
+
-
height: 170px;
+
-
top: 85px;
+
-
left: 0px;
+
-
display: none;
+
-
background: #000;
+
}
}
-
ul.menu li div.box a {
+
.sidebar {
-
float: left;
+
width:22.916666666666666666666666666667%;
-
clear: both;
+
float:right;
-
line-height: 30px;
+
background:none repeat scroll 0 0 rgba(44, 44, 44, 0.7);
-
color: #0B75AF;
+
}
}
-
ul.menu li div.box a:first-child {
+
.sBlock {
-
margin-top: 15px;
+
padding:12%;
}
}
-
ul.menu li div.box a:hover {
+
.sBlock li {
-
color: #fff;
+
list-style:none;
 +
width:100%;
}
}
-
ul.menu {
+
.sBlock li a {
-
margin-top: 150px;
+
display:block;
 +
border-bottom:1px solid #6c6c6c;
 +
color:#ffffff;
 +
padding:10px 5px 10px 20px;
 +
background:url(../images/p.png) no-repeat 6px 14px;
 +
text-decoration:none;
}
}
-
.thumbs_wrapper {
+
.sBlock li a:hover {
-
padding-top: 30px;
+
padding:10px 5px 10px 20px;
-
padding-bottom: 30px;
+
background:rgba(44, 44, 44, 0.6) url(../images/p.png) no-repeat 6px 14px;
-
background-color: rgba(0, 0, 0, 0.75);
+
color:#6ab0ff;
}
}
-
.image {
+
footer {
-
border: 5px solid rgba(255, 255, 255, 0.30);
+
background:#2c2c2c;
-
-webkit-border-radius: 5px;
+
margin-top:30px;
-
-moz-border-radius: 5px;
+
text-align:center;
-
-o-border-radius: 5px;
+
padding:20px 10px;
-
-ms-border-radius: 5px;
+
-
-khtml-border-radius: 5px;
+
-
border-radius: 5px;
+
-
float: right;
+
-
-webkit-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
+
-
-moz-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
+
-
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
+
}
}
-
/* Pop Up */
+
footer p {
-
#popupAbout, #popupProjects, #popupContact, #popupBlog {
+
font-size:0.8571428571428571em; /* 12px/14px */
-
height: 600px;
+
-
width: 900px;
+
-
overflow: auto;
+
-
background-color: rgba(0, 0, 0, 0.75);
+
-
border: 2px solid #cecece;
+
-
z-index: 15;
+
-
padding: 20px;
+
-
color: #FFF;
+
-
-webkit-box-shadow: 0px 0px 4px #000 inset;
+
-
-moz-box-shadow: 0px 0px 4px #000 inset;
+
-
box-shadow: 0px 0px 4px #000 inset;
+
-
-webkit-border-radius: 10px;
+
-
-moz-border-radius: 10px;
+
-
-o-border-radius: 10px;
+
-
-ms-border-radius: 10px;
+
-
-khtml-border-radius: 10px;
+
-
border-radius: 10px;
+
-
margin-top: -50px;
+
-
visibility: hidden;
+
}
}
-
#popupAbout p, #popupProjects p, #popupContact p, #popupBlog p {
+
.clearfloat {  
-
padding-left: 10px;
+
clear:both;
-
font-size: 18px;
+
height:0;
-
line-height: 20px;
+
line-height: 0px;
}
}
-
#popupAbout h1, #popupProjects h1, #popupContact h1, #popupBlog h1 {
+
/**************************/
-
text-align: left;
+
/*********************************Begin main menu****************************************/
-
font-size: 30px;
+
/**************************/
-
letter-spacing: 1px;
+
nav {
-
border-bottom: 1px dotted #D3D3D3;
+
text-align: right;
-
padding-bottom: 2px;
+
padding:20px 0;
-
margin-bottom: 20px;
+
margin-bottom:20px;
 +
margin-right:4%;
}
}
-
#popupAboutClose, #popupProjectsClose, #popupContactClose, #popupBlogClose {
+
nav li {
-
right: 6px;
+
list-style:none;
-
top: 6px;
+
display:inline;
-
position: absolute;
+
-
display: block;
+
}
}
-
*:focus {
+
nav li a {
-
outline: none;
+
font-family: 'Coda', cursive;
-
/* Prevents blue border in Webkit */
+
text-shadow: none;
 +
text-decoration: none;
 +
padding:20px 10px;
 +
font-weight:bold;
 +
color:#696969;
 +
text-transform:uppercase;
}
}
-
form {
+
nav li a:hover {
-
margin-top: -275px;
+
color:#ffffff;
-
width: 350px;
+
text-decoration:none;
-
margin-left: 25px;
+
}
}
-
input, textarea {
+
nav .active a {
-
background-color: #fff;
+
color:#ffffff;
-
border: 1px solid #ccc;
+
background:#696969;
-
width: 300px;
+
-
min-height: 30px;
+
-
display: block;
+
-
margin-bottom: 16px;
+
-
margin-top: 8px;
+
-
-webkit-border-radius: 5px;
+
-
-moz-border-radius: 5px;
+
-
-o-border-radius: 5px;
+
-
-ms-border-radius: 5px;
+
-
-khtml-border-radius: 5px;
+
-
border-radius: 5px;
+
-
-webkit-transition: all 0.5s ease-in-out;
+
-
-moz-transition: all 0.5s ease-in-out;
+
-
-o-transition: all 0.5s ease-in-out;
+
-
-ms-transition: all 0.5s ease-in-out;
+
-
transition: all 0.5s ease-in-out;
+
-
color: #fff;
+
}
}
-
textarea {
+
nav select {
-
min-height: 200px;
+
      display: none;
 +
    }
 +
select {
 +
width:200px;
}
}
-
input:focus, textarea:focus {
+
/**************************/
-
-webkit-box-shadow: 0 0 25px #ccc;
+
/*********************************End main menu****************************************/
-
-moz-box-shadow: 0 0 25px #ccc;
+
/**************************/
-
box-shadow: 0 0 25px #ccc;
+
/*********************************Begin Media Queries****************************************/
-
-webkit-transform: scale(1.05);
+
/**************************/
-
-moz-transform: scale(1.05);
+
/* for 960px or less */
-
-webkit-transform: scale(1.05);
+
@media screen and (max-width: 980px) {
-
-moz-transform: scale(1.05);
+
.wrapper{
-
-o-transform: scale(1.05);
+
width:93.75%; /* 960px/1024px  */
-
-ms-transform: scale(1.05);
+
margin:0 auto;
-
-webkit-transform: scale(1.05);
+
}
-
-moz-transform: scale(1.05);
+
-
-o-transform: scale(1.05);
+
-
-ms-transform: scale(1.05);
+
-
transform: scale(1.05);
+
}
}
-
/* The interesting bit */
+
/* for 768px or less */
-
input:not(:focus), textarea:not(:focus) {
+
@media screen and (max-width: 768px) {
-
opacity: 0.5;
+
.contentBody, .sidebar {
-
}
+
float:none;
-
input:required, textarea:required {
+
width:auto;
-
background: url("../images/asterisk_orange.png") no-repeat 280px 7px;
+
}
-
}
+
.contentBody {
-
input:valid, textarea:valid {
+
margin-bottom:30px;
-
background: url("../images/tick.png") no-repeat 280px 5px;
+
padding-bottom:30px;
-
}
+
}
-
input:focus:invalid, textarea:focus:invalid {
+
h1 {
-
background: url("../images/cancel.png") no-repeat 280px 7px;
+
margin:50px 0 50px 0;
-
}
+
-
input[type=submit] {
+
-
padding: 10px;
+
-
background: none;
+
-
opacity: 1.0;
+
-
}
+
-
#social-network img {
+
-
float: right;
+
-
margin-left: 20px;
+
-
opacity: 0.6;
+
-
-webkit-transition: all 1s ease-out;
+
-
-moz-transition: all 1s ease-out;
+
-
-o-transition: all 1s ease-out;
+
-
-ms-transition: all 1s ease-out;
+
-
transition: all 1s ease-out;
+
-
}
+
-
#social-network img:hover {
+
-
opacity: 1;
+
-
-webkit-transition: all 1s ease-out;
+
-
-moz-transition: all 1s ease-out;
+
-
-o-transition: all 1s ease-out;
+
-
-ms-transition: all 1s ease-out;
+
-
transition: all 1s ease-out;
+
}
}
-
#social-network {
 
-
float: right;
 
-
margin-top: -150px;
 
-
float: left;
 
-
margin-left: 475px;
 
}
}
-
.map {
+
/* for 480px or less */
-
margin-top: -500px;
+
@media screen and (max-width: 480px) {
-
margin-right: 25px;
+
nav ul { display: none; }
-
border: 5px solid rgba(255, 255, 255, 0.30);
+
nav select { display: inline-block; }
-
-webkit-border-radius: 5px;
+
.post span { position: inherit; margin:0 4%;}
-
-moz-border-radius: 5px;
+
h1 { text-align:center; margin:20px 0;}
-
-o-border-radius: 5px;
+
nav { text-align:center;}
-
-ms-border-radius: 5px;
+
-
-khtml-border-radius: 5px;
+
-
border-radius: 5px;
+
-
float: right;
+
}
}
-
 
+
/**************************/
-
</style>
+
/*********************************End Media Queries****************************************/
-
</html>
+
/**************************/

Revision as of 10:13, 17 September 2013

/* AUTHOR Design and code by: http://www.free-responsive-templates.com Free stock photos by: http://free-responsive-templates.com/category/free-stock-photos/ Created: 17 September 2012

LICENSE Released for free under a Creative Commons Attribution 3.0 Unported License (CC BY 3.0) http://creativecommons.org/licenses/by/3.0/ License: http://free-responsive-templates.com/license/

SUPPORT E-mail: free.responsive.templates@gmail.com Contact: http://free-responsive-templates.com/contact/

  • /
  • {

margin:0; padding:0; } body { font-family: 'Oranienbaum', serif; font-size:100%; background:#232323 url(../images/123.jpg) no-repeat fixed center top; margin: 0; padding: 0; color: #ffffff; position:relative; text-shadow:0 0px, 1px 1px #2c2c2c; } h1 { margin:50px 0; } h1 a { font-family: 'Amarante', cursive; font-size:1.5em; text-decoration:none; color:#9400D3; font-weight: bold; } h1 a:hover { text-decoration:none; } h2 { font-family: 'Coda', cursive; font-size:1.7em; font-weight:inherit; margin:0 0 10px 0; color:#69b0ff; } a img { border: none; } a { color: #6ab0ff; text-decoration: underline; } a:hover { color: #1a86ff; text-decoration: none; } img { max-width: 100%; height: auto; width: auto; } p { line-height:140%; } header { background:#2c2c2c; } .wrapper { width:93.75%; /* 960px/1024px */ margin:0 auto; } .contentBody { width:72.916666666666666666666666666667%; float:left; background:none repeat scroll 0 0 rgba(44, 44, 44, 0.4); } .post { position:relative; } .post img { margin:20px 0 10px 0; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4); } .post span { background:none repeat scroll 0 0 rgba(44, 44, 44, 0.4); padding:4px 10px; position:absolute; right:4%; top:9%; font-size:0.8em; font-style:italic; } .post { padding:4%; } .sidebar { width:22.916666666666666666666666666667%; float:right; background:none repeat scroll 0 0 rgba(44, 44, 44, 0.7); } .sBlock { padding:12%; } .sBlock li { list-style:none; width:100%; } .sBlock li a { display:block; border-bottom:1px solid #6c6c6c; color:#ffffff; padding:10px 5px 10px 20px; background:url(../images/p.png) no-repeat 6px 14px; text-decoration:none; } .sBlock li a:hover { padding:10px 5px 10px 20px; background:rgba(44, 44, 44, 0.6) url(../images/p.png) no-repeat 6px 14px; color:#6ab0ff; } footer { background:#2c2c2c; margin-top:30px; text-align:center; padding:20px 10px; } footer p { font-size:0.8571428571428571em; /* 12px/14px */ } .clearfloat { clear:both; height:0; line-height: 0px; } /**************************/ /*********************************Begin main menu****************************************/ /**************************/ nav { text-align: right; padding:20px 0; margin-bottom:20px; margin-right:4%; } nav li { list-style:none; display:inline; } nav li a { font-family: 'Coda', cursive; text-shadow: none; text-decoration: none; padding:20px 10px; font-weight:bold; color:#696969; text-transform:uppercase; } nav li a:hover { color:#ffffff; text-decoration:none; } nav .active a { color:#ffffff; background:#696969; } nav select {

     display: none;
   }

select { width:200px; } /**************************/ /*********************************End main menu****************************************/ /**************************/ /*********************************Begin Media Queries****************************************/ /**************************/ /* for 960px or less */ @media screen and (max-width: 980px) { .wrapper{ width:93.75%; /* 960px/1024px */ margin:0 auto; } } /* for 768px or less */ @media screen and (max-width: 768px) { .contentBody, .sidebar { float:none; width:auto; } .contentBody { margin-bottom:30px; padding-bottom:30px; } h1 { margin:50px 0 50px 0; } } /* for 480px or less */ @media screen and (max-width: 480px) { nav ul { display: none; } nav select { display: inline-block; } .post span { position: inherit; margin:0 4%;} h1 { text-align:center; margin:20px 0;} nav { text-align:center;}

} /**************************/ /*********************************End Media Queries****************************************/ /**************************/