Remake of the homepage

This commit is contained in:
Alex D. 2018-06-07 18:48:53 +02:00
parent 1cf6d6ef34
commit 1d615a5fa6
12 changed files with 308 additions and 396 deletions

BIN
favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

View File

@ -1,69 +1,96 @@
<html>
<head>
<link href="https://fonts.googleapis.com/css?family=Abel" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Glegoo" rel="stylesheet">
<link href="https://use.fontawesome.com/releases/v5.0.12/css/all.css" integrity="sha384-G0fIWCsCzJIMAVNQPfjH08cyYaUtMwjJwqiRKxxE/rx96Uroj1BtIQ6MLJuheaO9" crossorigin="anonymous" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Quicksand" rel="stylesheet">
<link href="res/stylesheet-min.css" rel="stylesheet" id="style">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
<script src="res/window.js"></script>
<title>RedXen Gaming</title>
<!--Styles and such-->
<link rel="stylesheet" href="res/web.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.13/css/all.css" integrity="sha384-DNOHZ68U8hZfKXOrtjWvjxusGo9WQnrNx2sqG0tfsghAvtVlRW3tvkXWZh58N9jp" crossorigin="anonymous">
<link href="https://fonts.googleapis.com/css?family=Oswald" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Open+Sans+Condensed:300" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Dosis" rel="stylesheet">
<link rel="shortcut icon" href="/favicon.ico">
<!--Meta and tracking-->
<meta name="author" content="caskd">
<meta charset="UTF-8">
<meta name="description" content="The homepage of the RedXen Community">
<title>RedXen Community</title>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-120536610-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-120536610-1');
</script>
</head>
<body>
<div id="box">
<span id="links-top">
<a href="https://steamcommunity.com/groups/redxengaming"><i class="fab fa-steam"></i></a>
<a href="https://discord.gg/CTFMzde"><i class="fab fa-discord"></i></a>
<a href="https://forum.redxen.dynu.net"><i class="fab fa-discourse"></i></a>
<a href="https://cloud.redxen.dynu.net"><i class="fas fa-cloud"></i></a>
</span>
<span id="title">
<span class="titletext">RedXen Gaming</span>
</span>
</div>
<div id="content">
<p class="subtitle">About us</p>
<p class="text">
We&nbsp;are&nbsp;a&nbsp;small&nbsp;community&nbsp;of&nbsp;gamers that&nbsp;play&nbsp;the&nbsp;same&nbsp;games&nbsp;and&nbsp;enjoy&nbsp;the&nbsp;same&nbsp;things!<br>
</p>
<p class="subtitle">Updates</p>
<p class="text">
10&nbsp;May&nbsp;-&nbsp;Adapted&nbsp;the&nbsp;homepage&nbsp;to almost&nbsp;all&nbsp;viewports<br>
6&nbsp;May&nbsp;-&nbsp;Got&nbsp;a&nbsp;new&nbsp;homepage! The&nbsp;one&nbsp;you&nbsp;are&nbsp;on&nbsp;now<br>
1&nbsp;May&nbsp;-&nbsp;Discord&nbsp;revamp with new&nbsp;channels, categories&nbsp;and&nbsp;roles
</p>
<p class="subtitle">Servers</p>
<p class="text">
Currently&nbsp;planning&nbsp;on&nbsp;hosting&nbsp;servers&nbsp;for&nbsp;some&nbsp;games but&nbsp;our&nbsp;bandwidth&nbsp;doesn't&nbsp;allow&nbsp;it&nbsp;for&nbsp;now.<br>
In&nbsp;the&nbsp;near&nbsp;future we&nbsp;will&nbsp;get&nbsp;better&nbsp;bandwidth.<br>
The&nbsp;approx.&nbsp;number&nbsp;of&nbsp;players that&nbsp;wouldn't impact&nbsp;performance&nbsp;would&nbsp;be&nbsp;~&nbsp;5&nbsp;players.<br>
That&nbsp;amount&nbsp;is&nbsp;too&nbsp;low&nbsp;for&nbsp;a&nbsp;server.
</p>
<p class="subtitle">Current Staff</p>
<p class="text">
Owner:&nbsp;casKd <br>
Administrator:&nbsp;Davids_Trains<br>
Super-Moderator:&nbsp;McDonlad<br>
Moderators:&nbsp;ChuppaChupps&nbsp;&amp;&nbsp;Korato
</p>
<p class="subtitle">Current&nbsp;Setup</p>
<p class="text">
Our&nbsp;current&nbsp;server&nbsp;setup consists&nbsp;of:<br><br>
Intel&nbsp;i3-2100<br>
6GB&nbsp;DDR3&nbsp;RAM<br>
220&nbsp;KB/s upload&nbsp;speed<br>
830&nbsp;KB/s download speed<br>
Our&nbsp;forum powered by&nbsp;Discourse<br>
Cloud&nbsp;service powered by&nbsp;Nextcloud<br>
All&nbsp;running&nbsp;through nginx&nbsp;reverse&nbsp;proxy
</p>
<div id="footer">
<span class="links">
<a href="https://steamcommunity.com/id/caskd"><i class="fab fa-steam"></i></a>
<a href="https://discord.gg/CTFMzde"><i class="fab fa-discord"></i></a>
<a href="https://forum.redxen.dynu.net/u/caskd"><i class="fab fa-discourse"></i></a>
<a href="mailto:caskd@gmx.de"><i class="fas fa-envelope"></i></a>
</span>
<div class="interface">
<div class="header">
<img src="res/logo.png" alt="logo">
<a href="https://forum.redxen.eu">Forum</a>
<a href="https://steamcommunity.com/groups/redxengaming">Steam</a>
<a href="/discord">Discord</a>
<a href="https://yagpdb.redxen.eu">PMBot</a>
</div>
<div class="content">
<div id="banner">
<img id="logobig" src="res/logo.png" alt="logo">
<h1>RedXen Gaming</h1>
</div>
<div id="text">
<h2>About us</h2>
<div id="forum" class="category">
<div class="left">
<img alt="discourse" src="res/discourse.png">
</div>
<div class="right">
<h3>RedXen Forum</h3>
<p>Our forum is a easy-to-browse forum that is fast and reliable, it is powered by Discourse and it is one of the best community forums!</p>
</div>
</div>
<div id="discord" class="category">
<div class="right-alt">
<h3>Discord Server</h3>
<p>Due to the reliability that Discord offers, most of the people join us on our server to communicate about topics they have in common, support is also given pretty quick there.</p>
</div>
<div class="left-alt">
<img alt="discord" src="res/discord.png">
</div>
</div>
<div id="yagpdb" class="category">
<div class="left">
<img alt="yagpdb" src="res/yagpdb.png">
</div>
<div class="right">
<h3>PMBot</h3>
<p>We also host a slightly customized version of YAGPDB called PMBot that can moderate your servers, you can add him to your server!</p>
</div>
</div>
<h2>News</h2>
<div id="news" class="text-field">
<div class="row">
<h3>June 2018</h3>
Created this webpage and added meta tags for SEO's<br>
Now hosting server on DigitalOcean with improved bandwidth
</div>
<div class="row">
<h3>May 2018</h3>
Added reaction roles to the discord server<br>
Adapted the homepage to almost all viewports<br>
Updated homepage to a better one<br>
Discord revamp with new channels, categories and roles
</div>
</div>
</div>
<div id=footer>
<div class="row">
Made by caskd!<br>
<a href="https://steamcommunity.com/id/caskd"><i class="fab fa-steam"></i></a>
<a href="https://github.com/casKd-dev"><i class="fab fa-github"></i></a>
<a href="https://soundcloud.com/caskd"><i class="fab fa-soundcloud"></i></a>
</div>
<div id="footer-r" class="row">
This website was made with tons of love, trial and time. If you appreciate what i have done or want to give me feedback or such, <a href="mailto:caskd@gmx.de">contact</a> me here.
</div>
</div>
</div>
</div>
</body>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 116 KiB

After

Width:  |  Height:  |  Size: 760 KiB

BIN
res/discord.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 114 KiB

BIN
res/discourse.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

BIN
res/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.0 KiB

156
res/stylesheet-min.css vendored
View File

@ -1,156 +0,0 @@
/*Root*/
:root {
background-color: rgb(110, 0, 0);
height: 100%;
}
/*Top bar settings*/
#box {
background: linear-gradient(to left, rgb(220, 0, 0), rgb(170, 0, 0));
width: 100%;
height: 60px;
position: fixed;
top: 0;
left: 0;
transition: ease-in-out 400ms;
z-index: 2;
}
#box:hover #title {
height: 40px;
transition: ease-in-out 200ms;
line-height: 40px;
}
#box:hover > #links-top a {
padding-top: 10px;
padding-bottom: 10px;
opacity: 1;
}
#box:hover ~ #content {
top: 80px;
transition: ease-in-out 300ms;
}
#box:hover {
height: 80px;
transition: ease-in-out 300ms;
}
/*Links in top bar*/
#links-top {
top: 0;
position: absolute;
text-align: center;
width: 100%;
height: auto;
background-color: rgba(0, 0, 0, 0.4);
transition: ease-in-out 300ms;
}
#links-top a {
text-decoration: none;
color: #fff;
padding-top: 5px;
padding-bottom: 5px;
font-family: 'Quicksand', sans-serif;
font-size: 20px;
display: inline-block;
transition: ease-in-out 200ms;
padding-right: 5px;
padding-left: 5px;
opacity: 0.6;
}
#links-top a:hover {
color: rgb(200,0,50);
padding-right: 20px;
padding-left: 20px;
transition: ease-in-out 200ms;
}
/*Title Bar*/
#title {
font-family: 'Abel', sans-serif;
font-size: 20px;
line-height: 30px;
bottom: 0;
width: 100%;
left: 0;
height: 30px;
display: block;
text-align: center;
position: absolute;
color: #fff;
transition: ease-in-out 200ms;
}
/*Page Content*/
#content {
background-color: rgba(50,50,50,0.5);
color: #fff;
height: auto;
top: 60px;
width: 100%;
transition: ease-in-out 200ms;
position: absolute;
z-index: 0;
left: 0;
text-align: center;
vertical-align: middle;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}
#content:hover {
background-color: rgba(200,200,200,0.8);
color: #000;
}
/*Content types*/
.subtitle {
font-size: 14px;
line-height: 22px;
width: 100%;
color: #fff;
height: 22px;
background-color: rgba(0, 0, 0, 0.4);
font-family: 'Glegoo', serif;
transition: ease-in-out 300ms;
}
.subtitle:hover {
height: 30px;
line-height: 30px;
transition: ease-in-out 200ms;
background-color: rgba(0, 0, 0, 0.8);
color: rgb(200,0,50);
}
.text {
font-size: 10px;
line-height: 12px;
font-family: 'Quicksand', sans-serif;
transition: ease-in-out 150ms;
}
/*Footer Settings*/
#footer {
font-family: 'Quicksand', sans-serif;
width: 100%;
height: auto;
background-color: rgba(0, 0, 0, 0.4);
color: #fff;
font-size: 14px;
line-height: 24px;
transition: ease-in-out 200ms;
}
#footer:hover {
transition: ease-in-out 300ms;
line-height: 30px;
background-color: rgba(0, 0, 0, 0.8);
}
#footer a {
text-decoration: none;
color: #fff;
padding-right: 5px;
padding-left: 5px;
transition: ease-in-out 300ms;
}
#footer a:hover {
color: rgb(200,0,50);
padding-right: 20px;
padding-left: 20px;
transition: ease-in-out 200ms;
}

View File

@ -1,170 +0,0 @@
/*Root*/
:root {
background-color: rgb(110, 0, 0);
background-image: url('bg.jpg');
background-repeat: no-repeat;
background-size: cover;
background-attachment: fixed;
background-position: center;
height: 100%;
}
/*Top bar settings*/
#box {
background: linear-gradient(to left, rgb(220, 0, 0), rgb(170, 0, 0));
width: 100%;
height: 80px;
position: fixed;
top: 0;
left: 0;
transition: ease-in-out 400ms;
z-index: 2;
}
#box:hover > #links-top a {
font-size: 150%;
padding-top: 10px;
padding-bottom: 10px;
opacity: 1;
}
#box:hover ~ #content {
top: 120px;
transition: ease-in-out 300ms;
}
#box:hover {
height: 120px;
transition: ease-in-out 300ms;
}
/*Links in top bar*/
#links-top {
top: 0;
position: absolute;
text-align: center;
width: 100%;
height: auto;
background-color: rgba(0, 0, 0, 0.4);
transition: ease-in-out 300ms;
}
#links-top a {
text-decoration: none;
color: #fff;
padding-top: 5px;
padding-bottom: 5px;
font-family: 'Quicksand', sans-serif;
font-size: 16px;
display: inline-block;
transition: ease-in-out 200ms;
padding-right: 5px;
padding-left: 5px;
opacity: 0.6;
}
#links-top a:hover {
color: rgb(200,0,50);
padding-right: 20px;
padding-left: 20px;
transition: ease-in-out 200ms;
}
/*Title Bar*/
#title {
font-family: 'Abel', sans-serif;
font-size: 30px;
line-height: 40px;
bottom: 0;
width: 80%;
left: 10%;
height: 40px;
display: block;
text-align: center;
position: absolute;
background-color: rgba(0,0,0,0.2);
color: #fff;
border-top-right-radius: 5px;
border-top-left-radius: 5px;
transition: ease-in-out 200ms;
}
#title:hover {
background-color: rgba(255,255,255,0.8);
transition: ease-in-out 200ms;
color: #000;
height: 50px;
line-height: 50px;
}
/*Page Content*/
#content {
background-color: rgba(50,50,50,0.5);
color: #fff;
height: auto;
top: 80px;
width: 80%;
transition: ease-in-out 200ms;
position: absolute;
left: 10%;
z-index: 0;
text-align: center;
vertical-align: middle;
border-bottom-left-radius: 5px;
border-bottom-right-radius: 5px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}
#content:hover {
background-color: rgba(200,200,200,0.8);
color: #000;
}
/*Content types*/
.subtitle {
font-size: 20px;
line-height: 40px;
width: 100%;
color: #fff;
height: 40px;
background-color: rgba(0, 0, 0, 0.4);
font-family: 'Glegoo', serif;
transition: ease-in-out 300ms;
}
.subtitle:hover {
height: 50px;
line-height: 50px;
transition: ease-in-out 200ms;
background-color: rgba(0, 0, 0, 0.8);
color: rgb(200,0,50);
}
.text {
font-size: 12px;
line-height: 18px;
font-family: 'Quicksand', sans-serif;
transition: ease-in-out 150ms;
}
/*Footer Settings*/
#footer {
font-family: 'Quicksand', sans-serif;
width: 100%;
height: auto;
border-bottom-left-radius: 5px;
border-bottom-right-radius: 5px;
background-color: rgba(0, 0, 0, 0.4);
color: #fff;
font-size: 24px;
line-height: 40px;
transition: ease-in-out 200ms;
}
#footer:hover {
transition: ease-in-out 300ms;
line-height: 60px;
background-color: rgba(0, 0, 0, 0.8);
}
#footer a {
text-decoration: none;
color: #fff;
padding-right: 5px;
padding-left: 5px;
transition: ease-in-out 300ms;
}
#footer a:hover {
color: rgb(200,0,50);
padding-right: 20px;
padding-left: 20px;
transition: ease-in-out 200ms;
}

217
res/web.css Normal file
View File

@ -0,0 +1,217 @@
html {
margin: 0;
top: 0;
left: 0;
font-family: 'Oswald', sans-serif;
background: rgb(10, 10, 10);
min-height: 300px;
min-width: 710px;
}
.header {
height: 50px;
width: 100%;
min-width: 200px;
top: 0;
left: 0;
position: fixed;
background-color: rgba(10, 10, 10, 0.4);
z-index: 20;
display: block;
float: left;
overflow: hidden;
}
.header img {
height: 40px;
padding: 5px;
}
.header a {
line-height: 50px;
color: #eee;
text-align: right;
padding-right: 10px;
padding-left: 10px;
text-decoration: none;
float: right;
font-size: 20px;
font-family: 'Dosis', sans-serif;
}
.header a:hover {
background-color: rgba(255 ,255 ,255, 0.5);
color: #a11;
}
.content {
width: 100%;
min-height: 100%;
top: 0;
left: 0;
display: flex;
position: absolute;
flex-wrap: wrap;
flex-direction: column;
}
#banner {
/*Sizing*/
height: 400px;
width: 100%;
min-width: 710px;
color: #fff;
overflow: hidden;
font-size: 40px;
/*Flexbox content*/
justify-content: center;
align-items: center;
display: flex;
/*Background settings*/
background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(bg.jpg);
background-attachment: scroll;
background-size: cover;
background-repeat: no-repeat;
}
#banner img {
width: 220px;
filter: drop-shadow(-5px 6px 3px rgba(0,0,0,.7));
}
#text {
display: flex;
flex-wrap: wrap;
width: 100%;
max-width: 1700px;
min-width: 710px;
min-height: 100px;
background-color: rgba(70, 70, 70, 0.4);
color: #fff;
align-self: center;
}
#text h2 {
text-align: center;
width: 100%;
font-size: 60px;
line-height: 100px;
background-color: rgba(10, 10, 10, 0.4);
}
/*Category of descriptions*/
.category {
padding: 70px 0 0 0;
display: flex;
flex-wrap: nowrap;
width: 100%;
overflow: hidden;
transition: ease-in 200ms;
filter: saturate(0%);
color: #fff;
box-shadow: 0 4px 8px -2px #000;
}
.category:hover {
color: #c22;
box-shadow: 0 10px 8px -2px #000;
}
.category:hover { filter: saturate(100%); }
.category img {
width: 40%;
max-width: 900px;
padding: 5% 5% 5% 5%;
}
h2 { color: #F33;}
#news {margin-bottom: 20px;}
.text-field {
width: 100%;
justify-content: center;
display: flex;
padding: 0 40px 40px 0;
background-color: rgba(10, 10, 10, 0.4);
width: 100%;
max-width: 1200px;
margin: 1 auto;
flex-direction: row;
flex: 1;
flex-wrap: wrap;
align-items: center;
text-align: center;
font-family: 'Dosis', sans-serif;
}
.row {
width: 50%;
}
.text-field h3 { font-size: 25px;}
/*Left Side settings*/
.left {
background-color: rgba(0, 0, 0, 0.5);
width: 30%;
display: flex;
justify-content: center;
align-items: center;
min-width: 200px;
}
/*Right side settings*/
.right {
background-color: rgba(10, 10, 10, 0.4);
width: 70%;
display: flex;
flex-direction: column;
padding: 50px 50px 50px 30px;
justify-content: center;
}
.right h3, .right-alt h3 {
font-size: 40px;
margin: 0;
}
.right p, .right-alt p {
font-style: italic;
font-family: 'Open Sans Condensed', sans-serif;
}
/*Alternative (reversed) config*/
/*Left Side settings*/
.left-alt {
background-color: rgba(0, 0, 0, 0.5);
width: 30%;
display: flex;
justify-content: center;
align-items: center;
min-width: 200px;
}
/*Right side settings*/
.right-alt {
background-color: rgba(10, 10, 10, 0.4);
width: 70%;
display: flex;
flex-direction: column;
padding: 30px 50px 50px 50px;
justify-content: center;
text-align: right;
}
/*Webpage footer*/
#footer {
color: #fff;
display: flex;
max-width: 1700px;
width: 80%;
height: 200px;
text-align: center;
align-items: center;
overflow: hidden;
margin: 1 auto;
}
#footer a {
color: #f22;
text-decoration: none;
padding: 0 10px 0 10px;
font-size: 30px;
}
#footer-r, #footer-r a {
font-size: 20px;
padding: 0;
font-style: italic;
}

View File

@ -1,8 +0,0 @@
$(window).on ("load resize", function() {
if ($(window).width() < 720) {
$('#style').attr('href','res/stylesheet-min.css');
}
else {
$('#style').attr('href','res/stylesheet.css');
}
});

BIN
res/yagpdb.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

2
robots.txt Normal file
View File

@ -0,0 +1,2 @@
User-agent: *
Allow: /*.html$