Compare commits

..

14 Commits
master ... v3

Author SHA1 Message Date
Alex D. 0718336402 Keep git repo up to date 2018-08-01 12:30:57 +02:00
Alex D. 5cc50968c4 Some fixes and making it look nice 2018-07-05 18:19:19 +02:00
Alex D. 52639f70f1 Path Quickfix 2018-07-01 01:52:45 +02:00
Alex D. 2f6de7457f Improved code readability
Also added few features
2018-07-01 01:46:34 +02:00
Alex D. ffaef4a72b Fixed bugs, improved content responsiveness etc. 2018-06-30 18:30:25 +02:00
Alex D. 3a49532357 Quick Fix Viewport 2018-06-27 16:41:50 +02:00
Alex D. 9b1f843da7 Revamp 2018-06-27 16:10:12 +02:00
Alex D. 0616d7946a Added sourceban and news 2018-06-14 09:39:18 +02:00
Alex D. a9dbb24eb1 Last fix 2018-06-13 19:45:32 +02:00
Alex D. a30b7b1fda Mobile improvement and fitting 2018-06-13 19:38:10 +02:00
Alex D. 09b037a5c7 Tweaked stuff around 2018-06-13 19:12:17 +02:00
Alex D. 9b299894df Added functionality
Added jQuery for performance improvement
Moved DOM elements by priority
Moved header below banner
Swapped sides for easier css adapting
2018-06-13 17:36:29 +02:00
Alex D. 6d1274354b Merge branch 'master' of https://github.com/casKd-dev/RXHomepage 2018-06-10 19:29:31 +02:00
Alex 5faec60ab6
Update README.md 2018-06-07 18:50:02 +02:00
30 changed files with 591 additions and 440 deletions

3
.gitignore vendored
View File

@ -1,3 +0,0 @@
*.css
.*~
*.kate-swp

21
LICENSE Normal file
View File

@ -0,0 +1,21 @@
MIT License
Copyright (c) 2018 caskd
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

11
README.md Normal file
View File

@ -0,0 +1,11 @@
# RedXen Homepage
## What is this?
Well, nothing special...
This is just the homepage i use for the community i am running [here](https://redxen.eu)
## Why do i host it on GitHub?
If anyone wants to contribute, see my code practices or something similar, then here it is.
It is also easier to check on something or manage changes.

19
ajax/about.html Normal file
View File

@ -0,0 +1,19 @@
<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>Community servers:</h2>
<p>The commmunity servers that we run are well optimized and running on a high-performance VPS, they are hosted on DigitalOcean and managed by the Pterodactyl Gameserver Panel and they benefit a lot from the virtualization the cloud provides.</p>
</div>
<div class="tab-content hide" id="tab-3">
<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-4">
<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>

48
css/animations.css Normal file
View File

@ -0,0 +1,48 @@
/*Animations*/
.float {
animation: float 7s infinite;
transition: cubic-bezier(0.455, 0.03, 0.515, 0.955) 0.2s;
}
.slide-top {
animation: slide-in-top 1s;
}
.slide-left {
animation: slide-in-left 1s;
}
@keyframes float {
0% {
transform: translateY(4px);
}
50% {
transform: translateY(-4px);
}
100% {
transform: translateY(4px);
}
}
@keyframes slide-in-left {
0% {
opacity: 0;
transform: translateX(-30px);
}
100% {
opacity: 1;
transform: translateX(0);
}
}
@keyframes slide-in-top {
0% {
opacity: 0;
transform: translateY(-30px);
}
100% {
opacity: 1;
transform: translateY(0);
}
}

88
css/important.css Normal file
View File

@ -0,0 +1,88 @@
/*Important rules*/
* {
margin: 0;
padding: 0;
font-family: "Oswald", sans-serif;
}
.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;
transition: cubic-bezier(0.075, 0.82, 0.165, 1) 0.5s;
}
.hide {
display: none !important;
opacity: 0 !important;
}
.page {
display: flex;
flex-direction: column;
}
.spacer {
flex: 1;
}
.bg-landing img {
filter: blur(5px) brightness(0.4);
top: -5vw !important;
left: -5vw !important;
min-width: 110vw;
min-height: 110vh;
}
.branding {
display: flex;
flex-direction: row;
filter: drop-shadow(0 10px 3px #0009);
margin: auto 0;
height: 100%;
}
.brand {
color: #eee;
display: flex;
justify-content: center;
flex-direction: column;
padding: 0 50px;
}
.logo {
padding: 0 50px;
margin: auto 0;
}
.logo img {
height: 150px;
}
.unsupported {
display: none;
}

View File

@ -1,169 +0,0 @@
@bg: #111;
@fg-mono: contrast(@bg);
@fg-color: #e11;
// Override defaults and things a user agent shouldn't choose
* {
list-style-type: none;
margin: 0;
padding: 0;
padding-inline-start: 0;
margin-block-start: 0;
margin-block-end: 0;
margin-inline-start: 0;
margin-inline-end: 0;
box-sizing: border-box;
}
a {
color: @fg-mono;
transition: color 100ms ease-in;
&:hover { color: @fg-color }
}
img {
max-width: 100%;
max-height: 100%;
}
h1 { font-size: 2em }
h2 { font-size: 1.5em }
h3 { font-size: 1.25em }
html {
background: @bg; /* Fallback */
background:
linear-gradient(
0deg,
@bg,
fade(overlay(@bg, contrast(@fg-mono)), 50%)),
repeating-linear-gradient(
45deg,
@fg-color 0% 2%,
transparent 2% 4%
),
repeating-linear-gradient(
-45deg,
@bg 0% 2%,
average(@bg, @fg-color) 2% 4%
);
color: @fg-mono;
font-size: 1em;
width: 100%;
min-width: 200px;
min-height: 200px;
@font-face {font-family: 'Oswald'; src: url('../fonts/Oswald/static/Oswald-Regular.ttf')}
font-family: 'Oswald', sans-serif;
scroll-behavior: smooth;
body {
width: inherit;
min-height: inherit;
min-width: inherit;
display: flex;
flex-direction: column;
.semihidden {
display: none;
opacity: 0;
}
.header {
min-height: inherit;
height: 100vh;
min-width: inherit;
width: inherit;
position: relative;
display: inherit;
.content, div.slideshow span {
min-width: inherit;
width: inherit;
height: inherit;
min-height: inherit;
position: absolute;
top: 0;
}
div.slideshow {
z-index: 0;
min-width: inherit;
width: inherit;
height: inherit;
min-height: inherit;
span {
&:nth-child(1) {
background-image: url(../res/slideshow/1.jpg);
opacity: 1;
animation-delay: 0s;
}
&:nth-child(2) {
background-image: url(../res/slideshow/2.jpg);
animation-delay: 5s;
}
&:nth-child(3) {
background-image: url(../res/slideshow/3.jpg);
animation-delay: 10s;
}
&:nth-child(4) {
background-image: url(../res/slideshow/4.jpg);
animation-delay: 15s;
}
min-width: inherit;
width: inherit;
color: transparent;
opacity: 0;
background-size: cover;
background-position: center;
background-repeat: no-repeat;
animation: slideshow 20s infinite;
animation-timing-function: ease-in-out;
}
}
.content {
z-index: 1;
display: inherit;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
font-size: 1.5em;
}
}
.body {
padding: 20px 10px;
text-align: center;
h3 {
margin-top: 10px;
}
}
.footer {
display: inherit;
flex-direction: row;
flex-wrap: wrap;
justify-content: space-between;
background-color: overlay(@bg, contrast(@fg-mono));
padding-bottom: 5%;
border-top: 2px solid @fg-mono;
justify-content: center;
text-align: center;
.branding, .links .column {
padding: 10px;
}
.links {
display: inherit;
flex-direction: inherit;
flex-wrap: wrap;
flex-grow: 1;
.column {
flex-grow: 1;
display: inherit;
flex-direction: column;
.title {
font-size: 1.25em;
}
}
}
}
}
}
@keyframes slideshow {
0%,35%,100% { opacity: 0 }
5%,30% { opacity: 1 }
}

175
css/responsive.css Normal file
View File

@ -0,0 +1,175 @@
/*Responsive layout*/
@media screen and (min-width: 2420px) {
.bg-landing img {
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 {
flex-direction: column;
}
.logo {
order: 2;
justify-content: center;
margin: 0 auto;
}
.logo, .logo img {
height: 100px;
}
.brand {
order: 4;
text-align: center;
min-width: 250px;
}
.brand h1 {
width: 100%;
font-size: 48px;
}
.links {
width: 450px;
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 5px;
}
.brand h1 {
font-size: 32px;
}
.brand p {
font-size: 20px;
}
.brand a {
font-size: 18px;
}
.links {
width: 90%;
flex-flow: wrap;
max-width: 350px;
}
.links a {
font-size: 14px;
}
.about {
margin-top: 10px;
}
.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 (max-width: 330px) {
.brand h1 {
font-size: 24px;
}
.brand p {
font-size: 14px;
}
.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 {
display: none;
}
.about {
margin-top: 10px;
}
.logo {
display: none;
}
}
/*Resolution Support*/
.unsupported {
background-color: #222a;
height: 0;
justify-content: 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: 12px;
color: #eee;
}
@media screen and (max-width: 260px), screen and (max-height: 120px) {
.unsupported {
opacity: 1;
height: auto;
display: flex;
}
.page {
filter: blur(12px);
}
}

97
css/rules.css Normal file
View File

@ -0,0 +1,97 @@
/*Page Rules*/
a:hover {
color: #e22;
}
/*Text*/
.brand {
min-width: 570px;
}
.brand h1 {
font-size: 72px;
line-height: 1.2em;
width: 550px;
}
.brand p {
font-size: 20px;
}
.links {
display: flex;
justify-content: space-between;
width: 450px;
font-size: 24px;
}
.spacer {
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;
display: flex;
}
.tabs a {
background-color: #333;
color: #eee;
padding: 0 20px;
border-radius: 20px 2px 0 0;
margin: 0 4px;
transition: ease-out 0.3s;
}
.tabs a:hover {
color: #ddd;
background-color: #444;
}
.abt {
padding: 20px;
}
.close {
background-color: #e22 !important;
border-radius: 10px 10px 0 0 !important;
}
.chosen {
background-color: #eee !important;
color: #222 !important;
box-shadow: 0 0 10px 1px #fff;
}
.abt h2 {
font-size: 26px;
}
.abt p {
font-size: 18px;
}
.tab-content a {
color: #e22;
padding-right: 10px;
}
.tab-content a:hover {
color: #a11;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 298 KiB

View File

@ -1,93 +0,0 @@
Copyright 2016 The Oswald Project Authors (https://github.com/googlefonts/OswaldFont)
This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL
-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------
PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.
The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.
DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.
"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).
"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).
"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.
"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.
PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:
1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.
2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.
5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.
TERMINATION
This license becomes null and void if any of the above conditions are
not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.

View File

@ -1,68 +0,0 @@
Oswald Variable Font
====================
This download contains Oswald as both a variable font and static fonts.
Oswald is a variable font with this axis:
wght
This means all the styles are contained in a single file:
Oswald-VariableFont_wght.ttf
If your app fully supports variable fonts, you can now pick intermediate styles
that arent available as static fonts. Not all apps support variable fonts, and
in those cases you can use the static font files for Oswald:
static/Oswald-ExtraLight.ttf
static/Oswald-Light.ttf
static/Oswald-Regular.ttf
static/Oswald-Medium.ttf
static/Oswald-SemiBold.ttf
static/Oswald-Bold.ttf
Get started
-----------
1. Install the font files you want to use
2. Use your app's font picker to view the font family and all the
available styles
Learn more about variable fonts
-------------------------------
https://developers.google.com/web/fundamentals/design-and-ux/typography/variable-fonts
https://variablefonts.typenetwork.com
https://medium.com/variable-fonts
In desktop apps
https://theblog.adobe.com/can-variable-fonts-illustrator-cc
https://helpx.adobe.com/nz/photoshop/using/fonts.html#variable_fonts
Online
https://developers.google.com/fonts/docs/getting_started
https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Fonts/Variable_Fonts_Guide
https://developer.microsoft.com/en-us/microsoft-edge/testdrive/demos/variable-fonts
Installing fonts
MacOS: https://support.apple.com/en-us/HT201749
Linux: https://www.google.com/search?q=how+to+install+a+font+on+gnu%2Blinux
Windows: https://support.microsoft.com/en-us/help/314960/how-to-install-or-remove-a-font-in-windows
Android Apps
https://developers.google.com/fonts/docs/android
https://developer.android.com/guide/topics/ui/look-and-feel/downloadable-fonts
License
-------
Please read the full license text (OFL.txt) to understand the permissions,
restrictions and requirements for usage, redistribution, and modification.
You can use them freely in your products & projects - print or digital,
commercial or otherwise. However, you can't sell the fonts on their own.
This isn't legal advice, please consider consulting a lawyer and see the full
license for all details.

Binary file not shown.

Binary file not shown.

View File

@ -1,110 +1,69 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>RedXen Homepage</title>
<meta property="og:title" content="RedXen Homepage" />
<meta property="og:type" content="website" />
<meta property="og:image" content="res/logo-small.png" />
<meta property="og:description" content="The community that empowers gamers" />
<link rel="shortcut icon" href="favicon.ico">
<meta name="keywords" content="rx,redxen,community,game,games,server" />
<meta name="author" content="caskd" />
<meta name="theme-color" content="#e11" />
<link rel="icon" sizes="227x227" href="res/logo-small.png">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link href="css/main.css" rel="stylesheet">
</head>
<body>
<!--
Looking to help us achieve more?
Mail me or start contributing on http://git.redxen.eu/RedXen
-->
<!-- SPAM SPAM GO AWAY, COME AGAIN ANOTHER DAY -->
<a class="semihidden" href="mailto:honeypot@redxen.eu">SPTR, IGNORE</a>
<div class="header">
<div class="content">
<img src="res/logo.png">
<p>Having fun has never been so easy before.</p>
<p>Ready to <a class="attention" href="#about">start</a>?</p>
</div>
<div class="slideshow">
<span></span>
<span></span>
<span></span>
<span></span>
</div>
</div>
<div class="body" id="about">
<h3>What is RedXen?</h3>
<p>RedXen is a hosting group and community that provide services for your entertainment.</p>
<h3>Why RedXen?</h3>
<p>Transparency, freedom and simplicity. We keep it short and to the point. We think that people should be free to enjoy whatever they want however they want and we commit to bring this dream as much as possible to reality.
<h3>Where do i join?</h3>
<p>There are a few places you might want to start. If you are looking for some games, our <a href="mumble://mumble.redxen.eu">Mumble server</a> is a good start. You can communicate with ease with your buddies without limits and without worrying about management. Just join, make a channel and you are good to go!</p>
<p>However, if you are looking to help with development or suggest a change, our <a href="http://git.redxen.eu/RedXen">Gitea</a> instance is open for registrations. You can help us become better by submitting a issue or contributing yourself. We also provide git hosting but this is approval only at the moment to prevent spam.</p>
<p>Finally, if you feel adventurous you might want to join our <a href="/telegram">Telegram Group</a> to have a chat.</p>
<h3>What are you hosting?</h3>
<ul>
<li>Mail: mail.redxen.eu</li>
<li>Git: <a href="http://git.redxen.eu">git.redxen.eu</a></li>
<li>Mumble: <a href="mumble://mumble.redxen.eu">mumble.redxen.eu</a>
</ul>
</div>
<div class="footer">
<div class="branding">
<span class="title">
<h1>RedXen Community</h1>
<h2>The community that empowers gamers</h2>
</span>
</div>
<div class="links">
<div class="column">
<span class="title">Services</span>
<span>
<ul>
<li><a href="http://git.redxen.eu">Gitea</a></li>
<li><a href="http://stats.redxen.eu">Grafana</a></li>
</ul>
</span>
</div>
<div class="column">
<span class="title">Social</span>
<span>
<ul>
<li><a href="/telegram">Telegram</a></li>
<li><a href="mumble://mumble.redxen.eu">Mumble</a></li>
</ul>
</span>
</div>
<div class="column">
<span class="title">People</span>
<span>
<ul>
<li><a href="http://deavmi.assigned.network/">deavmi</a></li>
<li><a href="http://chaox.ro/">Ty3r0X</a></li>
</ul>
</span>
</div>
<div class="column">
<span class="title">Contact</span>
<span>
<ul>
<li><a href="mailto:caskd@redxen.eu">Mail</a></li>
<li><a href="http://t.me/casKd_dev">Telegram</a></li>
</ul>
</span>
</div>
<div class="column">
<span class="title">Support</span>
<span>
<ul>
<li><a href="https://liberapay.com/RedXen/donate">LiberaPay</a></li>
<li><a href="monero:46FNfg4HHU6MqH8AGmohRbSukWojDBcpHKaSJdp5Efg4SVLgcs4GKYL2ZQ4Dr9NsXo626UVnV13JCj3jYwTRdp6iVcnBNiW&tx_description=rxdonation">Monero</a></li>
</ul>
</span>
</div>
</div>
</div>
</body>
<head>
<!--Styles and meta-->
<title>RedXen Community</title>
<meta name="description" content="The community that empowers gamers.">
<link rel="shortcut icon" href="/favicon.ico">
<meta name="keywords" content="rx,redxen,community,game,games,server,discord,pmbot,forum">
<meta name="author" content="caskd">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="UTF-8">
<link rel="stylesheet" href="css/important.css">
</head>
<body style="background-color: #222">
<div id="bg" class="bg-landing">
<img alt="background" data-depth="0.2" src="res/bg.webp">
</div>
<div id="page" class="page">
<div class="branding float">
<div class="brand">
<h1 class="slide-top">RedXen Community</h1>
<div class="slide-left">
<p class="h-hide">The community that empowers gamers</p>
<div class="h-hide links">
<a id="abt-btn" href="#">About</a>
<a href="https://redxen.eu/discord">Discord</a>
<a href="https://sb.redxen.eu/">Sourcebans</a>
<a href="https://forum.redxen.eu/">Forums</a>
<a href="https://yagpdb.redxen.eu/">PMBot</a>
<a href="https://status.redxen.eu/">Status</a>
</div>
<div id="abt" class="slide-top hide about">
<div class="tabs">
<a href="#" class="tab chosen" data-tab="tab-1">Staff</a>
<a href="#" class="tab" data-tab="tab-2">Servers</a>
<a href="#" class="tab" data-tab="tab-3">Discord</a>
<a href="#" class="tab" data-tab="tab-4">Contact</a>
<div class="spacer"></div>
<a href="#" class="close" id="close">X</a>
</div>
<div id="content" class="abt"></div>
</div>
</div>
</div>
<div class="spacer"></div>
<div class="logo slide-top">
<img alt="logo" src="res/logo.svg">
</div>
</div>
</div>
<div class="unsupported">
<div class="unsupported-text">
<p>Your resolution is known to cause problems!</p>
<p>Please resize your window to a supported resolution.</p>
</div>
</div>
<noscript><link rel="stylesheet" href="css/rules.css"></noscript>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/parallax/3.1.0/parallax.min.js" defer></script>
<script src="js/main.js" defer></script>
<link href="https://fonts.googleapis.com/css?family=Oswald" rel="stylesheet">
<link rel="manifest" href="/manifest.json">
<noscript><link rel="stylesheet" href="css/responsive.css"></noscript>
<noscript><link rel="stylesheet" href="css/animations.css"></noscript>
</body>
</html>

35
js/main.js Normal file
View 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
View 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/logo.svg",
"sizes": "48x48",
"type": "image/svg+xml"
}]
}

BIN
res/bg.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 127 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

16
res/logo.svg Normal file
View File

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 21.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 183.2 184.2" style="enable-background:new 0 0 183.2 184.2;" xml:space="preserve">
<style type="text/css">
.st0{fill:#CC071A;}
</style>
<title>logo</title>
<path class="st0" d="M7.3,112.4C-5.9,68.2,24.1,19.3,71.2,7.9c61.8-14.8,118.7,39.6,105.9,101.4c-0.4,1.6-1,3.1-1.6,4.6
c-0.7,0.4-1.6,0.8-2.3,0.3c-9-6.6-20.1-8.2-29.8-13.1c-3.7-1.9-7-2.7-10.9-1c-5.5,2.4-10.7,1.2-15.6-2c-6-3.8-11.5-8.3-16.3-13.6
c-5.5-6.4-9-5.6-15.6-0.2c-9.6,8-20,14.9-31.1,20.9c-3,1.6-6.4,1.9-9.6,0.9c-12-4.1-21.9,1.6-32,6.3C10.6,113.3,8.9,114.5,7.3,112.4
z"/>
<path d="M7.3,112.4c6.9-7.7,18.7-4.2,25.7-11.4c1.5-1.6,3-0.6,4.4,0c11.5,4.7,20.3,3.1,28.5-5.9c2.4-2.9,5.7-5,9.4-6
c3.7-1.1,6.9-3.4,9-6.6c5.1-6.8,13-6.6,17.9,0.3c5.3,7.4,13.2,11.6,20.5,16.5c3.1,2.1,6.9,0.4,10.1-1.4c3.7-2.1,6.9-2.2,10.4,0.9
c2.9,2.5,6.5,4,10.3,4.2c8.8,0.5,15,6.6,22,11.1c-7.7,39.7-52.4,70.1-94.5,64C44,172.7,13.9,145.9,7.3,112.4z"/>
</svg>

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 180 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 156 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 128 KiB