Cleaning up CSS

This commit is contained in:
mathias 2015-02-16 14:14:33 +02:00
parent 3292a366d7
commit 7a12d98172
2 changed files with 284 additions and 32 deletions

View file

@ -5,7 +5,259 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Minecraft.ga provides you a unique and interesting experience in Minecraft. This server allows you to do whatever you want; griefing, acting like a staff member, building - you name it.">
<title>Minecraft.ga - OP Sandbox Server</title>
<link href="css/minecraft.css" rel="stylesheet">
<style>
@font-face {
font-family: 'Montserrat';
font-style: normal;
font-weight: 400;
src: local('Montserrat-Regular'), url(https://themes.googleusercontent.com/static/fonts/montserrat/v4/zhcz-_WihjSQC0oHJ9TCYBsxEYwM7FgeyaSgU71cLG0.woff) format('woff');
}
@font-face {
font-family: 'Montserrat';
font-style: normal;
font-weight: 700;
src: local('Montserrat-Bold'), url(https://themes.googleusercontent.com/static/fonts/montserrat/v4/IQHow_FEYlDC4Gzy_m8fcgFhaRv2pGgT5Kf0An0s4MM.woff) format('woff');
}
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 300;
src: local('Open Sans Light'), local('OpenSans-Light'), url(https://themes.googleusercontent.com/static/fonts/opensans/v8/DXI1ORHCpsQm3Vp6mXoaTXhCUOGz7vYGh680lGh-uXM.woff) format('woff');
}
html, body {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
body {
font-family: 'Open Sans', sans-serif;
color: #fff;
background: #000;
webkit-tap-highlight-color: rgba(255,255,255,.2);
-webkit-animation: fadein 1.5s;
-moz-animation: fadein 1.5s rotate(0.01deg);
-ms-animation: fadein 1.5s;
-o-animation: fadein 1.5s;
animation: fadein 1.5s;
-webkit-transform: translateZ(0);
-webkit-backface-visibility: hidden;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
h2 {
margin: 0 0 15px;
text-transform: uppercase;
font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
font-weight: 700;
letter-spacing: 1px;
text-align: center;
}
p {
margin: 0 0 15px;
line-height: 1.5;
text-align: center;
}
a,/
a:hover,
a:focus {
text-decoration: none;
}
#intro {
display: table;
width: 100%;
height: 100%;
color: #fff;
background-color: #5b8731;
background-image: linear-gradient(90deg, rgba(74,111,40,.3) 50%, transparent 50%),
linear-gradient(rgba(62,92,32,.2) 50%, transparent 50%);
background-size: 20px 20px;
}
#intro-body {
display: table-cell;
vertical-align: middle;
text-align: center;
}
#logo {
font-size: 35px;
text-transform: uppercase;
font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
font-weight: 700;
letter-spacing: 1px;
text-align: center;
margin: 0;
}
h1 {
font-size: 13px;
text-transform: uppercase;
font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
font-weight: 400;
margin-top: 0;
margin-bottom: 16px;
line-height: 6px;
}
#btn-circle {
display: inline-block;
width: 30px;
height: 30px;
line-height: 30px;
border: 1px solid #fff;
border-radius: 50%;
-webkit-border-radius: 50%;
-moz-border-radius: 50%;
font-size: 15px;
color: #fff;
background: none;
-webkit-transition: background .3s ease-in-out;
-moz-transition: background .3s ease-in-out;
transition: background .3s ease-in-out;
text-decoration: none;
}
#btn-circle:hover,
#btn-circle:focus {
outline: 0;
color: #fff;
background: rgba(255,255,255,.1);
}
#about {
width: 100%;
height: 100%;
color: #fff;
display: table;
background: #000;
}
#about-body {
display: table-cell;
vertical-align: middle;
padding-left: 10px;
padding-right: 10px;
padding-top: 30px;
padding-bottom: 30px;
font-size: 13px;
text-align: center;
}
::-moz-selection {
background: #fcfcfc;
background: rgba(255,255,255,.2);
}
::selection {
background: #fcfcfc;
background: rgba(255,255,255,.2);
}
input {
border: 1px solid #4a6f28;
color: #4a6f28;
background: none;
padding: 7px;
width: 75px;
font-family: 'Open Sans', sans-serif;
font-size: 13px;
margin: 15px 0 0 0;
-moz-border-radius: 0px 3px 3px 0px;
-webkit-border-radius: 0px 3px 3px 0px;
border-radius: 0px 3px 3px 0px;
-webkit-transition: background .3s ease-in-out;
-moz-transition: background .3s ease-in-out;
transition: background .3s ease-in-out;
}
input:hover,
input:focus {
border: 1px solid #4a6f28;
outline: 0;
color: #000;
background: #4a6f28;
}
#ipbox {
border: 1px solid #4a6f28;
color: #000;
background: #4a6f28;
padding: 7px;
margin: 15px 0 0 0;
font-size: 13px;
-moz-border-radius: 3px 0px 0px 3px;
-webkit-border-radius: 3px 0px 0px 3px;
border-radius: 3px 0px 0px 3px;
}
@media(min-width:767px){
h2{
margin:0 0 25px;
}
p{
margin:0 0 20px;
line-height:1.5;
}
#intro{
background-size:30px 30px;
}
#about-body{
padding-left:90px;
padding-right:90px;
padding-top:40px;
padding-bottom:40px;
font-size:21px;
}
input{
font-size:21px;
margin:25px 0 0 0;
width:123px;
}
#ipbox{
font-size:21px;
margin:25px 0 0 0;
}
#btn-circle{
font-size:29px;
width:60px;
height:60px;
line-height:60px;
border:2px solid #fff;
}
#logo{
font-size:100px;
}
h1{
font-size:25px;
margin-bottom:45px;
}
}
@keyframes fadein{
from{opacity:0;}
to{opacity:1;}
}
@-moz-keyframes fadein{
from{opacity:0;}
to{opacity:1;}
}
@-webkit-keyframes fadein{
from{opacity:0;}
to{opacity:1;}
}
@-ms-keyframes fadein{
from{opacity:0;}
to{opacity:1;}
}
</style>
</head>
<body>
<div id="intro">