Difference between revisions of "Template:Team:TU Eindhoven/UC CSS"

 
(44 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* Start Removing iGEM Style */
+
<html>
 +
/* reset */
 +
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,dl,dt,dd,ol,nav ul,nav li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline;}
 +
article, aside, details, figcaption, figure,footer, header, hgroup, menu, nav, section {display: block;}
 +
ol,ul{list-style:none;margin:0px;padding:0px;}
 +
blockquote,q{quotes:none;}
 +
blockquote:before,blockquote:after,q:before,q:after{content:'';content:none;}
 +
table{border-collapse:collapse;border-spacing:0;}
  
body {
 
  margin-top: 0px;
 
}
 
  
 
#content {
 
#content {
  width:auto;
+
padding-top: 8%;
  margin:0px;
+
  padding:0px;
+
  border:none;
+
  background:none;
+
 
}
 
}
  
#globalWrapper {
+
#bodyContent h1{
  width:auto;
+
margin-bottom: 20px;
  padding:0px;
+
  margin-top:-25px;
+
}
+
 
+
#top-section {
+
  height:10%;
+
  width:100%;
+
  border:none;
+
  border-top:none;
+
 
}
 
}
  
#searchInput, #contentSub, #search-controls, .firstHeading, #footer-box, #catlinks, #p-logo {
 
  display:none;
 
}
 
 
a {
 
  background:none;
 
}
 
 
/* End Removing iGEM Style */
 
 
 
/* reset */
 
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,dl,dt,dd,ol,nav ul,nav li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline;}
 
article, aside, details, figcaption, figure,footer, header, hgroup, menu, nav, section {display: block;}
 
ol,ul{list-style:none;margin:0px;padding:0px;}
 
blockquote,q{quotes:none;}
 
blockquote:before,blockquote:after,q:before,q:after{content:'';content:none;}
 
table{border-collapse:collapse;border-spacing:0;}
 
 
/* start editing from here */
 
/* start editing from here */
 
a{text-decoration:none;}
 
a{text-decoration:none;}
Line 54: Line 27:
 
.pos-relative{position:relative;}/* Position Relative */
 
.pos-relative{position:relative;}/* Position Relative */
 
.pos-absolute{position:absolute;}/* Position Absolute */
 
.pos-absolute{position:absolute;}/* Position Absolute */
.vertical-base{ vertical-align:baseline;}/* vertical align baseline */
+
.vertical-base{ vertical-align:baseline;}/* vertical align baseline */
.vertical-top{ vertical-align:top;}/* vertical align top */
+
.vertical-top{ vertical-align:top;}/* vertical align top */
.underline{ padding-bottom:5px; border-bottom: 1px solid #eee; margin:0 0 20px 0;}/* Add 5px bottom padding and a underline */
+
.underline{ padding-bottom:5px; border-bottom: 1px solid #eee; margin:0 0 20px 0;}/* Add 5px bottom padding and a underline */
nav.vertical ul li{ display:block;}/* vertical menu */
+
nav.vertical ul li{ display:block;}/* vertical menu */
nav.horizontal ul li{ display: inline-block;}/* horizontal menu */
+
nav.horizontal ul li{   display: inline-block;}/* horizontal menu */
 
img{max-width:100%;}
 
img{max-width:100%;}
 
/*end reset*/
 
/*end reset*/
 
body{
 
body{
background-size:100% 100%;
+
    background-size:100% 100%;
background:url('../images/bg.png') repeat-x;
+
    background:url('https://static.igem.org/mediawiki/2015/d/d0/TU_Eindhoven_Background.png') repeat-x;
font-family: "verdana" Arial, Helvetica, sans-serif;
+
    font-family: "verdana" Arial, Helvetica, sans-serif;
 
}
 
}
 
.wrap{
 
.wrap{
margin:0 auto;
+
    margin:0 auto;
width:80%;
+
    width:80%;
 
}
 
}
 
h1{
 
h1{
font-family: 'Audiowide', cursive;
+
    font-family: 'Audiowide', cursive;
font-size: 3em;
+
    font-size: 3em;
color: #fff;
+
    color: #fff;
text-align:center;
+
    text-align:center;
font-weight:normal;
+
    font-weight:normal;
margin-top:10%;
+
    margin-top:10%;
margin-bottom: 2%;
+
    margin-bottom: 2%;
 
}
 
}
 
.main{
 
.main{
background: #ebebeb;
+
    background: #ebebeb;
box-shadow: 0px 0px 10px #5f5f5f;
+
    box-shadow: 0px 0px 10px #5f5f5f;
-webkit-box-shadow: 0px 0px 10px #5f5f5f;
+
    -webkit-box-shadow: 0px 0px 10px #5f5f5f;
-moz-box-shadow: 0px 0px 10px #5f5f5f;
+
    -moz-box-shadow: 0px 0px 10px #5f5f5f;
-o-box-shadow: 0px 0px 10px #5f5f5f;
+
    -o-box-shadow: 0px 0px 10px #5f5f5f;
text-align:center;
+
    text-align:center;
padding:20px;
+
    padding:20px;
-webkit-border-radius:1em;
+
    -webkit-border-radius:1em;
-moz-border-radius:1em;
+
    -moz-border-radius:1em;
-o-border-radius:1em;
+
    -o-border-radius:1em;
 
}
 
}
 
.banner{
 
.banner{
float: left;
+
    float: left;
width: 14.33%;
+
    width: 14.33%;
margin-right: 2.33%;
+
    margin-right: 2.33%;
 
}
 
}
 
.text{
 
.text{
float: left;
+
    float: left;
width: 74.33%;
+
    width: 74.33%;
margin-top: 2%;
+
    margin-top: 2%;
 
}
 
}
 
h2{
 
h2{
font-family: "Century Gothic" Arial, Helvetica, sans-serif;
+
    font-family: "Century Gothic" Arial, Helvetica, sans-serif;
font-size: 2em;
+
    font-size: 2em;
color: #45A09B;
+
    color: #45A09B;
text-transform:capitalize;
+
    text-transform:capitalize;
font-weight:bold;
+
    font-weight:bold;
 
}
 
}
 
h3{
 
h3{
font-size: 1.4em;
+
    font-size: 1.4em;
color:rgb(213, 163, 7);
+
    color:rgb(213, 163, 7);
text-transform:capitalize;
+
    text-transform:capitalize;
text-align:left;
+
    text-align:left;
 
}
 
}
 
/*timer*/
 
/*timer*/
 
.clock-ticker {
 
.clock-ticker {
margin:3.33% 0;
+
    margin:3.33% 0;
width: 100%;  
+
    width: 100%;  
display:inline-block;
+
    display:inline-block;
 
}
 
}
 
.clock-ticker .block:nth-child(4) {
 
.clock-ticker .block:nth-child(4) {
margin-right: 0;
+
    margin-right: 0;
 
}
 
}
 
.clock-ticker .block {
 
.clock-ticker .block {
font-family: "Century Gothic" Arial, Helvetica, sans-serif;
+
    font-family: "Century Gothic" Arial, Helvetica, sans-serif;
width:23.33%;
+
    width:23.33%;
position: relative;
+
    position: relative;
color:#45A09B;
+
    color:#45A09B;
float: left;
+
    float: left;
margin-right: 2%;
+
    margin-right: 2%;
background: #ffffff;
+
    background: #ffffff;
border-radius: 6px;
+
    border-radius: 6px;
-webkit-border-radius: 6px;
+
    -webkit-border-radius: 6px;
-moz-border-radius: 6px;
+
    -moz-border-radius: 6px;
-o-border-radius: 6px;
+
    -o-border-radius: 6px;
box-shadow:0px 0px 10px #999;
+
    box-shadow:0px 0px 10px #999;
-webkit-box-shadow:0px 0px 10px #999;
+
    -webkit-box-shadow:0px 0px 10px #999;
-o-box-shadow:0px 0px 10px #999;
+
    -o-box-shadow:0px 0px 10px #999;
box-shadow:0px 0px 10px #999;
+
    box-shadow:0px 0px 10px #999;
 
}
 
}
 
.clock-ticker .block .flip-top {  
 
.clock-ticker .block .flip-top {  
font-size:3em;  
+
    font-size:3em;  
text-align: center;  
+
    text-align: center;  
 
}
 
}
 
.label {
 
.label {
font-family: "Century Gothic" Helvetica, sans-serif;
+
    font-family: "Century Gothic" Helvetica, sans-serif;
color:rgb(70, 175, 169);
+
    color:rgb(70, 175, 169);
font-weight:normal;  
+
    font-weight:normal;  
font-size: 0.9em;
+
    font-size: 0.9em;
text-transform:capitalize;
+
    text-transform:capitalize;
margin-bottom:8px;  
+
    margin-bottom:8px;  
 
}
 
}
 
.searchbox {
 
.searchbox {
position:relative;
+
    position:relative;
border:2px solid #ddd;
+
    border:2px solid #ddd;
background:#fff;
+
    background:#fff;
-o-border-radius:10px;
+
    -o-border-radius:10px;
-webkit-border-radius:10px;
+
    -webkit-border-radius:10px;
-moz-border-radius:10px;
+
    -moz-border-radius:10px;
width: 99%;
+
    width: 99%;
padding: 4px;
+
    padding: 4px;
overflow: hidden;
+
    overflow: hidden;
margin: 0 auto;
+
    margin: 0 auto;
 
}
 
}
 
.search {
 
.search {
position:relative;
+
    position:relative;
padding: 6px 9px;
+
    padding: 6px 9px;
height: 26px;
+
    height: 26px;
width: 96.33%;
+
    width: 96.33%;
border:none;
+
    border:none;
color:#555;
+
    color:#555;
outline:none;
+
    outline:none;
font: normal 13px;
+
    font: normal 13px;
background: rgb(243, 243, 243);
+
    background: rgb(243, 243, 243);
-o-border-radius:6px;
+
    -o-border-radius:6px;
-webkit-border-radius:6px;
+
    -webkit-border-radius:6px;
-moz-border-radius:6px;
+
    -moz-border-radius:6px;
 
}
 
}
 
.submit {
 
.submit {
position:absolute;
+
    position:absolute;
right:10px;
+
    right:10px;
border: 1px solid #c08c32;
+
    border: 1px solid #c08c32;
background: #fed76f;
+
    background: #fed76f;
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJod…EiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
+
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJod…EiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
background: -moz-linear-gradient(top, #fed76f 0%, #f9bd53 100%);
+
    background: -moz-linear-gradient(top, #fed76f 0%, #f9bd53 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fed76f), color-stop(100%,#f9bd53));
+
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fed76f), color-stop(100%,#f9bd53));
background: -webkit-linear-gradient(top, #fed76f 0%,#f9bd53 100%);
+
    background: -webkit-linear-gradient(top, #fed76f 0%,#f9bd53 100%);
background: -o-linear-gradient(top, #fed76f 0%,#f9bd53 100%);
+
    background: -o-linear-gradient(top, #fed76f 0%,#f9bd53 100%);
background: -ms-linear-gradient(top, #fed76f 0%,#f9bd53 100%);
+
    background: -ms-linear-gradient(top, #fed76f 0%,#f9bd53 100%);
background: linear-gradient(top, #fed76f 0%,#f9bd53 100%);
+
    background: linear-gradient(top, #fed76f 0%,#f9bd53 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fed76f', endColorstr='#f9bd53',GradientType=0 );
+
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fed76f', endColorstr='#f9bd53',GradientType=0 );
box-shadow: 0 -1px 1px rgba(0,0,0,0.2) inset, 0 1px 1px rgba(255,255,255,0.8) inset, 1px 2px 2px -1px rgba(0,0,0,0.3);
+
    box-shadow: 0 -1px 1px rgba(0,0,0,0.2) inset, 0 1px 1px rgba(255,255,255,0.8) inset, 1px 2px 2px -1px rgba(0,0,0,0.3);
-moz-box-shadow: 0 -1px 1px rgba(0,0,0,0.2) inset, 0 1px 1px rgba(255,255,255,0.8) inset, 1px 2px 2px -1px rgba(0,0,0,0.3);
+
    -moz-box-shadow: 0 -1px 1px rgba(0,0,0,0.2) inset, 0 1px 1px rgba(255,255,255,0.8) inset, 1px 2px 2px -1px rgba(0,0,0,0.3);
-webkit-box-shadow: 0 -1px 1px rgba(0,0,0,0.2) inset, 0 1px 1px rgba(255,255,255,0.8) inset, 1px 2px 2px -1px rgba(0,0,0,0.3);
+
    -webkit-box-shadow: 0 -1px 1px rgba(0,0,0,0.2) inset, 0 1px 1px rgba(255,255,255,0.8) inset, 1px 2px 2px -1px rgba(0,0,0,0.3);
color: #7b540b;
+
    color: #7b540b;
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
+
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
-moz-border-radius:4px;
+
    -moz-border-radius:4px;
-o-border-radius:4px;
+
    -o-border-radius:4px;
border-radius: 4px;
+
    border-radius: 4px;
-webkit-border-radius:4px;
+
    -webkit-border-radius:4px;
height:38px;
+
    height:38px;
width: 18.9%;
+
    width: 18.9%;
cursor: pointer;
+
    cursor: pointer;
font-size:1.2em;
+
    font-size:1.2em;
 
}
 
}
 
.submit:hover {
 
.submit:hover {
border: 1px solid #c08c32;
+
    border: 1px solid #c08c32;
background: #fed66e;
+
    background: #fed66e;
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJod…EiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
+
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJod…EiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
background: -moz-linear-gradient(top, #fed66e 0%, #eaae45 100%);
+
    background: -moz-linear-gradient(top, #fed66e 0%, #eaae45 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fed66e), color-stop(100%,#eaae45));
+
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fed66e), color-stop(100%,#eaae45));
background: -webkit-linear-gradient(top, #fed66e 0%,#eaae45 100%);
+
    background: -webkit-linear-gradient(top, #fed66e 0%,#eaae45 100%);
background: -o-linear-gradient(top, #fed66e 0%,#eaae45 100%);
+
    background: -o-linear-gradient(top, #fed66e 0%,#eaae45 100%);
background: -ms-linear-gradient(top, #fed66e 0%,#eaae45 100%);
+
    background: -ms-linear-gradient(top, #fed66e 0%,#eaae45 100%);
background: linear-gradient(top, #fed66e 0%,#eaae45 100%);
+
    background: linear-gradient(top, #fed66e 0%,#eaae45 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fed66e', endColorstr='#eaae45',GradientType=0 );
+
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fed66e', endColorstr='#eaae45',GradientType=0 );
box-shadow: 0 -1px 1px rgba(0,0,0,0.2) inset, 0 1px 1px rgba(255,255,255,0.8) inset, 1px 2px 2px -1px rgba(0,0,0,0.3);
+
    box-shadow: 0 -1px 1px rgba(0,0,0,0.2) inset, 0 1px 1px rgba(255,255,255,0.8) inset, 1px 2px 2px -1px rgba(0,0,0,0.3);
-moz-box-shadow: 0 -1px 1px rgba(0,0,0,0.2) inset, 0 1px 1px rgba(255,255,255,0.8) inset, 1px 2px 2px -1px rgba(0,0,0,0.3);
+
    -moz-box-shadow: 0 -1px 1px rgba(0,0,0,0.2) inset, 0 1px 1px rgba(255,255,255,0.8) inset, 1px 2px 2px -1px rgba(0,0,0,0.3);
-webkit-box-shadow: 0 -1px 1px rgba(0,0,0,0.2) inset, 0 1px 1px rgba(255,255,255,0.8) inset, 1px 2px 2px -1px rgba(0,0,0,0.3);
+
    -webkit-box-shadow: 0 -1px 1px rgba(0,0,0,0.2) inset, 0 1px 1px rgba(255,255,255,0.8) inset, 1px 2px 2px -1px rgba(0,0,0,0.3);
color: #7b540b;
+
    color: #7b540b;
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
+
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
 
}
 
}
 
.icons{
 
.icons{
float: left;
+
    float: left;
width:40.33%;
+
    width:40.33%;
 
}
 
}
 
.left{
 
.left{
float: left;
+
    float: left;
 
}
 
}
 
.icons ul li{
 
.icons ul li{
display:inline;
+
    display:inline;
 
}
 
}
 
.icons ul li a{
 
.icons ul li a{
display: inline-block;
+
    display: inline-block;
 
}
 
}
 
.icons ul li a img{
 
.icons ul li a img{
-webkit-border-radius: 4px;
+
    -webkit-border-radius: 4px;
-moz-border-radius: 4px;
+
    -moz-border-radius: 4px;
-o-border-radius: 4px;
+
    -o-border-radius: 4px;
border-radius: 4px;
+
    border-radius: 4px;
 
}
 
}
 
.icons ul li a img:hover,.icons1 ul li a img:hover{
 
.icons ul li a img:hover,.icons1 ul li a img:hover{
opacity: 0.8;
+
    opacity: 0.8;
 
}
 
}
 
.icons p{
 
.icons p{
color:rgb(240, 144, 0);
+
    color:rgb(240, 144, 0);
line-height: 1.4em;
+
    line-height: 1.4em;
font-size: 1.4em;
+
    font-size: 1.4em;
margin-right:2.33%;
+
    margin-right:2.33%;
text-transform:capitalize;
+
    text-transform:capitalize;
 
}
 
}
 
.content{
 
.content{
margin-top: 2%;
+
    margin-top: 2%;
 
}
 
}
 
/*footer*/
 
/*footer*/
 
.footer{
 
.footer{
font-family: "Century Gothic";
+
    font-family: "Century Gothic";
position: absolute;
+
    position: absolute;
right: 20px;
+
    right: 20px;
bottom:20px;
+
    bottom:20px;
 
}
 
}
 
.footer p{
 
.footer p{
font-size:1em;
+
    font-size:1em;
color: rgb(240, 144, 0);
+
    color: rgb(240, 144, 0);
 
}
 
}
 
.footer a{
 
.footer a{
color:#45A09B;
+
    color:#45A09B;
 
}
 
}
 
.footer a:hover{
 
.footer a:hover{
text-decoration:underline;
+
    text-decoration:underline;
 
}
 
}
 
/*media queries*/
 
/*media queries*/
 
@media all and (max-width:1366px) and (min-width:1280px){
 
@media all and (max-width:1366px) and (min-width:1280px){
 
.wrap{
 
.wrap{
width: 90%;
+
        width: 90%;
 
}
 
}
 
}
 
}
 
@media all and (max-width:1280px) and (min-width:1024px){
 
@media all and (max-width:1280px) and (min-width:1024px){
 
.wrap{
 
.wrap{
width: 90%;
+
    width: 90%;
 
}
 
}
 
h1{
 
h1{
font-size: 2.6em;
+
    font-size: 2.6em;
 
}
 
}
 
h3{
 
h3{
font-size: 1.4em;
+
    font-size: 1.4em;
 
}
 
}
 
.icons1{
 
.icons1{
width: 18.33%;
+
    width: 18.33%;
 
}
 
}
}
+
}  
 
@media all and (max-width:1024px) and (min-width:800px){
 
@media all and (max-width:1024px) and (min-width:800px){
 
.wrap{
 
.wrap{
width: 90%;
+
    width: 90%;
 
}
 
}
 
h1 {
 
h1 {
font-size:2.4em;
+
    font-size:2.4em;
 
}
 
}
 
h3{
 
h3{
font-size: 1.2em;
+
    font-size: 1.2em;
 
}
 
}
 
.icons p, .icons1 p{
 
.icons p, .icons1 p{
font-size: 1.3em;
+
    font-size: 1.3em;
 
}
 
}
 
.search {
 
.search {
width:76.33%;
+
    width:76.33%;
 
}
 
}
 
.icons1{
 
.icons1{
width: 28.33%;
+
    width: 28.33%;
 
}
 
}
 
}
 
}
 
@media all and (max-width:800px) and (min-width:640px){
 
@media all and (max-width:800px) and (min-width:640px){
 
.wrap{
 
.wrap{
width: 90%;
+
    width: 90%;
 
}
 
}
 
h1 {
 
h1 {
font-size:2.4em;
+
    font-size:2.4em;
 
}
 
}
 
h3{
 
h3{
font-size: 1.2em;
+
    font-size: 1.2em;
 
}
 
}
 
.icons p, .icons1 p{
 
.icons p, .icons1 p{
font-size: 1em;
+
    font-size: 1em;
 
}
 
}
 
.search {
 
.search {
width:74.33%;
+
    width:74.33%;
 
}
 
}
 
.icons1{
 
.icons1{
width: 24.33%;
+
    width: 24.33%;
 
}
 
}
 
}
 
}
 
@media all and (max-width:640px) and (min-width:480px){
 
@media all and (max-width:640px) and (min-width:480px){
 
.wrap{
 
.wrap{
width: 90%;
+
    width: 90%;
 
}
 
}
 
h1 {
 
h1 {
font-size:2em;
+
    font-size:2em;
 
}
 
}
 
h3{
 
h3{
font-size: 1em;
+
    font-size: 1em;
 
}
 
}
 
.icons p, .icons1 p{
 
.icons p, .icons1 p{
font-size: 0.9em;
+
    font-size: 0.9em;
 
}
 
}
 
.search {
 
.search {
width:74.33%;
+
    width:74.33%;
 
}
 
}
 
.clock-ticker .block .flip-top {
 
.clock-ticker .block .flip-top {
font-size: 2em;
+
    font-size: 2em;
 
}
 
}
 
.icons{
 
.icons{
width: 60.33%;
+
    width: 60.33%;
 
}
 
}
 
.icons1{
 
.icons1{
width: 26.33%;
+
    width: 26.33%;
 
}
 
}
 
}
 
}
 
@media all and (max-width:480px) and (min-width:320px){
 
@media all and (max-width:480px) and (min-width:320px){
 
.wrap{
 
.wrap{
width: 90%;
+
    width: 90%;
 
}
 
}
 
h1 {
 
h1 {
font-size:2em;
+
    font-size:2em;
 
}
 
}
 
h2{
 
h2{
font-size: 1.4em;
+
    font-size: 1.4em;
 
}
 
}
 
h3{
 
h3{
font-size: 1em;
+
    font-size: 1em;
 
}
 
}
 
.clock-ticker .block .flip-top {
 
.clock-ticker .block .flip-top {
font-size: 1.6em;
+
    font-size: 1.6em;
 
}
 
}
 
.icons p, .icons1 p{
 
.icons p, .icons1 p{
font-size: 0.9em;
+
    font-size: 0.9em;
 
}
 
}
 
.banner{
 
.banner{
float: none;
+
    float: none;
width: 100%;
+
    width: 100%;
 
}
 
}
 
.text{
 
.text{
float: none;
+
    float: none;
width: 100%;
+
    width: 100%;
 
}
 
}
 
.search {
 
.search {
width:72.33%;
+
    width:72.33%;
 
}
 
}
 
.icons,.icons1{
 
.icons,.icons1{
float:none;
+
    float:none;
width: 100%;
+
    width: 100%;
 
}
 
}
 
.icons1{
 
.icons1{
margin-top: 1%;
+
    margin-top: 1%;
 
}
 
}
 
}
 
}
 
@media all and (max-width:320px){
 
@media all and (max-width:320px){
 
.wrap{
 
.wrap{
width: 90%;
+
    width: 90%;
 
}
 
}
 
h1 {
 
h1 {
font-size:1.6em;
+
    font-size:1.6em;
 
}
 
}
 
h2{
 
h2{
font-size: 1em;
+
    font-size: 1em;
font-weight: normal;
+
    font-weight: normal;
 
}
 
}
 
h3{
 
h3{
font-size:0.9em;
+
    font-size:0.9em;
 
}
 
}
 
.clock-ticker .block .flip-top {
 
.clock-ticker .block .flip-top {
font-size: 1.6em;
+
    font-size: 1.6em;
 
}
 
}
 
.icons p, .icons1 p,.submit{
 
.icons p, .icons1 p,.submit{
font-size: 0.9em;
+
    font-size: 0.9em;
 
}
 
}
 
.banner{
 
.banner{
float: none;
+
    float: none;
width: 100%;
+
    width: 100%;
 
}
 
}
 
.text{
 
.text{
float: none;
+
    float: none;
width: 100%;
+
    width: 100%;
 
}
 
}
 
.search {
 
.search {
width:68.33%;
+
    width:68.33%;
 
}
 
}
 
.icons,.icons1{
 
.icons,.icons1{
float:none;
+
    float:none;
width: 100%;
+
    width: 100%;
 
}
 
}
 
.icons1{
 
.icons1{
margin-top: 1%;
+
    margin-top: 1%;
 
}
 
}
 
}
 
}
 
+
 
.extra{
 
.extra{
 
font-family: "Century Gothic" Arial, Helvetica, sans-serif;
 
font-family: "Century Gothic" Arial, Helvetica, sans-serif;
 
font-style:italic;
 
font-style:italic;
 
position:relative;
 
position:relative;
margin: 7% 23%;
+
margin: 120px auto;
 
width: 800px;
 
width: 800px;
 
}
 
}
 +
</html>

Latest revision as of 18:44, 12 April 2015

/* reset */ html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,dl,dt,dd,ol,nav ul,nav li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline;} article, aside, details, figcaption, figure,footer, header, hgroup, menu, nav, section {display: block;} ol,ul{list-style:none;margin:0px;padding:0px;} blockquote,q{quotes:none;} blockquote:before,blockquote:after,q:before,q:after{content:'';content:none;} table{border-collapse:collapse;border-spacing:0;} #content { padding-top: 8%; } #bodyContent h1{ margin-bottom: 20px; } /* start editing from here */ a{text-decoration:none;} .txt-rt{text-align:right;}/* text align right */ .txt-lt{text-align:left;}/* text align left */ .txt-center{text-align:center;}/* text align center */ .float-rt{float:right;}/* float right */ .float-lt{float:left;}/* float left */ .clear{clear:both;}/* clear float */ .pos-relative{position:relative;}/* Position Relative */ .pos-absolute{position:absolute;}/* Position Absolute */ .vertical-base{ vertical-align:baseline;}/* vertical align baseline */ .vertical-top{ vertical-align:top;}/* vertical align top */ .underline{ padding-bottom:5px; border-bottom: 1px solid #eee; margin:0 0 20px 0;}/* Add 5px bottom padding and a underline */ nav.vertical ul li{ display:block;}/* vertical menu */ nav.horizontal ul li{ display: inline-block;}/* horizontal menu */ img{max-width:100%;} /*end reset*/ body{ background-size:100% 100%; background:url('https://static.igem.org/mediawiki/2015/d/d0/TU_Eindhoven_Background.png') repeat-x; font-family: "verdana" Arial, Helvetica, sans-serif; } .wrap{ margin:0 auto; width:80%; } h1{ font-family: 'Audiowide', cursive; font-size: 3em; color: #fff; text-align:center; font-weight:normal; margin-top:10%; margin-bottom: 2%; } .main{ background: #ebebeb; box-shadow: 0px 0px 10px #5f5f5f; -webkit-box-shadow: 0px 0px 10px #5f5f5f; -moz-box-shadow: 0px 0px 10px #5f5f5f; -o-box-shadow: 0px 0px 10px #5f5f5f; text-align:center; padding:20px; -webkit-border-radius:1em; -moz-border-radius:1em; -o-border-radius:1em; } .banner{ float: left; width: 14.33%; margin-right: 2.33%; } .text{ float: left; width: 74.33%; margin-top: 2%; } h2{ font-family: "Century Gothic" Arial, Helvetica, sans-serif; font-size: 2em; color: #45A09B; text-transform:capitalize; font-weight:bold; } h3{ font-size: 1.4em; color:rgb(213, 163, 7); text-transform:capitalize; text-align:left; } /*timer*/ .clock-ticker { margin:3.33% 0; width: 100%; display:inline-block; } .clock-ticker .block:nth-child(4) { margin-right: 0; } .clock-ticker .block { font-family: "Century Gothic" Arial, Helvetica, sans-serif; width:23.33%; position: relative; color:#45A09B; float: left; margin-right: 2%; background: #ffffff; border-radius: 6px; -webkit-border-radius: 6px; -moz-border-radius: 6px; -o-border-radius: 6px; box-shadow:0px 0px 10px #999; -webkit-box-shadow:0px 0px 10px #999; -o-box-shadow:0px 0px 10px #999; box-shadow:0px 0px 10px #999; } .clock-ticker .block .flip-top { font-size:3em; text-align: center; } .label { font-family: "Century Gothic" Helvetica, sans-serif; color:rgb(70, 175, 169); font-weight:normal; font-size: 0.9em; text-transform:capitalize; margin-bottom:8px; } .searchbox { position:relative; border:2px solid #ddd; background:#fff; -o-border-radius:10px; -webkit-border-radius:10px; -moz-border-radius:10px; width: 99%; padding: 4px; overflow: hidden; margin: 0 auto; } .search { position:relative; padding: 6px 9px; height: 26px; width: 96.33%; border:none; color:#555; outline:none; font: normal 13px; background: rgb(243, 243, 243); -o-border-radius:6px; -webkit-border-radius:6px; -moz-border-radius:6px; } .submit { position:absolute; right:10px; border: 1px solid #c08c32; background: #fed76f; background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJod…EiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+); background: -moz-linear-gradient(top, #fed76f 0%, #f9bd53 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fed76f), color-stop(100%,#f9bd53)); background: -webkit-linear-gradient(top, #fed76f 0%,#f9bd53 100%); background: -o-linear-gradient(top, #fed76f 0%,#f9bd53 100%); background: -ms-linear-gradient(top, #fed76f 0%,#f9bd53 100%); background: linear-gradient(top, #fed76f 0%,#f9bd53 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fed76f', endColorstr='#f9bd53',GradientType=0 ); box-shadow: 0 -1px 1px rgba(0,0,0,0.2) inset, 0 1px 1px rgba(255,255,255,0.8) inset, 1px 2px 2px -1px rgba(0,0,0,0.3); -moz-box-shadow: 0 -1px 1px rgba(0,0,0,0.2) inset, 0 1px 1px rgba(255,255,255,0.8) inset, 1px 2px 2px -1px rgba(0,0,0,0.3); -webkit-box-shadow: 0 -1px 1px rgba(0,0,0,0.2) inset, 0 1px 1px rgba(255,255,255,0.8) inset, 1px 2px 2px -1px rgba(0,0,0,0.3); color: #7b540b; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); -moz-border-radius:4px; -o-border-radius:4px; border-radius: 4px; -webkit-border-radius:4px; height:38px; width: 18.9%; cursor: pointer; font-size:1.2em; } .submit:hover { border: 1px solid #c08c32; background: #fed66e; background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJod…EiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+); background: -moz-linear-gradient(top, #fed66e 0%, #eaae45 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fed66e), color-stop(100%,#eaae45)); background: -webkit-linear-gradient(top, #fed66e 0%,#eaae45 100%); background: -o-linear-gradient(top, #fed66e 0%,#eaae45 100%); background: -ms-linear-gradient(top, #fed66e 0%,#eaae45 100%); background: linear-gradient(top, #fed66e 0%,#eaae45 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fed66e', endColorstr='#eaae45',GradientType=0 ); box-shadow: 0 -1px 1px rgba(0,0,0,0.2) inset, 0 1px 1px rgba(255,255,255,0.8) inset, 1px 2px 2px -1px rgba(0,0,0,0.3); -moz-box-shadow: 0 -1px 1px rgba(0,0,0,0.2) inset, 0 1px 1px rgba(255,255,255,0.8) inset, 1px 2px 2px -1px rgba(0,0,0,0.3); -webkit-box-shadow: 0 -1px 1px rgba(0,0,0,0.2) inset, 0 1px 1px rgba(255,255,255,0.8) inset, 1px 2px 2px -1px rgba(0,0,0,0.3); color: #7b540b; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); } .icons{ float: left; width:40.33%; } .left{ float: left; } .icons ul li{ display:inline; } .icons ul li a{ display: inline-block; } .icons ul li a img{ -webkit-border-radius: 4px; -moz-border-radius: 4px; -o-border-radius: 4px; border-radius: 4px; } .icons ul li a img:hover,.icons1 ul li a img:hover{ opacity: 0.8; } .icons p{ color:rgb(240, 144, 0); line-height: 1.4em; font-size: 1.4em; margin-right:2.33%; text-transform:capitalize; } .content{ margin-top: 2%; } /*footer*/ .footer{ font-family: "Century Gothic"; position: absolute; right: 20px; bottom:20px; } .footer p{ font-size:1em; color: rgb(240, 144, 0); } .footer a{ color:#45A09B; } .footer a:hover{ text-decoration:underline; } /*media queries*/ @media all and (max-width:1366px) and (min-width:1280px){ .wrap{ width: 90%; } } @media all and (max-width:1280px) and (min-width:1024px){ .wrap{ width: 90%; } h1{ font-size: 2.6em; } h3{ font-size: 1.4em; } .icons1{ width: 18.33%; } } @media all and (max-width:1024px) and (min-width:800px){ .wrap{ width: 90%; } h1 { font-size:2.4em; } h3{ font-size: 1.2em; } .icons p, .icons1 p{ font-size: 1.3em; } .search { width:76.33%; } .icons1{ width: 28.33%; } } @media all and (max-width:800px) and (min-width:640px){ .wrap{ width: 90%; } h1 { font-size:2.4em; } h3{ font-size: 1.2em; } .icons p, .icons1 p{ font-size: 1em; } .search { width:74.33%; } .icons1{ width: 24.33%; } } @media all and (max-width:640px) and (min-width:480px){ .wrap{ width: 90%; } h1 { font-size:2em; } h3{ font-size: 1em; } .icons p, .icons1 p{ font-size: 0.9em; } .search { width:74.33%; } .clock-ticker .block .flip-top { font-size: 2em; } .icons{ width: 60.33%; } .icons1{ width: 26.33%; } } @media all and (max-width:480px) and (min-width:320px){ .wrap{ width: 90%; } h1 { font-size:2em; } h2{ font-size: 1.4em; } h3{ font-size: 1em; } .clock-ticker .block .flip-top { font-size: 1.6em; } .icons p, .icons1 p{ font-size: 0.9em; } .banner{ float: none; width: 100%; } .text{ float: none; width: 100%; } .search { width:72.33%; } .icons,.icons1{ float:none; width: 100%; } .icons1{ margin-top: 1%; } } @media all and (max-width:320px){ .wrap{ width: 90%; } h1 { font-size:1.6em; } h2{ font-size: 1em; font-weight: normal; } h3{ font-size:0.9em; } .clock-ticker .block .flip-top { font-size: 1.6em; } .icons p, .icons1 p,.submit{ font-size: 0.9em; } .banner{ float: none; width: 100%; } .text{ float: none; width: 100%; } .search { width:68.33%; } .icons,.icons1{ float:none; width: 100%; } .icons1{ margin-top: 1%; } } .extra{ font-family: "Century Gothic" Arial, Helvetica, sans-serif; font-style:italic; position:relative; margin: 120px auto; width: 800px; }