Team:Manchester/css/coming-soon.css
From 2014.igem.org
(4 intermediate revisions not shown) | |||
Line 15: | Line 15: | ||
padding-left: 90px; | padding-left: 90px; | ||
text-align: center; | text-align: center; | ||
- | position: | + | position: static; |
display: block; | display: block; | ||
+ | float: center; | ||
} | } | ||
Line 25: | Line 26: | ||
/*padding: 100px;*/ | /*padding: 100px;*/ | ||
display: inline-block; | display: inline-block; | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
} | } | ||
.top-bit a{ | .top-bit a{ | ||
Line 54: | Line 48: | ||
position: relative; | position: relative; | ||
/*display: block;*/ | /*display: block;*/ | ||
+ | } | ||
+ | |||
+ | @media screen and (max-height: 30.5em) { | ||
+ | .top-bit h1 { float: center;} | ||
+ | .top-bit a { float:center; } | ||
} | } |
Latest revision as of 19:02, 16 August 2014
body { font-family: 'Roboto', serif; } h1.main,p.demos { -webkit-animation-delay: 5s; -moz-animation-delay: 5s; -ms-animation-delay: 5s; animation-delay: 5s; } .top-bit{ width: 100%; line-height: 35px; padding-bottom: 0px; padding-right: 90px; padding-left: 90px; text-align: center; position: static; display: block;
float: center;
}
.top-bit h1{ float: left; color: #3D007A; /*text-transform: uppercase;*/ /*padding: 100px;*/ display: inline-block; } .top-bit a{ float: right; /*font-size: 2em;*/ /*padding: 0px 40px;*/ /*display: block;*/ color: #000000; /*border-bottom: 2px solid;*/ margin-right: 50px; }
.top-bit a:hover{ border-bottom: 2px solid; } .overall-bit{ width: 100%; line-height: 90px; padding: 10px; color: #000000; text-align: center; position: relative; /*display: block;*/ }
@media screen and (max-height: 30.5em) {
.top-bit h1 { float: center;}
.top-bit a { float:center; } }