Cleaning up CSS

This commit is contained in:
mathias 2015-02-16 00:55:04 +02:00
parent 45a9b91e20
commit ae0ef7e450

View file

@ -18,18 +18,19 @@
} }
body { body {
width: 100%; width: 100%;
height: 100%; height: 100%;
font-family: 'Open Sans', sans-serif; font-family: 'Open Sans', sans-serif;
color: #fff; color: #fff;
background: #000; background: #000;
margin: 0; margin: 0;
webkit-tap-highlight-color: rgba(255,255,255,.2);
} }
html { html {
width: 100%; width: 100%;
height: 100%; height: 100%;
margin:0; margin: 0;
} }
h2, h2,
@ -37,177 +38,167 @@ h3,
h4, h4,
h5, h5,
h6 { h6 {
margin: 0 0 25px; margin: 0 0 25px;
text-transform: uppercase; text-transform: uppercase;
font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif; font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
font-weight: 700; font-weight: 700;
letter-spacing: 1px; letter-spacing: 1px;
text-align: center; text-align: center;
} }
p { p {
margin: 0 0 15px; margin: 0 0 15px;
line-height: 1.4; line-height: 1.4;
text-align: center; text-align: center;
} }
a { a {
color: #28c3ab; color: #28c3ab;
-webkit-transition: all .2s ease-in-out; -webkit-transition: all .2s ease-in-out;
-moz-transition: all .2s ease-in-out; -moz-transition: all .2s ease-in-out;
transition: all .2s ease-in-out; transition: all .2s ease-in-out;
} }
a:hover, a:hover,
a:focus { a:focus {
text-decoration: none; text-decoration: none;
color: #176e61; color: #176e61;
} }
.light { .light {
font-weight: 400; font-weight: 400;
} }
.intro { .intro {
display: table; display: table;
width: 100%; width: 100%;
height: 100%; height: 100%;
color: #fff; color: #fff;
background: url(/img/intro-bg.jpg) no-repeat bottom center scroll; background: url(/img/intro-bg.jpg) no-repeat bottom center scroll;
background: #000; background: #000;
-webkit-background-size: cover; -webkit-background-size: cover;
-moz-background-size: cover; -moz-background-size: cover;
background-size: cover; -o-background-size: cover;
-o-background-size: cover; background-size: cover;
} }
.intro-body { .intro-body {
display: table-cell; display: table-cell;
vertical-align: middle; vertical-align: middle;
text-align: center; text-align: center;
} }
.brand-heading { .brand-heading {
font-size: 35px; font-size: 35px;
text-transform: uppercase; text-transform: uppercase;
font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif; font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
font-weight: 700; font-weight: 700;
letter-spacing: 1px; letter-spacing: 1px;
text-align: center; text-align: center;
margin: 0; margin: 0;
} }
.intro-text { .intro-text {
font-size: 16px; font-size: 16px;
text-transform: uppercase; text-transform: uppercase;
font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif; font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
margin-top: 0px; margin-top: 0;
margin-bottom: 30px; margin-bottom: 30px;
} }
.btn-circle { .btn-circle {
padding: 9px 14px 9px 14px; padding: 9px 14px 9px 14px;
border: 1px solid #fff; border: 2px solid #fff;
border-radius: 35px; border-radius: 35px;
-webkit-border-radius: 35px; -webkit-border-radius: 35px;
-moz-border-radius: 35px; -moz-border-radius: 35px;
font-size: 20px; font-size: 20px;
color: #fff; color: #fff;
background: 0 0; background: none;
-webkit-transition: background .3s ease-in-out; -webkit-transition: background .3s ease-in-out;
-moz-transition: background .3s ease-in-out; -moz-transition: background .3s ease-in-out;
transition: background .3s ease-in-out; transition: background .3s ease-in-out;
text-decoration: none; text-decoration: none;
} }
.btn-circle:hover, .btn-circle:hover,
.btn-circle:focus { .btn-circle:focus {
outline: 0; outline: 0;
color: #fff; background: rgba(255,255,255,.1);
background: rgba(255,255,255,.1);
} }
.about-section { .about-section {
width: 100%; width: 100%;
height: 100%; height: 100%;
color: #fff; color: #fff;
display: table; display: table;
background: #000; background: #000;
} }
.about-body { .about-body {
display: table-cell; display: table-cell;
vertical-align: middle; vertical-align: middle;
padding-left: 20px; padding-left: 20px;
padding-right: 20px; padding-right: 20px;
padding-top: 40px; padding-top: 40px;
padding-bottom: 40px; padding-bottom: 40px;
font-size: 16px; font-size: 16px;
} }
::-moz-selection { ::-moz-selection {
text-shadow: none; text-shadow: none;
background: #fcfcfc; background: #fcfcfc;
background: rgba(255,255,255,.2); background: rgba(255,255,255,.2);
} }
::selection { ::selection {
text-shadow: none; text-shadow: none;
background: #fcfcfc; background: #fcfcfc;
background: rgba(255,255,255,.2); background: rgba(255,255,255,.2);
} }
img::selection { img::selection {
background: 0 0; background: 0 0;
} }
img::-moz-selection { img::-moz-selection {
background: 0 0; background: 0 0;
} }
body {
webkit-tap-highlight-color: rgba(255,255,255,.2);
}
input[type="text"] { input[type="text"] {
border: 1px solid #488c1d; border: 1px solid #488c1d;
color: #488c1d; color: #488c1d;
background-color: transparent; background: none;
padding: 7px; padding: 7px;
font-family: 'Open Sans', sans-serif; font-family: 'Open Sans', sans-serif;
font-size: 16px; font-size: 16px;
margin: 25px 0 0 0; margin: 25px 0 0 0;
-webkit-border-top-right-radius: 3px; -moz-border-radius: 0px 3px 3px 0px;
-webkit-border-bottom-right-radius: 3px; -webkit-border-radius: 0px 3px 3px 0px;
-moz-border-radius-topright: 3px; border-radius: 0px 3px 3px 0px;
-moz-border-radius-bottomright: 3px;
border-top-right-radius: 3px;
border-bottom-right-radius: 3px;
} }
input[type="text"]:hover, input[type="text"]:hover,
input[type="text"]:focus { input[type="text"]:focus {
border: 1px solid #488c1d; border: 1px solid #488c1d;
outline: 0; outline: 0;
color: #000; color: #000;
background: #488c1d; background: #488c1d;
} }
#ipbox { #ipbox {
border: 1px solid #488c1d; border: 1px solid #488c1d;
color: #000; color: #000;
background: #488c1d; background: #488c1d;
padding: 7px; padding: 7px;
display:inline-block; display: inline-block;
font-size: 16px; font-size: 16px;
margin: 25px 0 0 0; margin: 25px 0 0 0;
-webkit-border-top-left-radius: 3px; -moz-border-radius: 3px 0px 0px 3px;
-webkit-border-bottom-left-radius: 3px; -webkit-border-radius: 3px 0px 0px 3px;
-moz-border-radius-topleft: 3px; border-radius: 3px 0px 0px 3px;
-moz-border-radius-bottomleft: 3px;
border-top-left-radius: 3px;
border-bottom-left-radius: 3px;
} }
#ip { #ip {
text-align: center; text-align: center;
} }
@media(min-width:767px) { @media(min-width:767px) {
p { p {