Compare commits
32 Commits
Author | SHA1 | Date | |
---|---|---|---|
dccb58d0d1 | |||
5cf25a4271 | |||
68f1045af6 | |||
034f731ca3 | |||
fce5f31b29 | |||
24e3b95d66 | |||
a8d5b89799 | |||
9a9b63324a | |||
|
b843678f46 | ||
1b573736db | |||
e19c0e4008 | |||
|
e89facb676 | ||
c6e55467de | |||
95916f1b63 | |||
195c0ec175 | |||
|
5997d66ad2 | ||
|
cc7f65eda7 | ||
|
61a84096d8 | ||
0718336402 | |||
5cc50968c4 | |||
52639f70f1 | |||
2f6de7457f | |||
ffaef4a72b | |||
3a49532357 | |||
9b1f843da7 | |||
0616d7946a | |||
a9dbb24eb1 | |||
a30b7b1fda | |||
09b037a5c7 | |||
9b299894df | |||
6d1274354b | |||
|
5faec60ab6 |
16
README.md
@ -1,11 +1,17 @@
|
|||||||
# RedXen Homepage
|
# RedXen Homepage
|
||||||
|
|
||||||
## What is this?
|
## What is this?
|
||||||
|
The portal for the community where everything is linked. It is supposed to be as lightweight and well-functioning as possible.
|
||||||
|
|
||||||
Well, nothing special...
|
## How does this work?
|
||||||
This is just the homepage i use for the community i am running [here](http://redxen.dynu.net)
|
It is based around flexboxes mostly to ensure efficiency and good support.
|
||||||
|
|
||||||
## Why do i host it on GitHub?
|
It has no good support for inferior browsers at the moment, and not planning to support them either, gonna support only current stable versions and some previous ones if needed.
|
||||||
|
|
||||||
If anyone wants to contribute, see my code practices or something similar, then here it is.
|
## What formats does it use?
|
||||||
It is also easier to check on something or manage changes.
|
- WebP - Images
|
||||||
|
- SVG - Graphics
|
||||||
|
- Woff2 - Fonts
|
||||||
|
|
||||||
|
## AJAX Usage
|
||||||
|
We use AJAX calls to load content on demand and not on load.
|
||||||
|
15
ajax/about.html
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
<div class="tab-content" id="tab-1">
|
||||||
|
<h2>Staff:</h2>
|
||||||
|
<p>Our staff is made out of multiple friendly members that help keep the community and conversations clean. If you need any help you can just call any of them.</p>
|
||||||
|
</div>
|
||||||
|
<div class="tab-content hide" id="tab-2">
|
||||||
|
<h2>Discord Server:</h2>
|
||||||
|
<p>Due to Discord being easy to use and reliable, we use it as a center for conversations. Join in and have a chat!</p>
|
||||||
|
</div>
|
||||||
|
<div class="tab-content hide" id="tab-3">
|
||||||
|
<h2>Contact Us:</h2>
|
||||||
|
<p>You can contact the Owner/Server manager directly here:</p>
|
||||||
|
<a href="mailto:caskd@gmx.de">Mail</a>
|
||||||
|
<a href="https://steamcommunity.com/id/caskd">Steam</a>
|
||||||
|
<a href="https://t.me/casKd_dev">Telegram</a>
|
||||||
|
</div>
|
116
css/animations.css
Normal file
@ -0,0 +1,116 @@
|
|||||||
|
/*Animations*/
|
||||||
|
|
||||||
|
.float {
|
||||||
|
-webkit-animation: float 7s infinite;
|
||||||
|
animation: float 7s infinite;
|
||||||
|
-webkit-transition: cubic-bezier(0.455, 0.03, 0.515, 0.955) 0.2s;
|
||||||
|
-o-transition: cubic-bezier(0.455, 0.03, 0.515, 0.955) 0.2s;
|
||||||
|
transition: cubic-bezier(0.455, 0.03, 0.515, 0.955) 0.2s;
|
||||||
|
}
|
||||||
|
|
||||||
|
.float:hover {
|
||||||
|
-webkit-animation-play-state: paused;
|
||||||
|
-moz-animation-play-state: paused;
|
||||||
|
-o-animation-play-state: paused;
|
||||||
|
animation-play-state: paused;
|
||||||
|
}
|
||||||
|
|
||||||
|
.slide-top {
|
||||||
|
-webkit-animation: slide-in-top 1s;
|
||||||
|
animation: slide-in-top 1s;
|
||||||
|
}
|
||||||
|
|
||||||
|
.slide-left {
|
||||||
|
-webkit-animation: slide-in-left 1s;
|
||||||
|
animation: slide-in-left 1s;
|
||||||
|
}
|
||||||
|
|
||||||
|
@-webkit-keyframes float {
|
||||||
|
0% {
|
||||||
|
-webkit-transform: translateY(4px);
|
||||||
|
transform: translateY(4px);
|
||||||
|
}
|
||||||
|
|
||||||
|
50% {
|
||||||
|
-webkit-transform: translateY(-4px);
|
||||||
|
transform: translateY(-4px);
|
||||||
|
}
|
||||||
|
|
||||||
|
100% {
|
||||||
|
-webkit-transform: translateY(4px);
|
||||||
|
transform: translateY(4px);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes float {
|
||||||
|
0% {
|
||||||
|
-webkit-transform: translateY(4px);
|
||||||
|
transform: translateY(4px);
|
||||||
|
}
|
||||||
|
|
||||||
|
50% {
|
||||||
|
-webkit-transform: translateY(-4px);
|
||||||
|
transform: translateY(-4px);
|
||||||
|
}
|
||||||
|
|
||||||
|
100% {
|
||||||
|
-webkit-transform: translateY(4px);
|
||||||
|
transform: translateY(4px);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@-webkit-keyframes slide-in-left {
|
||||||
|
0% {
|
||||||
|
opacity: 0;
|
||||||
|
-webkit-transform: translateX(-30px);
|
||||||
|
transform: translateX(-30px);
|
||||||
|
}
|
||||||
|
|
||||||
|
100% {
|
||||||
|
opacity: 1;
|
||||||
|
-webkit-transform: translateX(0);
|
||||||
|
transform: translateX(0);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes slide-in-left {
|
||||||
|
0% {
|
||||||
|
opacity: 0;
|
||||||
|
-webkit-transform: translateX(-30px);
|
||||||
|
transform: translateX(-30px);
|
||||||
|
}
|
||||||
|
|
||||||
|
100% {
|
||||||
|
opacity: 1;
|
||||||
|
-webkit-transform: translateX(0);
|
||||||
|
transform: translateX(0);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@-webkit-keyframes slide-in-top {
|
||||||
|
0% {
|
||||||
|
opacity: 0;
|
||||||
|
-webkit-transform: translateY(-30px);
|
||||||
|
transform: translateY(-30px);
|
||||||
|
}
|
||||||
|
|
||||||
|
100% {
|
||||||
|
opacity: 1;
|
||||||
|
-webkit-transform: translateY(0);
|
||||||
|
transform: translateY(0);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes slide-in-top {
|
||||||
|
0% {
|
||||||
|
opacity: 0;
|
||||||
|
-webkit-transform: translateY(-30px);
|
||||||
|
transform: translateY(-30px);
|
||||||
|
}
|
||||||
|
|
||||||
|
100% {
|
||||||
|
opacity: 1;
|
||||||
|
-webkit-transform: translateY(0);
|
||||||
|
transform: translateY(0);
|
||||||
|
}
|
||||||
|
}
|
124
css/important.css
Normal file
@ -0,0 +1,124 @@
|
|||||||
|
/*Important rules*/
|
||||||
|
|
||||||
|
* {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
font-family: 'Life Savers', cursive;
|
||||||
|
-webkit-user-select: none;
|
||||||
|
/* Safari */
|
||||||
|
-moz-user-select: none;
|
||||||
|
/* Firefox */
|
||||||
|
-ms-user-select: none;
|
||||||
|
/* IE10+/Edge */
|
||||||
|
user-select: none;
|
||||||
|
/* Standard */
|
||||||
|
}
|
||||||
|
|
||||||
|
.unsupported,
|
||||||
|
.bg-landing {
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
position: fixed;
|
||||||
|
margin: 0;
|
||||||
|
min-width: 250px;
|
||||||
|
min-height: 310px;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
html,
|
||||||
|
body,
|
||||||
|
.page {
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
min-height: 100vh;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
a,
|
||||||
|
a:visited,
|
||||||
|
a:link {
|
||||||
|
text-decoration: none;
|
||||||
|
color: #eee;
|
||||||
|
-webkit-transition: cubic-bezier(0.075, 0.82, 0.165, 1) 0.5s;
|
||||||
|
-o-transition: cubic-bezier(0.075, 0.82, 0.165, 1) 0.5s;
|
||||||
|
transition: cubic-bezier(0.075, 0.82, 0.165, 1) 0.5s;
|
||||||
|
}
|
||||||
|
|
||||||
|
.flex {
|
||||||
|
display: -webkit-box;
|
||||||
|
display: -ms-flexbox;
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
|
||||||
|
.column {
|
||||||
|
-webkit-box-orient: vertical;
|
||||||
|
-webkit-box-direction: normal;
|
||||||
|
-ms-flex-direction: column;
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
|
||||||
|
.row {
|
||||||
|
-webkit-box-orient: horizontal;
|
||||||
|
-webkit-box-direction: normal;
|
||||||
|
-ms-flex-direction: row;
|
||||||
|
flex-direction: row;
|
||||||
|
}
|
||||||
|
|
||||||
|
.justify-center {
|
||||||
|
-webkit-box-pack: center;
|
||||||
|
-ms-flex-pack: center;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hide {
|
||||||
|
display: none !important;
|
||||||
|
opacity: 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.spacer {
|
||||||
|
-webkit-box-flex: 1;
|
||||||
|
-ms-flex: 1;
|
||||||
|
flex: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.bg-landing img {
|
||||||
|
-webkit-filter: blur(5px) brightness(0.4);
|
||||||
|
filter: blur(5px) brightness(0.4);
|
||||||
|
top: -5vw !important;
|
||||||
|
left: -5vw !important;
|
||||||
|
min-width: 110vw;
|
||||||
|
min-height: 110vh;
|
||||||
|
z-index: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.branding {
|
||||||
|
-webkit-filter: drop-shadow(0 10px 3px #0009);
|
||||||
|
filter: drop-shadow(0 10px 3px #0009);
|
||||||
|
margin: auto 0;
|
||||||
|
height: 100%;
|
||||||
|
z-index: 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
.brand {
|
||||||
|
color: #eee;
|
||||||
|
padding: 0 50px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.brand h1 {
|
||||||
|
font-family: 'Creepster', cursive;
|
||||||
|
}
|
||||||
|
|
||||||
|
.logo {
|
||||||
|
padding: 0 50px;
|
||||||
|
margin: auto 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.logo img {
|
||||||
|
height: 150px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.unsupported {
|
||||||
|
display: none;
|
||||||
|
}
|
232
css/responsive.css
Normal file
@ -0,0 +1,232 @@
|
|||||||
|
/*Responsive layout*/
|
||||||
|
|
||||||
|
@media screen and (min-width: 2420px) {
|
||||||
|
.bg-landing img {
|
||||||
|
-webkit-filter: blur(10px) brightness(0.4);
|
||||||
|
filter: blur(10px) brightness(0.4);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (min-width: 1620px) {
|
||||||
|
.logo img {
|
||||||
|
height: 200px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.brand h1 {
|
||||||
|
font-size: 96px;
|
||||||
|
width: 700px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 920px) {
|
||||||
|
.branding {
|
||||||
|
-webkit-box-orient: vertical;
|
||||||
|
-webkit-box-direction: normal;
|
||||||
|
-ms-flex-direction: column;
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
|
||||||
|
.logo {
|
||||||
|
-webkit-box-ordinal-group: 3;
|
||||||
|
-ms-flex-order: 2;
|
||||||
|
order: 2;
|
||||||
|
-webkit-box-pack: center;
|
||||||
|
-ms-flex-pack: center;
|
||||||
|
justify-content: center;
|
||||||
|
margin: 0 auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.logo,
|
||||||
|
.logo img {
|
||||||
|
height: 100px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.brand {
|
||||||
|
-webkit-box-ordinal-group: 5;
|
||||||
|
-ms-flex-order: 4;
|
||||||
|
order: 4;
|
||||||
|
text-align: center;
|
||||||
|
min-width: 250px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.brand h1 {
|
||||||
|
width: 100%;
|
||||||
|
font-size: 48px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.links {
|
||||||
|
margin: 0 auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.about {
|
||||||
|
margin: 20px auto 0 auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tab-content a {
|
||||||
|
padding: 0 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tabs {
|
||||||
|
padding: 2px 10px 0 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tabs a {
|
||||||
|
font-size: 12px;
|
||||||
|
border-radius: 5px 5px 0 0;
|
||||||
|
padding: 0 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tab-content h2 {
|
||||||
|
font-size: 18px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tab-content p {
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (min-width: 920px) {
|
||||||
|
.logo {
|
||||||
|
display: initial !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 640px) {
|
||||||
|
.brand {
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.brand h1 {
|
||||||
|
font-size: 32px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.brand p {
|
||||||
|
font-size: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.brand a {
|
||||||
|
font-size: 18px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.links {
|
||||||
|
width: 90%;
|
||||||
|
-ms-flex-flow: wrap;
|
||||||
|
flex-flow: wrap;
|
||||||
|
max-width: 300px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.links a {
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.about {
|
||||||
|
margin-top: 10px;
|
||||||
|
width: 100%;
|
||||||
|
border-radius: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tabs {
|
||||||
|
padding: 2px 10px 0 10px;
|
||||||
|
border-radius: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tabs a {
|
||||||
|
font-size: 12px;
|
||||||
|
border-radius: 5px 5px 0 0;
|
||||||
|
padding: 0 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tab-content h2 {
|
||||||
|
font-size: 18px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tab-content p {
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 330px) {
|
||||||
|
|
||||||
|
.logo,
|
||||||
|
.logo img {
|
||||||
|
height: 50px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.brand h1 {
|
||||||
|
font-size: 24px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.brand p {
|
||||||
|
font-size: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.links a {
|
||||||
|
font-size: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tabs a {
|
||||||
|
padding: 0 4px;
|
||||||
|
margin: 0 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tab-content h2 {
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tab-content p {
|
||||||
|
font-size: 12px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (max-height: 450px) {
|
||||||
|
|
||||||
|
.h-on,
|
||||||
|
.logo,
|
||||||
|
h1 {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.about {
|
||||||
|
margin-top: 10px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/*Resolution Support*/
|
||||||
|
|
||||||
|
.unsupported {
|
||||||
|
background-color: #222a;
|
||||||
|
height: 0;
|
||||||
|
-webkit-box-pack: center;
|
||||||
|
-ms-flex-pack: center;
|
||||||
|
justify-content: center;
|
||||||
|
-ms-flex-line-pack: center;
|
||||||
|
align-content: center;
|
||||||
|
min-height: 0;
|
||||||
|
min-width: 0;
|
||||||
|
z-index: 20;
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.unsupported-text {
|
||||||
|
margin: auto;
|
||||||
|
padding: 10px;
|
||||||
|
text-align: center;
|
||||||
|
font-size: 16px;
|
||||||
|
color: #eee;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 260px),
|
||||||
|
screen and (max-height: 120px) {
|
||||||
|
.unsupported {
|
||||||
|
opacity: 1;
|
||||||
|
height: auto;
|
||||||
|
display: -webkit-box;
|
||||||
|
display: -ms-flexbox;
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
|
||||||
|
.page {
|
||||||
|
-webkit-filter: blur(12px);
|
||||||
|
filter: blur(12px);
|
||||||
|
}
|
||||||
|
}
|
108
css/rules.css
Normal file
@ -0,0 +1,108 @@
|
|||||||
|
/*Page Rules*/
|
||||||
|
|
||||||
|
a:hover {
|
||||||
|
color: #2e2;
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
|
||||||
|
url(../res/bg.webp) no-repeat center;
|
||||||
|
background-size: cover;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*Text*/
|
||||||
|
|
||||||
|
.brand {
|
||||||
|
min-width: 570px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.brand h1 {
|
||||||
|
font-size: 72px;
|
||||||
|
line-height: 1.2em;
|
||||||
|
width: 550px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.brand p {
|
||||||
|
font-size: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.links {
|
||||||
|
-webkit-box-pack: justify;
|
||||||
|
-ms-flex-pack: justify;
|
||||||
|
justify-content: space-between;
|
||||||
|
width: 400px;
|
||||||
|
font-size: 24px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.spacer {
|
||||||
|
-webkit-transition: cubic-bezier(0.075, 0.82, 0.165, 1) 0.5s;
|
||||||
|
-o-transition: cubic-bezier(0.075, 0.82, 0.165, 1) 0.5s;
|
||||||
|
transition: cubic-bezier(0.075, 0.82, 0.165, 1) 0.5s;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*About pop-up*/
|
||||||
|
|
||||||
|
.about {
|
||||||
|
background-color: #111;
|
||||||
|
border-radius: 10px;
|
||||||
|
margin: 40px 0 0 0;
|
||||||
|
min-width: 260px;
|
||||||
|
max-width: 640px;
|
||||||
|
max-height: 400px;
|
||||||
|
height: 50%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tabs {
|
||||||
|
background-color: #222;
|
||||||
|
border-radius: 10px 10px 0 0;
|
||||||
|
padding: 5px 10px 0 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tabs a {
|
||||||
|
background-color: #333;
|
||||||
|
color: #1a1;
|
||||||
|
padding: 0 20px;
|
||||||
|
border-radius: 20px 2px 0 0;
|
||||||
|
margin: 0 4px;
|
||||||
|
-webkit-transition: ease-out 0.3s;
|
||||||
|
-o-transition: ease-out 0.3s;
|
||||||
|
transition: ease-out 0.3s;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tabs a:hover {
|
||||||
|
color: #2f2;
|
||||||
|
background-color: #444;
|
||||||
|
}
|
||||||
|
|
||||||
|
.abt {
|
||||||
|
padding: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.close {
|
||||||
|
background-color: #111 !important;
|
||||||
|
border-radius: 10px 10px 0 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.chosen {
|
||||||
|
background-color: #eee !important;
|
||||||
|
color: #222 !important;
|
||||||
|
-webkit-box-shadow: 0 0 10px 1px #fff;
|
||||||
|
box-shadow: 0 0 10px 1px #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.abt h2 {
|
||||||
|
font-size: 26px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.abt p {
|
||||||
|
font-size: 18px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tab-content a {
|
||||||
|
color: #1a1;
|
||||||
|
padding-right: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tab-content a:hover {
|
||||||
|
color: #1f1;
|
||||||
|
}
|
BIN
favicon.ico
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 66 KiB |
174
index.html
@ -1,101 +1,73 @@
|
|||||||
<html>
|
<!DOCTYPE html>
|
||||||
<head>
|
<html lang="en">
|
||||||
<!--Styles and such-->
|
|
||||||
<link rel="stylesheet" href="res/web.css">
|
<head>
|
||||||
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.13/css/all.css" integrity="sha384-DNOHZ68U8hZfKXOrtjWvjxusGo9WQnrNx2sqG0tfsghAvtVlRW3tvkXWZh58N9jp" crossorigin="anonymous">
|
<!--Styles and meta-->
|
||||||
<link href="https://fonts.googleapis.com/css?family=Oswald" rel="stylesheet">
|
<title>RedXen Community</title>
|
||||||
<link href="https://fonts.googleapis.com/css?family=Open+Sans+Condensed:300" rel="stylesheet">
|
<meta name="description" content="The community that empowers gamers.">
|
||||||
<link href="https://fonts.googleapis.com/css?family=Dosis" rel="stylesheet">
|
<link rel="shortcut icon" href="/favicon.ico">
|
||||||
<link rel="shortcut icon" href="/favicon.ico">
|
<meta name="keywords" content="rx,redxen,community,game,games,server,discord,pmbot,forum">
|
||||||
<!--Meta and tracking-->
|
<meta name="author" content="caskd">
|
||||||
<meta name="author" content="caskd">
|
<meta name="theme-color" content="#d22">
|
||||||
<meta charset="UTF-8">
|
<link rel="icon" sizes="222x222" href="res/logowhite.png">
|
||||||
<meta name="description" content="The homepage of the RedXen Community">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<title>RedXen Community</title>
|
<meta charset="UTF-8">
|
||||||
<!-- Global site tag (gtag.js) - Google Analytics -->
|
<link rel="stylesheet" href="css/important.css">
|
||||||
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-120536610-1"></script>
|
</head>
|
||||||
<script>
|
|
||||||
window.dataLayer = window.dataLayer || [];
|
<body style="background-color: #171">
|
||||||
function gtag(){dataLayer.push(arguments);}
|
<div id="bg" class="bg-landing">
|
||||||
gtag('js', new Date());
|
<img alt="background" data-depth="0.2" src="res/bg.webp">
|
||||||
gtag('config', 'UA-120536610-1');
|
</div>
|
||||||
</script>
|
<div id="page" class="page flex column">
|
||||||
</head>
|
<div class="branding flex row float">
|
||||||
<body>
|
<div class="brand flex column justify-center">
|
||||||
<div class="interface">
|
<h1 class="slide-top flex column h-hide">RedXen Community</h1>
|
||||||
<div class="header">
|
<div class="slide-left flex column">
|
||||||
<span id="logo-header">
|
<p class="h-hide">Happy spooktober!</p>
|
||||||
<img src="res/logo.png" alt="logo">
|
<div class="h-hide links flex">
|
||||||
</span>
|
<a id="abt-btn" href="#">About</a>
|
||||||
<span id="links-header">
|
<a href="https://redxen.eu/discord">Discord</a>
|
||||||
<a href="https://forum.redxen.eu">Forum</a>
|
<a href="https://forum.redxen.eu/">Forums</a>
|
||||||
<a href="https://steamcommunity.com/groups/redxengaming">Steam</a>
|
<a href="https://yagpdb.redxen.eu/">PMBot</a>
|
||||||
<a href="/discord">Discord</a>
|
<a href="https://status.redxen.eu/">Status</a>
|
||||||
<a href="https://yagpdb.redxen.eu">PMBot</a>
|
</div>
|
||||||
</span>
|
<div id="abt" class="slide-top hide about">
|
||||||
</div>
|
<div class="tabs flex">
|
||||||
<div class="content">
|
<a href="#" class="tab chosen" data-tab="tab-1">Staff</a>
|
||||||
<div id="banner">
|
<a href="#" class="tab" data-tab="tab-2">Discord</a>
|
||||||
<img id="logobig" src="res/logo.png" alt="logo">
|
<a href="#" class="tab" data-tab="tab-3">Contact</a>
|
||||||
<h1>RedXen Gaming</h1>
|
<div class="spacer"></div>
|
||||||
</div>
|
<a href="#" class="close" id="close">X</a>
|
||||||
<div id="text">
|
</div>
|
||||||
<h2>About us</h2>
|
<div id="content" class="abt"></div>
|
||||||
<div id="forum" class="category">
|
</div>
|
||||||
<div class="left">
|
</div>
|
||||||
<img alt="discourse" src="res/discourse.png">
|
</div>
|
||||||
</div>
|
<div class="spacer"></div>
|
||||||
<div class="right">
|
<div class="logo slide-top">
|
||||||
<h3>RedXen Forum</h3>
|
<img alt="logo" src="res/logo.svg">
|
||||||
<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>
|
||||||
</div>
|
</div>
|
||||||
<div id="discord" class="category">
|
<div class="unsupported">
|
||||||
<div class="left">
|
<div class="unsupported-text">
|
||||||
<img alt="discord" src="res/discord.png">
|
<p>Your resolution is known to cause problems!</p>
|
||||||
</div>
|
<p>Please resize your window to a supported resolution.</p>
|
||||||
<div class="right">
|
</div>
|
||||||
<h3>Discord Server</h3>
|
</div>
|
||||||
<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>
|
<noscript>
|
||||||
</div>
|
<link rel="stylesheet" href="css/rules.css"></noscript>
|
||||||
</div>
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
|
||||||
<div id="yagpdb" class="category">
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/parallax/3.1.0/parallax.min.js" defer></script>
|
||||||
<div class="left">
|
<script src="js/main.js" defer></script>
|
||||||
<img alt="yagpdb" src="res/yagpdb.png">
|
<link href="https://fonts.googleapis.com/css?family=Creepster" rel="stylesheet">
|
||||||
</div>
|
<link href="https://fonts.googleapis.com/css?family=Life+Savers" rel="stylesheet">
|
||||||
<div class="right">
|
<link rel="manifest" href="/manifest.json">
|
||||||
<h3>PMBot</h3>
|
<noscript>
|
||||||
<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>
|
<link rel="stylesheet" href="css/responsive.css"></noscript>
|
||||||
</div>
|
<noscript>
|
||||||
</div>
|
<link rel="stylesheet" href="css/animations.css"></noscript>
|
||||||
<h2>News</h2>
|
</body>
|
||||||
<div id="news" class="text-field">
|
|
||||||
<div class="row">
|
</html>
|
||||||
<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>
|
|
||||||
</html>
|
|
||||||
|
35
js/main.js
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
$(document).ready(function () {
|
||||||
|
$("head").append(
|
||||||
|
'<link rel="stylesheet" href="css/rules.css">' +
|
||||||
|
'<link rel="stylesheet" href="css/responsive.css">' +
|
||||||
|
'<link rel="stylesheet" href="css/animations.css">'
|
||||||
|
);
|
||||||
|
$('#abt-btn').click(function () {
|
||||||
|
$('#abt').toggleClass('hide');
|
||||||
|
$('.h-hide').toggleClass('h-on');
|
||||||
|
LoadOnce();
|
||||||
|
});
|
||||||
|
$('#close').click(function () {
|
||||||
|
$('#abt').addClass('hide');
|
||||||
|
$('.h-hide').removeClass('h-on');
|
||||||
|
});
|
||||||
|
$('.tab').click(function () {
|
||||||
|
var tab_id = $(this).attr('data-tab');
|
||||||
|
$('div.tabs a').removeClass('chosen');
|
||||||
|
$('.tab-content').addClass('hide');
|
||||||
|
$(this).addClass('chosen');
|
||||||
|
$('#' + tab_id).removeClass('hide');
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
function LoadOnce() {
|
||||||
|
$('#content').load('ajax/about.html');
|
||||||
|
$('.tab-content').addClass('hide');
|
||||||
|
LoadOnce = function () {};
|
||||||
|
}
|
||||||
|
|
||||||
|
var scene = document.getElementById('bg');
|
||||||
|
var parallaxInstance = new Parallax(scene, {
|
||||||
|
relativeInput: true,
|
||||||
|
hoverOnly: true
|
||||||
|
});
|
15
manifest.json
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"name": "RedXen Community",
|
||||||
|
"short_name": "RX Community",
|
||||||
|
"start_url": ".",
|
||||||
|
"display": "standalone",
|
||||||
|
"orientation": "portrait-primary",
|
||||||
|
"theme_color": "red",
|
||||||
|
"background_color": "#e22",
|
||||||
|
"description": "The Community that empowers gamers!",
|
||||||
|
"icons": [{
|
||||||
|
"src": "res/logowhite.png",
|
||||||
|
"sizes": "222x222",
|
||||||
|
"type": "image/png"
|
||||||
|
}]
|
||||||
|
}
|
BIN
res/bg.jpg
Before Width: | Height: | Size: 760 KiB |
BIN
res/bg.webp
Normal file
After Width: | Height: | Size: 370 KiB |
BIN
res/discord.png
Before Width: | Height: | Size: 114 KiB |
Before Width: | Height: | Size: 13 KiB |
BIN
res/logo.png
Before Width: | Height: | Size: 9.0 KiB |
1
res/logo.svg
Normal file
After Width: | Height: | Size: 32 KiB |
BIN
res/logowhite.png
Normal file
After Width: | Height: | Size: 14 KiB |
274
res/web.css
@ -1,274 +0,0 @@
|
|||||||
html {
|
|
||||||
margin: 0;
|
|
||||||
top: 0;
|
|
||||||
left: 0;
|
|
||||||
font-family: 'Oswald', sans-serif;
|
|
||||||
background: rgb(10, 10, 10);
|
|
||||||
min-height: 300px;
|
|
||||||
}
|
|
||||||
.header {
|
|
||||||
height: 50px;
|
|
||||||
width: 100%;
|
|
||||||
top: 0;
|
|
||||||
left: 0;
|
|
||||||
position: fixed;
|
|
||||||
background-color: rgba(10, 10, 10, 0.4);
|
|
||||||
z-index: 20;
|
|
||||||
display: flex;
|
|
||||||
overflow: hidden;
|
|
||||||
}
|
|
||||||
#logo-header img {
|
|
||||||
display: flex;
|
|
||||||
height: 40px;
|
|
||||||
padding: 5px;
|
|
||||||
}
|
|
||||||
#links-header {
|
|
||||||
display: flex;
|
|
||||||
height: 50px;
|
|
||||||
line-height: 50px;
|
|
||||||
flex: 1 1 0;
|
|
||||||
justify-content: flex-end;
|
|
||||||
}
|
|
||||||
#links-header a {
|
|
||||||
line-height: 50px;
|
|
||||||
color: #eee;
|
|
||||||
text-align: center;
|
|
||||||
padding-right: 10px;
|
|
||||||
padding-left: 10px;
|
|
||||||
text-decoration: none;
|
|
||||||
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%;
|
|
||||||
color: #fff;
|
|
||||||
overflow: hidden;
|
|
||||||
font-size: 40px;
|
|
||||||
transition: ease-in-out 0.2s;
|
|
||||||
|
|
||||||
/*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));
|
|
||||||
transition: ease-in-out 0.2s;
|
|
||||||
}
|
|
||||||
#text {
|
|
||||||
display: flex;
|
|
||||||
flex-wrap: wrap;
|
|
||||||
width: 100%;
|
|
||||||
max-width: 1700px;
|
|
||||||
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);
|
|
||||||
transition: ease-in-out 0.2s;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*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%;
|
|
||||||
transition: ease-in-out 0.2s;
|
|
||||||
}
|
|
||||||
h2 { color: #F33;}
|
|
||||||
|
|
||||||
#news {margin-bottom: 20px;}
|
|
||||||
|
|
||||||
.text-field {
|
|
||||||
width: 100%;
|
|
||||||
justify-content: center;
|
|
||||||
display: flex;
|
|
||||||
padding: 20px;
|
|
||||||
background-color: rgba(10, 10, 10, 0.4);
|
|
||||||
max-width: 1200px;
|
|
||||||
margin: 1 auto;
|
|
||||||
flex-direction: row;
|
|
||||||
flex: 1;
|
|
||||||
font-size: 20px;
|
|
||||||
flex-wrap: wrap;
|
|
||||||
align-items: flex-start;
|
|
||||||
text-align: center;
|
|
||||||
font-family: 'Dosis', sans-serif;
|
|
||||||
}
|
|
||||||
.row {
|
|
||||||
width: 50%;
|
|
||||||
}
|
|
||||||
.text-field h3 {
|
|
||||||
font-size: 25px;
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*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;
|
|
||||||
transition: ease-in-out 0.2s;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*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;
|
|
||||||
transition: ease-in-out 0.2s;
|
|
||||||
}
|
|
||||||
.right h3 {
|
|
||||||
font-size: 40px;
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
.right p {
|
|
||||||
font-style: italic;
|
|
||||||
font-family: 'Open Sans Condensed', sans-serif;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*Webpage footer*/
|
|
||||||
#footer {
|
|
||||||
color: #fff;
|
|
||||||
display: flex;
|
|
||||||
max-width: 1700px;
|
|
||||||
width: 80%;
|
|
||||||
font-size: 20px;
|
|
||||||
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;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*Adaptive content using media queries*/
|
|
||||||
|
|
||||||
@media screen and (max-width: 730px) {
|
|
||||||
.header {
|
|
||||||
height: 50px;
|
|
||||||
}
|
|
||||||
#banner {
|
|
||||||
font-size: 20px;
|
|
||||||
height: 300px;
|
|
||||||
}
|
|
||||||
#text h2 {
|
|
||||||
font-size: 30px;
|
|
||||||
line-height: 50px;
|
|
||||||
}
|
|
||||||
#banner img {
|
|
||||||
width: 110px;
|
|
||||||
}
|
|
||||||
.category {
|
|
||||||
flex-wrap: wrap;
|
|
||||||
}
|
|
||||||
.category img {
|
|
||||||
width: 30%;
|
|
||||||
}
|
|
||||||
.left, .right {
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
.right {
|
|
||||||
padding: 10px 25px 10px 25px;
|
|
||||||
}
|
|
||||||
.right h3 {
|
|
||||||
font-size: 30px;
|
|
||||||
}
|
|
||||||
.right p {
|
|
||||||
font-size: 15px;
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
.row {
|
|
||||||
width: 100%;
|
|
||||||
margin: 10px 0;
|
|
||||||
}
|
|
||||||
.text-field {
|
|
||||||
font-size: 10px;
|
|
||||||
padding: 10px;
|
|
||||||
justify-content: space-between;
|
|
||||||
}
|
|
||||||
.text-field h3 {
|
|
||||||
font-size: 20px;
|
|
||||||
}
|
|
||||||
#footer {
|
|
||||||
width: 90%;
|
|
||||||
font-size: 15px;
|
|
||||||
height: auto;
|
|
||||||
flex-flow: wrap;
|
|
||||||
}
|
|
||||||
#footer a {
|
|
||||||
font-size: 25px;
|
|
||||||
padding: 0 7px 0 7px;
|
|
||||||
}
|
|
||||||
#footer-r, #footer-r a {
|
|
||||||
font-size: 15px;
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
#footer-r {
|
|
||||||
padding: 0 0 10px 0;
|
|
||||||
}
|
|
||||||
}
|
|
BIN
res/yagpdb.png
Before Width: | Height: | Size: 50 KiB |