Initial Commit

This commit is contained in:
mathias 2014-10-17 21:59:45 +03:00
commit 47d93b18b7
5 changed files with 372 additions and 0 deletions

1
CNAME Normal file
View file

@ -0,0 +1 @@
minecraft.ga

275
css/minecraft.css Normal file
View file

@ -0,0 +1,275 @@
@font-face {
font-family: 'Montserrat';
font-style: normal;
font-weight: 400;
src: local('Montserrat-Regular'), url(http://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(http://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(http://themes.googleusercontent.com/static/fonts/opensans/v8/DXI1ORHCpsQm3Vp6mXoaTXhCUOGz7vYGh680lGh-uXM.woff) format('woff');
}
body {
width: 100%;
height: 100%;
font-family: 'Open Sans', sans-serif;
color: #fff;
background-color: #595959;
}
html {
width: 100%;
height: 100%;
}
h1,
h2,
h3,
h4,
h5,
h6 {
margin: 0 0 35px;
text-transform: uppercase;
font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
font-weight: 700;
letter-spacing: 1px;
}
p {
margin: 0 0 25px;
font-size: 18px;
line-height: 1.5;
}
@media(min-width:767px) {
p {
margin: 0 0 35px;
font-size: 20px;
line-height: 1.6;
}
}
a {
color: #28c3ab;
-webkit-transition: all .2s ease-in-out;
-moz-transition: all .2s ease-in-out;
transition: all .2s ease-in-out;
}
a:hover,
a:focus {
text-decoration: none;
color: #176e61;
}
.light {
font-weight: 400;
}
.navbar {
margin-bottom: 0;
border-bottom: 1px solid rgba(255,255,255,.3);
text-transform: uppercase;
font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
background-color: #000;
}
.navbar-brand {
font-weight: 700;
}
.navbar-brand:focus {
outline: 0;
}
.navbar-custom a {
color: #fff;
}
.navbar-custom .nav li a {
-webkit-transition: background .3s ease-in-out;
-moz-transition: background .3s ease-in-out;
transition: background .3s ease-in-out;
}
.navbar-custom .nav li a:hover,
.navbar-custom .nav li a:focus,
.navbar-custom .nav li.active {
outline: 0;
background-color: rgba(255,255,255,.2);
}
.navbar-toggle {
padding: 4px 6px;
font-size: 16px;
color: #fff;
}
.navbar-toggle:focus,
.navbar-toggle:active {
outline: 0;
}
@media(min-width:767px) {
.navbar {
padding: 20px 0;
border-bottom: 0;
letter-spacing: 1px;
background: 0 0;
-webkit-transition: background .5s ease-in-out,padding .5s ease-in-out;
-moz-transition: background .5s ease-in-out,padding .5s ease-in-out;
transition: background .5s ease-in-out,padding .5s ease-in-out;
}
.top-nav-collapse {
padding: 0;
background-color: #000;
}
.navbar-custom.top-nav-collapse {
border-bottom: 1px solid rgba(255,255,255,.3);
}
}
.intro {
display: table;
width: 100%;
height: auto;
padding: 100px 0;
color: #fff;
background: url(/img/intro-bg.jpg) no-repeat bottom center scroll;
background-color: #000;
-webkit-background-size: cover;
-moz-background-size: cover;
background-size: cover;
-o-background-size: cover;
}
.intro-body {
display: table-cell;
vertical-align: middle;
text-align: center;
}
.brand-heading {
font-size: 40px;
margin: 0 0 5px;
}
.intro-text {
font-size: 18px;
text-transform: uppercase;
font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
}
@media(min-width:767px) {
.intro {
height: 100%;
padding: 50px 0;
}
.brand-heading {
font-size: 100px;
}
.intro-text {
font-size: 25px;
}
}
.btn-circle {
width: 70px;
height: 70px;
margin-top: 15px;
padding: 7px 16px;
border: 2px solid #fff;
border-radius: 35px;
font-size: 40px;
color: #fff;
background: 0 0;
-webkit-transition: background .3s ease-in-out;
-moz-transition: background .3s ease-in-out;
transition: background .3s ease-in-out;
}
.btn-circle:hover,
.btn-circle:focus {
outline: 0;
color: #fff;
background: rgba(255,255,255,.1);
}
.content-section {
height: auto;
}
.ip-section {
width: 100%;
padding: 50px 0;
color: #fff;
background: #1F1F1F;
}
.about-section {
width: 100%;
height: auto;
color: #fff;
display: table;
background: #000;
}
.about-body {
display: table-cell;
vertical-align: middle;
padding: 100px 0;
}
@media(min-width:767px) {
.content-section {
height: 100%;
}
.about-section {
height: 100%;
}
.about-body {
padding: 50px 0;
}
.ip-section {
padding: 100px 0;
}
}
::-moz-selection {
text-shadow: none;
background: #fcfcfc;
background: rgba(255,255,255,.2);
}
::selection {
text-shadow: none;
background: #fcfcfc;
background: rgba(255,255,255,.2);
}
img::selection {
background: 0 0;
}
img::-moz-selection {
background: 0 0;
}
body {
webkit-tap-highlight-color: rgba(255,255,255,.2);
}

BIN
img/intro-bg.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 600 KiB

79
index.php Normal file
View file

@ -0,0 +1,79 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Minecraft.ga is a server where you can test out whatever you like. Whether it be OP Commands, Command Blocks, or just building, Minecraft.ga gives you freedom.">
<meta name="author" content="Minecraft.ga">
<title>Minecraft.ga</title>
<link href="http://netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css" rel="stylesheet" type="text/css">
<link href="http://netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<link href="css/minecraft.css" rel="stylesheet">
</head>
<body id="page-top" data-spy="scroll" data-target=".navbar-custom">
<nav class="navbar navbar-custom navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header page-scroll">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-main-collapse">
<i class="fa fa-bars"></i>
</button>
<a class="navbar-brand" href="#page-top">
<span class="light"><i class="fa fa-gamepad"></i> minecraft.ga</span>
</a>
</div>
<div class="collapse navbar-collapse navbar-right navbar-main-collapse">
<ul class="nav navbar-nav">
<li class="hidden">
<a href="#page-top"></a>
</li>
<li class="page-scroll">
<a href="#about">About</a>
</li>
<li class="page-scroll">
<a href="#ip">Server IP</a>
</li>
</ul>
</div>
</div>
</nav>
<section class="intro">
<div class="intro-body">
<div class="container">
<h1 class="brand-heading">Minecraft.ga</h1>
<p class="intro-text">An All-OP Minecraft Server</p>
<div class="page-scroll">
<a href="#about" class="btn btn-circle">
<i class="fa fa-angle-double-down"></i>
</a>
</div>
</div>
</div>
</section>
<section id="about" class="container content-section text-center about-section">
<div class="about-body">
<div class="row">
<div class="col-lg-8 col-lg-offset-2">
<h2>About minecraft.ga</h2>
<p>Minecraft.ga is a server where you can test out whatever you like. Whether it be OP Commands, Server Plugins, or just building, Minecraft.ga gives you freedom.</p>
<p>On Minecraft.ga, you get access to almost every command that is part of Minecraft, Bukkit and Essentials. Besides from this, you can also use a few Server Plugins, like WorldEdit, Tim the Enchanter and iDisguise, whenever you want. Some commands are blocked, such as /ban, /kick, /jail and /vanish, but this is simply to give you a more enjoyable experience, as well as more security.</p>
<p>You can choose between four different worlds on Minecraft.ga; Normal, Flat, Nether and The End. Every world resets once every week, to give you a fresh start and a less laggy experience on the server.</p>
</div>
</div>
</div>
</section>
<section id="ip" class="text-center">
<div class="ip-section">
<div class="container">
<div class="col-lg-8 col-lg-offset-2">
<h2>Server IP</h2>
<p>Join the server at: minecraft.ga</p>
</div>
</div>
</div>
</section>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script src="http://netdna.bootstrapcdn.com/bootstrap/3.0.3/js/bootstrap.min.js"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.3/jquery.easing.min.js"></script>
<script src="js/minecraft.js"></script>
</body>
</html>

17
js/minecraft.js Normal file
View file

@ -0,0 +1,17 @@
$(window).scroll(function() {
if ($(".navbar").offset().top > 50) {
$(".navbar-fixed-top").addClass("top-nav-collapse");
} else {
$(".navbar-fixed-top").removeClass("top-nav-collapse");
}
});
$(function() {
$('.page-scroll a').bind('click', function(event) {
var $anchor = $(this);
$('html, body').stop().animate({
scrollTop: $($anchor.attr('href')).offset().top
}, 1500, 'easeInOutExpo');
event.preventDefault();
});
});