Mobile Friendly master builder page

Closes #51
This commit is contained in:
aggelosQQ 2016-10-02 16:19:25 +03:00
parent 85fd3261a1
commit 53fb734950
2 changed files with 154 additions and 110 deletions

View file

@ -1,4 +1,7 @@
* { margin:0; padding: 0;}
* {
margin: 0;
padding: 0;
}
body {
background: url('../images/bg.png') fixed center no-repeat;
@ -6,17 +9,26 @@ body {
color: #fff;
margin-bottom: 40px;
}
p, h1, h2, h3, h4, h5, h6 {
p,
h1,
h2,
h3,
h4,
h5,
h6 {
text-align: center;
font-family: 'Baloo Tamma', cursive;
}
.card-action {
text-align: center;
margin-bottom: 30px;
}
button {
color: #ccc;
background: rgba(30,30,30,0.5);
background: rgba(30, 30, 30, 0.5);
border: none;
outline: none;
text-decoration: none;
@ -33,41 +45,53 @@ button {
-o-transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out;
}
button:hover, button:focus {
background: rgba(50,50,50,0.5);
button:hover,
button:focus {
background: rgba(50, 50, 50, 0.5);
}
.card {
background: rgba(50,50,50,0.3);
background: rgba(50, 50, 50, 0.3);
font-family: 'Baloo Tamma', cursive;
}
.page-title {
text-align: center;
}
#note {
font-size: 1.4em;
font-size: 900;
font-family: 'Baloo Tamma', cursive;
margin-top: 5px;
}
.header {
padding: 100px;
background: rgba(200,200,200,0.2);
background: rgba(200, 200, 200, 0.2);
text-align: center;
width: 100%;
}
hr {
border: 2px solid rgba(230,230,230,0.1);
border: 2px solid rgba(230, 230, 230, 0.1);
}
.custom-btn {
background: rgba(0,0,0,0.6);
background: rgba(0, 0, 0, 0.6);
text-align: center;
}
.custom-btn:hover, .custom-btn:focus {
background: rgba(50,50,50,0.6);
.custom-btn:hover,
.custom-btn:focus {
background: rgba(50, 50, 50, 0.6);
}
.masterbuilders-list li {
display: inline-block;
background: rgba(100,100,100,0.4);
color:#ccc;
background: rgba(100, 100, 100, 0.4);
color: #ccc;
padding: 8px;
cursor: pointer;
border-radius: 10%;
@ -80,22 +104,25 @@ hr {
-o-transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out;
}
.masterbuilders-list li:hover {
background: rgba(120,120,120,0.5);
background: rgba(120, 120, 120, 0.5);
color: #fff;
}
.masterbuilders-list li img {
width: 20px;
height: 20px;
margin-right: 5px;
float: left;
}
.top {
position: fixed;
bottom: 20px;
right: 50px;
font-size: 3em;
color: rgba(178,34,34,0.6);
color: rgba(178, 34, 34, 0.6);
padding: 10px;
-webkit-transition: all 0.2s ease-in-out;
-moz-transition: all 0.2s ease-in-out;
@ -103,6 +130,19 @@ hr {
-o-transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out;
}
.top:hover {
color: rgba(178,34,34,1);
color: rgba(178, 34, 34, 1);
}
@media only screen and (max-width: 768px) {
.header {
padding: 5px;
}
.masterbuilders-list li {
display: block;
}
button {
width: 95%;
}
}

View file

@ -8,7 +8,8 @@
<title>Master Builders | TotalFreedom Minecraft Server</title>
<meta content="aggelosQQ, markbyron, DarthSalamon, Madgeek1450, TotalFreedom" name="author">
<meta content="TF,minecraft,totalfreedom,free op,server,worldedit,freebuild" name="keywords">
<meta content="TotalFreedom is the first Free OP Minecraft server, which is up and running since 2012! play.totalfreedom.me" name="description">
<meta content="TotalFreedom is the first Free OP Minecraft server, which is up and running since 2012! play.totalfreedom.me"
name="description">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.7/js/materialize.min.js"></script>
<script src="https://use.fontawesome.com/cb2592f0cc.js"></script>
@ -80,12 +81,13 @@
</ul><br>
<hr>
<br>
<p id="note">These images may, or may not, have been built on Total Freedom but are made by/with at least one masterbuilder from Total Freedom.</p>
<p id="note">These images may, or may not, have been built on Total Freedom but are made by/with at least one masterbuilder
from Total Freedom.</p>
</div><br>
<hr>
<br>
<div class="row">
<div class="col s6">
<div class="col s12 m12 l6">
<div class="card">
<div class="card-image waves-effect waves-block">
<a href="assets/images/build1.jpg" target="_blank"><img class="responsive-img" src="assets/images/build1.jpg"></a>
@ -98,7 +100,7 @@
<a href="http://www.planetminecraft.com/project/tropical-island---timelapse/"><button class="waves-effect showmore" type="button">Show more</button></a>
</div>
</div>
<div class="col s6">
<div class="col s12 m12 l6">
<div class="card">
<div class="card-image waves-effect waves-block">
<a href="assets/images/build2.jpg" target="_blank"><img class="responsive-img" src="assets/images/build2.jpg"></a>
@ -111,7 +113,7 @@
<a href="http://www.planetminecraft.com/project/the-valley-of-oysaria/"><button class="waves-effect showmore" type="button">Show more</button></a>
</div>
</div>
<div class="col s6">
<div class="col s12 m12 l6">
<div class="card">
<div class="card-image waves-effect waves-block">
<a href="assets/images/build3.jpg" target="_blank"><img class="responsive-img" src="assets/images/build3.jpg"></a>
@ -124,7 +126,7 @@
<a href="http://www.planetminecraft.com/project/tropical-island---timelapse/"><button class="waves-effect showmore" type="button">Show more</button></a>
</div>
</div>
<div class="col s6">
<div class="col s12 m12 l6">
<div class="card">
<div class="card-image waves-effect waves-block">
<a href="assets/images/build4.jpg" target="_blank"><img class="responsive-img" src="assets/images/build4.jpg"></a>
@ -139,14 +141,15 @@
</div>
</div>
<div class="row">
<div class="col s6">
<div class="col s12 m12 l6">
<div class="card">
<div class="card-image waves-effect waves-block">
<span class="new badge red" data-badge-caption="SPECIAL"></span>
<a href="assets/images/build5.jpg" target="_blank"><img class="responsive-img" src="assets/images/build5.jpg"></a>
</div>
<div class="card-content">
<p>Made by miwojedk - this project won the #1 place on PlanetMinecraft Contest (Press "Show More" to see more information)</p>
<p>Made by miwojedk - this project won the #1 place on PlanetMinecraft Contest (Press "Show More" to
see more information)</p>
</div>
</div>
<div class="card-action">
@ -154,14 +157,15 @@
"button">Show more</button></a>
</div>
</div>
<div class="col s6">
<div class="col s12 m12 l6">
<div class="card">
<div class="card-image waves-effect waves-block">
<span class="new badge red" data-badge-caption="SPECIAL"></span>
<a href="assets/images/build6.jpg" target="_blank"><img class="responsive-img" src="assets/images/build6.jpg"></a>
</div>
<div class="card-content">
<p>Made by miwojedk - this project won the #1 place on PlanetMinecraft Contest (Press "Show More" to see more information)</p>
<p>Made by miwojedk - this project won the #1 place on PlanetMinecraft Contest (Press "Show More" to
see more information)</p>
</div>
</div>
<div class="card-action">
@ -169,7 +173,7 @@
"button">Show more</button></a>
</div>
</div>
<div class="col s6">
<div class="col s12 m12 l6">
<div class="card">
<div class="card-image waves-effect waves-block">
<a href="assets/images/build7.png" target="_blank"><img class="responsive-img" src="assets/images/build7.png"></a>
@ -182,7 +186,7 @@
<a href="http://totalfreedom.boards.net/user/16464"><button class="waves-effect showmore" type="button">Show more</button></a>
</div>
</div>
<div class="col s6">
<div class="col s12 m12 l6">
<div class="card">
<div class="card-image waves-effect waves-block">
<a href="assets/images/build8.png" target="_blank"><img class="responsive-img" src="assets/images/build8.png"></a>
@ -195,7 +199,7 @@
<a href="http://totalfreedom.boards.net/user/16464"><button class="waves-effect showmore" type="button">Show more</button></a>
</div>
</div>
<div class="col s6">
<div class="col s12 m12 l6">
<div class="card">
<div class="card-image waves-effect waves-block">
<a href="assets/images/build9.png" target="_blank"><img class="responsive-img" src="assets/images/build9.png"></a>
@ -208,7 +212,7 @@
<a href="http://totalfreedom.boards.net/user/16464"><button class="waves-effect showmore" type="button">Show more</button></a>
</div>
</div>
<div class="col s6">
<div class="col s12 m12 l6">
<div class="card">
<div class="card-image waves-effect waves-block">
<a href="assets/images/build10.png" target="_blank"><img class="responsive-img" src="assets/images/build10.png"></a>
@ -223,7 +227,7 @@
</div>
</div>
<div class="row">
<div class="col s6">
<div class="col s12 m12 l6">
<div class="card">
<div class="card-image waves-effect waves-block">
<a href="assets/images/build11.png" target="_blank"><img class="responsive-img" src="assets/images/build11.png"></a>
@ -236,7 +240,7 @@
<a href="http://totalfreedom.boards.net/user/16480"><button class="waves-effect showmore" type="button">Show more</button></a>
</div>
</div>
<div class="col s6">
<div class="col s12 m12 l6">
<div class="card">
<div class="card-image waves-effect waves-block">
<a href="assets/images/build12.png" target="_blank"><img class="responsive-img" src="assets/images/build12.png"></a>
@ -249,10 +253,10 @@
<a href="http://totalfreedom.boards.net/user/16480"><button class="waves-effect showmore" type="button">Show more</button></a>
</div>
</div>
<div class="col s6">
<div class="col s12 m12 l6">
<div class="card">
<div class="card-image waves-effect waves-block">
<a href="assets/images/build13.png" target="_blank"><img class="responsive-img" src="assets/images/build16.png"></a>
<a href="assets/images/build13.png" target="_blank"><img class="responsive-img" src="assets/images/build13.png"></a>
</div>
<div class="card-content">
<p>Made by UYScutix</p>
@ -262,10 +266,10 @@
<a href="http://totalfreedom.boards.net/user/16480"><button class="waves-effect showmore" type="button">Show more</button></a>
</div>
</div>
<div class="col s6">
<div class="col s12 m12 l6">
<div class="card">
<div class="card-image waves-effect waves-block">
<a href="assets/images/build14.png" target="_blank"><img class="responsive-img" src="assets/images/build17.png"></a>
<a href="assets/images/build14.png" target="_blank"><img class="responsive-img" src="assets/images/build14.png"></a>
</div>
<div class="card-content">
<p>Made by xfilez (Redstoner)</p>
@ -277,10 +281,10 @@
</div>
</div>
<div class="row">
<div class="col s6">
<div class="col s12 m12 l6">
<div class="card">
<div class="card-image waves-effect waves-block">
<a href="assets/images/build15.png" target="_blank"><img class="responsive-img" src="assets/images/build18.png"></a>
<a href="assets/images/build15.png" target="_blank"><img class="responsive-img" src="assets/images/build15.png"></a>
</div>
<div class="card-content">
<p>Made by xfilez (Redstoner)</p>
@ -290,10 +294,10 @@
<a href="http://totalfreedom.boards.net/user/5473"><button class="waves-effect showmore" type="button">Show more</button></a>
</div>
</div>
<div class="col s6">
<div class="col s12 m12 l6">
<div class="card">
<div class="card-image waves-effect waves-block">
<a href="assets/images/build16.png" target="_blank"><img class="responsive-img" src="assets/images/build19.png"></a>
<a href="assets/images/build16.png" target="_blank"><img class="responsive-img" src="assets/images/build16.png"></a>
</div>
<div class="card-content">
<p>Made by FelixTheTrap</p>
@ -304,10 +308,10 @@
</div>
</div>
<div class="col s6">
<div class="col s12 m12 l6">
<div class="card">
<div class="card-image waves-effect waves-block">
<a href="assets/images/build17.jpg" target="_blank"><img class="responsive-img" src="assets/images/build20.jpg"></a>
<a href="assets/images/build17.jpg" target="_blank"><img class="responsive-img" src="assets/images/build17.jpg"></a>
</div>
<div class="card-content">
<p>Made by ShadowArmandyl</p>