Skip to content
This repository has been archived by the owner on Aug 18, 2020. It is now read-only.

Commit

Permalink
Updated Styling
Browse files Browse the repository at this point in the history
  • Loading branch information
TheSparkPlays committed May 7, 2018
1 parent 06136a1 commit 40af1f6
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 9 deletions.
14 changes: 10 additions & 4 deletions css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,12 @@ ul {
box-shadow: 0px 6px 13px -7px rgba(0,0,0,0.10);
}

ul .max-width {
max-width: 1280px;
margin: 0 auto;
box-shadow: none;
}

li {
float: left;
}
Expand Down Expand Up @@ -283,23 +289,23 @@ li a:hover {
margin: 15px;
text-align: left;
padding: 50px;
max-width: 1500px;
max-width: 1280px;
}

#gamemodes .mode-inv {
margin: 15px;
text-align: right;
max-width: 1500px
max-width: 1280px
}

#gamemodes .img {
margin: 15px;
padding: 50px;
max-width: 1500px
max-width: 1280px
}

#gamemodes .fixed-width {
max-width: 1500px;
max-width: 1280px;
margin: 0 auto;
}

Expand Down
13 changes: 8 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
<head>
<title>A Free Minecraft Template By Rick Klaasboer</title>

<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="utf-8">

<!-- Custom CSS for this template -->
Expand All @@ -44,11 +45,13 @@

<!-- Navbar -->
<ul class="nav" id="navbar">
<li><a href="#head">Home</a></li>
<li><a href="#about">About</a></li>
<li><a href="#gamemodes">Gamemodes</a></li>
<li><a href="#vote">Vote</a></li>
<li><a href="#staff">Staff</a></li>
<ul class="max-width">
<li><a href="#head">Home</a></li>
<li><a href="#about">About</a></li>
<li><a href="#gamemodes">Gamemodes</a></li>
<li><a href="#vote">Vote</a></li>
<li><a href="#staff">Staff</a></li>
</ul>
</ul>
<!-- End Navbar -->

Expand Down
Binary file added onepage-minecraft-server-website-v1.1.zip
Binary file not shown.
Binary file added onepage-minecraft-website-v1.0.0.zip
Binary file not shown.

0 comments on commit 40af1f6

Please sign in to comment.