mirror of
https://github.com/kaboomserver/website.git
synced 2024-12-22 15:55:04 +00:00
Cleaning up CSS
This commit is contained in:
parent
9003779455
commit
230971847a
1 changed files with 262 additions and 1 deletions
263
index.html
263
index.html
|
@ -5,7 +5,268 @@
|
|||
<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 » Sandbox OP Server</title>
|
||||
<link href="css/minecraft.css" rel="stylesheet">
|
||||
<style type="text/css">
|
||||
@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: 'Merriweather Sans';
|
||||
font-style: normal;
|
||||
font-weight: 300;
|
||||
src: local('Merriweather Sans Light'), local('MerriweatherSans-Light'), url(https://fonts.gstatic.com/s/merriweathersans/v5/6LmGj5dOJopQKEkt88Gowby3qP8l_EZEfCX16eKT4TP3rGVtsTkPsbDajuO5ueQw.woff) format('woff');
|
||||
}
|
||||
|
||||
html, body {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: 'Merriweather 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;
|
||||
font-size: 21px;
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 0 0 15px;
|
||||
line-height: 1.5;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
color: #4a6f28;
|
||||
-webkit-transition: all .2s ease-in-out;
|
||||
-moz-transition: all .2s ease-in-out;
|
||||
transition: all .2s ease-in-out;
|
||||
}
|
||||
|
||||
a:hover,
|
||||
a:focus {
|
||||
color: #5b8731;
|
||||
}
|
||||
|
||||
#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;
|
||||
}
|
||||
|
||||
#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;
|
||||
}
|
||||
|
||||
#circle:hover,
|
||||
#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: 80px;
|
||||
font-family: 'Merriweather 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;
|
||||
}
|
||||
#ip {
|
||||
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;
|
||||
font-size:33px;
|
||||
}
|
||||
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:18px;
|
||||
}
|
||||
input{
|
||||
font-size:18px;
|
||||
margin:25px 0 0 0;
|
||||
width:113px;
|
||||
}
|
||||
#ip{
|
||||
font-size:18px;
|
||||
margin:25px 0 0 0;
|
||||
}
|
||||
#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">
|
||||
|
|
Loading…
Reference in a new issue