Compare commits
13 Commits
master
...
michelhn/p
Author | SHA1 | Date |
---|---|---|
Michel | 6bfaef1f85 | |
Alex D. | 52639f70f1 | |
Alex D. | 2f6de7457f | |
Alex D. | ffaef4a72b | |
Alex D. | 3a49532357 | |
Alex D. | 9b1f843da7 | |
Alex D. | 0616d7946a | |
Alex D. | a9dbb24eb1 | |
Alex D. | a30b7b1fda | |
Alex D. | 09b037a5c7 | |
Alex D. | 9b299894df | |
Alex D. | 6d1274354b | |
Alex | 5faec60ab6 |
|
@ -1,3 +0,0 @@
|
||||||
*.css
|
|
||||||
.*~
|
|
||||||
*.kate-swp
|
|
|
@ -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.
|
|
@ -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.
|
169
css/main.less
|
@ -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 }
|
|
||||||
}
|
|
|
@ -0,0 +1,399 @@
|
||||||
|
html {
|
||||||
|
margin: 0;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
font-family: 'Oswald', sans-serif;
|
||||||
|
|
||||||
|
/*Fixed Background*/
|
||||||
|
background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../res/bg.jpg);
|
||||||
|
background-attachment: fixed;
|
||||||
|
background-size: cover;
|
||||||
|
background-position: center;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
min-height: 300px;
|
||||||
|
|
||||||
|
/*Global Variables*/
|
||||||
|
--desktop-height: calc(20px + 2vw);
|
||||||
|
--mobile-height: calc(10px + 2vw);
|
||||||
|
|
||||||
|
--header-transparency: rgba(0, 0, 0, 0.7);
|
||||||
|
|
||||||
|
--image-size: 20%;
|
||||||
|
--red: #d22;
|
||||||
|
--dark-gray: #111;
|
||||||
|
--gray: #151515;
|
||||||
|
--light-gray: #222;
|
||||||
|
|
||||||
|
--quick-transition: cubic-bezier(0.165, 0.84, 0.44, 1) 0.5s;
|
||||||
|
--long-transition: cubic-bezier(0.215, 0.610, 0.355, 1) 1s;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Desktop header*/
|
||||||
|
.header {
|
||||||
|
width: 100%;
|
||||||
|
left: 0;
|
||||||
|
z-index: 20;
|
||||||
|
display: flex;
|
||||||
|
position: absolute;
|
||||||
|
overflow: hidden;
|
||||||
|
transition: var(--quick-transition);
|
||||||
|
}
|
||||||
|
.header-title {
|
||||||
|
width: 100%;
|
||||||
|
color: #fff;
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: nowrap;
|
||||||
|
font-size: calc(var(--desktop-height) / 2);
|
||||||
|
margin: auto 0;
|
||||||
|
}
|
||||||
|
#logo-header {
|
||||||
|
display: none;
|
||||||
|
opacity: 0;
|
||||||
|
margin: auto 0;
|
||||||
|
}
|
||||||
|
#logo-header a {
|
||||||
|
text-decoration: none;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
#logo-header img {
|
||||||
|
display: flex;
|
||||||
|
margin-left: 5px;
|
||||||
|
}
|
||||||
|
#links-header {
|
||||||
|
display: flex;
|
||||||
|
flex: 1;
|
||||||
|
margin: auto 0;
|
||||||
|
justify-content: space-around;
|
||||||
|
transition: var(--quick-transition);
|
||||||
|
}
|
||||||
|
#links-header a {
|
||||||
|
color: #eee;
|
||||||
|
text-align: center;
|
||||||
|
margin: auto 1vw;
|
||||||
|
text-decoration: none;
|
||||||
|
font-family: 'Dosis', sans-serif;
|
||||||
|
transition: var(--quick-transition);
|
||||||
|
}
|
||||||
|
.header, #links-header, #logo-header, #logo-header img{
|
||||||
|
height: var(--desktop-height);
|
||||||
|
font-size: calc(var(--desktop-height) / 2);
|
||||||
|
}
|
||||||
|
|
||||||
|
/*Hover settings*/
|
||||||
|
.header:hover {
|
||||||
|
background-color: var(--header-transparency);
|
||||||
|
height: calc(var(--desktop-height) * 1.5);
|
||||||
|
}
|
||||||
|
.header:hover > .header-title {
|
||||||
|
font-size: calc(var(--desktop-height) / 1.75);
|
||||||
|
height: calc(var(--desktop-height) * 1.5);
|
||||||
|
}
|
||||||
|
#links-header a:hover {
|
||||||
|
color: var(--red);
|
||||||
|
}
|
||||||
|
|
||||||
|
/*Sticky header*/
|
||||||
|
.sticky > #logo-header {
|
||||||
|
opacity: 1;
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
.sticky > #links-header {
|
||||||
|
display: flex;
|
||||||
|
flex: 1 1 0;
|
||||||
|
justify-content: flex-end;
|
||||||
|
}
|
||||||
|
.sticky {
|
||||||
|
position: fixed;
|
||||||
|
background-color: var(--header-transparency);
|
||||||
|
top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Content settings */
|
||||||
|
.content {
|
||||||
|
width: 100%;
|
||||||
|
min-height: 100%;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
display: flex;
|
||||||
|
position: absolute;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Banner settings */
|
||||||
|
#banner {
|
||||||
|
/*Sizing*/
|
||||||
|
height: 100vh;
|
||||||
|
width: 100%;
|
||||||
|
color: #fff;
|
||||||
|
overflow: hidden;
|
||||||
|
font-size: 4vw;
|
||||||
|
transition: var(--long-transition);
|
||||||
|
|
||||||
|
/*Flexbox content*/
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
#banner h1 {
|
||||||
|
filter: drop-shadow(-5px 6px 3px rgba(0,0,0,.7));
|
||||||
|
}
|
||||||
|
#banner img {
|
||||||
|
width: 20vw;
|
||||||
|
filter: drop-shadow(-5px 6px 3px rgba(0,0,0,.7));
|
||||||
|
transition: var(--long-transition);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Text field settings */
|
||||||
|
#text {
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
width: 80%;
|
||||||
|
min-height: 100px;
|
||||||
|
background-color: var(--light-gray);
|
||||||
|
color: #fff;
|
||||||
|
align-self: center;
|
||||||
|
transition: var(--quick-transition);
|
||||||
|
}
|
||||||
|
|
||||||
|
#text h2 {
|
||||||
|
text-align: center;
|
||||||
|
width: 100%;
|
||||||
|
margin: 3vw 0;
|
||||||
|
font-size: 5vw;
|
||||||
|
line-height: 8vw;
|
||||||
|
background-color: var(--gray);
|
||||||
|
transition: var(--quick-transition);
|
||||||
|
color: var(--red);
|
||||||
|
}
|
||||||
|
.text-field {
|
||||||
|
width: 100%;
|
||||||
|
justify-content: center;
|
||||||
|
display: flex;
|
||||||
|
padding: 20px;
|
||||||
|
background-color: var(--gray);
|
||||||
|
margin: 0 auto;
|
||||||
|
flex-direction: row;
|
||||||
|
flex: 1;
|
||||||
|
font-size: 1.2vw;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
align-items: flex-start;
|
||||||
|
text-align: center;
|
||||||
|
font-family: 'Dosis', sans-serif;
|
||||||
|
transition: var(--quick-transition);
|
||||||
|
}
|
||||||
|
.row {
|
||||||
|
width: 45%;
|
||||||
|
}
|
||||||
|
.text-field h3 {
|
||||||
|
font-size: 1.2vw;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*Category of descriptions*/
|
||||||
|
.category {
|
||||||
|
margin: 1.5vw 0;
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: nowrap;
|
||||||
|
width: 100%;
|
||||||
|
overflow: hidden;
|
||||||
|
transition: var(--quick-transition);
|
||||||
|
filter: saturate(0%);
|
||||||
|
color: #fff;
|
||||||
|
box-shadow: 0 4px 8px -2px #000;
|
||||||
|
}
|
||||||
|
.category img {
|
||||||
|
width: 40%;
|
||||||
|
max-width: 900px;
|
||||||
|
padding: 5% 5% 5% 5%;
|
||||||
|
transition: var(--quick-transition);
|
||||||
|
}
|
||||||
|
.category:hover {
|
||||||
|
color: #c22;
|
||||||
|
box-shadow: 0 10px 8px -2px #000;
|
||||||
|
filter: saturate(100%);
|
||||||
|
}
|
||||||
|
|
||||||
|
/*Left Side settings*/
|
||||||
|
.left {
|
||||||
|
background-color: var(--dark-gray);
|
||||||
|
width: var(--image-size);
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
min-width: 200px;
|
||||||
|
transition: var(--quick-transition);
|
||||||
|
}
|
||||||
|
|
||||||
|
.swap .left {
|
||||||
|
order: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*Right side settings*/
|
||||||
|
.right {
|
||||||
|
background-color: var(--gray);
|
||||||
|
width: calc(100% - var(--image-size));
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
padding: 2%;
|
||||||
|
justify-content: center;
|
||||||
|
text-align: right;
|
||||||
|
transition: var(--quick-transition);
|
||||||
|
}
|
||||||
|
.right h3 {
|
||||||
|
font-size: 3vw;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
.right p {
|
||||||
|
font-size: 1.2vw;
|
||||||
|
font-family: 'Open Sans Condensed', sans-serif;
|
||||||
|
}
|
||||||
|
.swap .right {
|
||||||
|
order: 0;
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*Webpage footer*/
|
||||||
|
#footer {
|
||||||
|
color: #fff;
|
||||||
|
display: flex;
|
||||||
|
width: 100%;
|
||||||
|
height: auto;
|
||||||
|
font-size: 1vw;
|
||||||
|
text-align: center;
|
||||||
|
align-items: center;
|
||||||
|
overflow: hidden;
|
||||||
|
align-content: space-around;
|
||||||
|
padding: 2% 0;
|
||||||
|
background-color: var(--dark-gray);
|
||||||
|
}
|
||||||
|
#footer a {
|
||||||
|
color: var(--red);
|
||||||
|
text-decoration: none;
|
||||||
|
padding: 0 0.5vw;
|
||||||
|
}
|
||||||
|
#footer-r, #footer-r a {
|
||||||
|
font-size: 1.2vw;
|
||||||
|
padding: 0
|
||||||
|
}
|
||||||
|
|
||||||
|
/*Adaptive content using media queries*/
|
||||||
|
@media screen and (max-width: 720px) {
|
||||||
|
|
||||||
|
/*Header settings*/
|
||||||
|
.header {
|
||||||
|
position: relative;
|
||||||
|
padding: 5px 0;
|
||||||
|
background-color: var(--dark-gray);
|
||||||
|
}
|
||||||
|
.header-title {
|
||||||
|
opacity: 0;
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
#links-header a {
|
||||||
|
font-size: 3vw;
|
||||||
|
}
|
||||||
|
.header, #links-header, #links-header a, #logo-header img {
|
||||||
|
height: var(--mobile-height);
|
||||||
|
line-height: var(--mobile-height);
|
||||||
|
}
|
||||||
|
.header:hover {
|
||||||
|
background-color: var(--header-transparency);
|
||||||
|
height: var(--mobile-height);
|
||||||
|
}
|
||||||
|
.header:hover > #links-header a {
|
||||||
|
line-height: var(--mobile-height);
|
||||||
|
font-size: 3vw;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*Banner settings*/
|
||||||
|
#banner {
|
||||||
|
font-size: 4vw;
|
||||||
|
height: 300px;
|
||||||
|
}
|
||||||
|
#banner img {
|
||||||
|
width: 20vw;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*Category settings*/
|
||||||
|
.category {
|
||||||
|
flex-wrap: wrap;
|
||||||
|
margin: 2vw 0;
|
||||||
|
}
|
||||||
|
.category img {
|
||||||
|
width: 30%;
|
||||||
|
margin: 0 auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*Sides and swapping*/
|
||||||
|
.left, .right {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
.swap .left {
|
||||||
|
order: 0;
|
||||||
|
}
|
||||||
|
.left {
|
||||||
|
min-width: 200px;
|
||||||
|
}
|
||||||
|
.swap .right {
|
||||||
|
order: 1;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
.right {
|
||||||
|
padding: 10px 25px 10px 25px;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
.right h3 {
|
||||||
|
font-size: 6vw;
|
||||||
|
}
|
||||||
|
.right p {
|
||||||
|
font-size: 3vw;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*Text field settings*/
|
||||||
|
.row {
|
||||||
|
width: 100%;
|
||||||
|
margin: 10px 0;
|
||||||
|
}
|
||||||
|
.text-field {
|
||||||
|
font-size: 3vw;
|
||||||
|
padding: 10px;
|
||||||
|
justify-content: space-between;
|
||||||
|
}
|
||||||
|
.text-field h3 {
|
||||||
|
font-size: 4vw;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*Footer settings*/
|
||||||
|
#footer {
|
||||||
|
width: 90%;
|
||||||
|
padding: 0 5%;
|
||||||
|
font-size: 4vw;
|
||||||
|
height: auto;
|
||||||
|
flex-flow: wrap;
|
||||||
|
}
|
||||||
|
#footer a {
|
||||||
|
font-size: 4vw;
|
||||||
|
padding: 0 7px 0 7px;
|
||||||
|
}
|
||||||
|
#footer-r, #footer-r a {
|
||||||
|
font-size: 3vw;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
#footer-r {
|
||||||
|
padding: 0 0 10px 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/*Fit text to whole screen*/
|
||||||
|
@media screen and (max-width: 1280px) {
|
||||||
|
#text {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/*Scrollbar hide*/
|
||||||
|
::-webkit-scrollbar {
|
||||||
|
width: 0;
|
||||||
|
}
|
BIN
favicon.ico
Before Width: | Height: | Size: 298 KiB After Width: | Height: | Size: 4.2 KiB |
|
@ -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.
|
|
|
@ -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 aren’t 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.
|
|
185
index.html
|
@ -1,108 +1,107 @@
|
||||||
<!DOCTYPE html>
|
<html>
|
||||||
<html lang="en">
|
|
||||||
<head>
|
<head>
|
||||||
|
<!--Styles and meta-->
|
||||||
|
<title>RedXen Community</title>
|
||||||
|
<link rel="stylesheet" href="css/web.css">
|
||||||
|
<meta name="author" content="caskd">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<title>RedXen Homepage</title>
|
<meta name="description" content="The homepage of the RedXen Community">
|
||||||
<meta property="og:title" content="RedXen Homepage" />
|
<script src="js/jquery-3.3.1.min.js"></script>
|
||||||
<meta property="og:type" content="website" />
|
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.13/css/all.css" integrity="sha384-DNOHZ68U8hZfKXOrtjWvjxusGo9WQnrNx2sqG0tfsghAvtVlRW3tvkXWZh58N9jp" crossorigin="anonymous">
|
||||||
<meta property="og:image" content="res/logo-small.png" />
|
<link href="https://fonts.googleapis.com/css?family=Oswald" rel="stylesheet">
|
||||||
<meta property="og:description" content="The community that empowers gamers" />
|
<link href="https://fonts.googleapis.com/css?family=Open+Sans+Condensed:300" rel="stylesheet">
|
||||||
<link rel="shortcut icon" href="favicon.ico">
|
<link href="https://fonts.googleapis.com/css?family=Dosis" rel="stylesheet">
|
||||||
<meta name="keywords" content="rx,redxen,community,game,games,server" />
|
<link rel="shortcut icon" href="/favicon.ico">
|
||||||
<meta name="author" content="caskd" />
|
<script src="js/main.js"></script>
|
||||||
<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>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<!--
|
<div class="interface">
|
||||||
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">
|
<div class="content">
|
||||||
<img src="res/logo.png">
|
<div id="banner">
|
||||||
<p>Having fun has never been so easy before.</p>
|
<img id="logobig" src="res/logo.png" alt="logo">
|
||||||
<p>Ready to <a class="attention" href="#about">start</a>?</p>
|
<h1>RedXen Gaming</h1>
|
||||||
</div>
|
</div>
|
||||||
<div class="slideshow">
|
<div class="header" id="pgHeader">
|
||||||
<span></span>
|
<span id="logo-header">
|
||||||
<span></span>
|
<div><a href="https://redxen.eu"><img src="res/logo.png" alt="logo"></a></div>
|
||||||
<span></span>
|
<div class="header-title"><a href="https://redxen.eu">RedXen Gaming</a></div>
|
||||||
<span></span>
|
</span>
|
||||||
</div>
|
<span id="links-header">
|
||||||
</div>
|
<a href="https://forum.redxen.eu">Forum</a>
|
||||||
<div class="body" id="about">
|
<a href="https://steamcommunity.com/groups/redxengaming">Steam</a>
|
||||||
<h3>What is RedXen?</h3>
|
<a href="/discord">Discord</a>
|
||||||
<p>RedXen is a hosting group and community that provide services for your entertainment.</p>
|
<a href="https://sb.redxen.eu">SourceBans</a>
|
||||||
<h3>Why RedXen?</h3>
|
<a href="https://yagpdb.redxen.eu">PMBot</a>
|
||||||
<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>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="links">
|
<div id="text">
|
||||||
<div class="column">
|
<h2>About us</h2>
|
||||||
<span class="title">Services</span>
|
<div id="forum" class="category">
|
||||||
<span>
|
<div class="left">
|
||||||
<ul>
|
<img alt="discourse" src="res/discourse.png">
|
||||||
<li><a href="http://git.redxen.eu">Gitea</a></li>
|
|
||||||
<li><a href="http://stats.redxen.eu">Grafana</a></li>
|
|
||||||
</ul>
|
|
||||||
</span>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="column">
|
<div class="right">
|
||||||
<span class="title">Social</span>
|
<h3>RedXen Forum</h3>
|
||||||
<span>
|
<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>
|
||||||
<ul>
|
|
||||||
<li><a href="/telegram">Telegram</a></li>
|
|
||||||
<li><a href="mumble://mumble.redxen.eu">Mumble</a></li>
|
|
||||||
</ul>
|
|
||||||
</span>
|
|
||||||
</div>
|
</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>
|
||||||
<div class="column">
|
<div id="discord" class="swap category">
|
||||||
<span class="title">Contact</span>
|
<div class="left">
|
||||||
<span>
|
<img alt="discord" src="res/discord.png">
|
||||||
<ul>
|
</div>
|
||||||
<li><a href="mailto:caskd@redxen.eu">Mail</a></li>
|
<div class="right">
|
||||||
<li><a href="http://t.me/casKd_dev">Telegram</a></li>
|
<h3>Discord Server</h3>
|
||||||
</ul>
|
<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>
|
||||||
</span>
|
</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>
|
||||||
|
<div id="sb" class="swap category">
|
||||||
|
<div class="left">
|
||||||
|
<img alt="sourcebans" src="res/sb.png">
|
||||||
|
</div>
|
||||||
|
<div class="right">
|
||||||
|
<h3>SourceBans</h3>
|
||||||
|
<p>Got banned? Don't know the reason why, or want to make a complaint? You should be visiting our SourceBans page</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<h2>News</h2>
|
||||||
|
<div id="news" class="text-field">
|
||||||
|
<div class="row">
|
||||||
|
<h3>June 2018</h3>
|
||||||
|
Added SourceBans for easier ban management<br>
|
||||||
|
Now hosting TF2 & CSS servers<br>
|
||||||
|
Forums are stable and ready to use<br>
|
||||||
|
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 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>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -0,0 +1,18 @@
|
||||||
|
$(document).ready(function() {
|
||||||
|
/* Load Google Analytics */
|
||||||
|
$.getScript("https://www.googletagmanager.com/gtag/js?id=UA-120536610-1");
|
||||||
|
window.dataLayer = window.dataLayer || [];
|
||||||
|
function gtag(){dataLayer.push(arguments);}
|
||||||
|
gtag('js', new Date());
|
||||||
|
gtag('config', 'UA-120536610-1');
|
||||||
|
});
|
||||||
|
|
||||||
|
$(document).scroll(function() {
|
||||||
|
/* On scroll check if scrolled beyond 100% */
|
||||||
|
var header = document.getElementById("pgHeader");
|
||||||
|
if (window.pageYOffset >= $(window).height()) {
|
||||||
|
header.classList.add("sticky");
|
||||||
|
} else {
|
||||||
|
header.classList.remove("sticky");
|
||||||
|
}
|
||||||
|
});
|
After Width: | Height: | Size: 760 KiB |
After Width: | Height: | Size: 114 KiB |
After Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 4.0 KiB |
BIN
res/logo.png
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 9.0 KiB |
After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 180 KiB |
Before Width: | Height: | Size: 156 KiB |
Before Width: | Height: | Size: 56 KiB |
Before Width: | Height: | Size: 128 KiB |
After Width: | Height: | Size: 48 KiB |