diff --git a/css/main.less b/css/main.less index 01155b4..408e5c3 100644 --- a/css/main.less +++ b/css/main.less @@ -1,226 +1,166 @@ -@bg: #000; -@text: contrast(@bg); -@crimson-red: #e11; -@font-size: 16px; +@bg: #111; +@fg-mono: contrast(@bg); +@fg-color: #e11; +@font-size: 20px; + +// 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: @font-size * 2 } +h2 { font-size: @font-size * 1.5 } +h3 { font-size: @font-size * 1.25 } html { - background: #000; /* Fallback */ + background: @bg; /* Fallback */ background: linear-gradient( 0deg, - darken(@bg,10%), - fade(darken(@bg,10%), 50%)), + @bg, + fade(overlay(@bg, contrast(@fg-mono)), 50%)), repeating-linear-gradient( 45deg, - darken(@crimson-red, 20%) 0% 2%, + @fg-color 0% 2%, transparent 2% 4% ), repeating-linear-gradient( -45deg, @bg 0% 2%, - darken(@bg, 20%) 2% 4% + average(@bg, @fg-color) 2% 4% ); - color: @text; + color: @fg-mono; font-size: @font-size; + 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; + font-family: 'Oswald', sans-serif; scroll-behavior: smooth; body { - margin: 0; - .content { - width: 100%; - .head { - width: 100%; - margin-bottom: 20px; - height: 100vh; - position: relative; - overflow: hidden; - .slideshow { - width: 100%; - height: 100%; - li { - &:nth-child(1) { - div { - animation-delay: -15s; - } - span { - animation-delay: 0s; - background-image: url(../res/slideshow/1.jpg); - } - } - &:nth-child(2) { - div { - animation-delay: -10s; - } - span { - animation-delay: -5s; - background-image: url(../res/slideshow/2.jpg); - } - } - &:nth-child(3) { - div { - animation-delay: -5s; - } - span { - animation-delay: -10s; - background-image: url(../res/slideshow/3.jpg); - } - } - &:nth-child(4) { - div { - animation-delay: 0s; - } - span { - animation-delay: -15s; - background-image: url(../res/slideshow/4.jpg); - } - } - div { - position: absolute; - bottom: 0; - right: 0; - padding: 10px; - z-index: 10; - animation-timing-function: ease-in-out; - animation-name: textslideshow; - animation-duration: 20s; - animation-iteration-count: infinite; - } - } - span { - color: transparent; - position: absolute; - top: 0; - width: 100%; - height: 100%; - background-size: cover; - background-position: center; - background-repeat: no-repeat; - animation-name: slideshow; - animation-iteration-count: infinite; - animation-duration: 20s; - animation-timing-function: ease-in-out; - } - } - } - div.main { - animation: none; - background: fadeout(@bg,20%); + width: inherit; + min-height: inherit; + min-width: inherit; + display: flex; + flex-direction: column; + .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; - width: 100%; - height: 100%; - padding: 0; - z-index: 6; - opacity: 1; - display: flex; - text-align: center; + } + 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; - img { - animation-timing-function: ease-in-out; - animation-duration: 1s; - animation-name: slide-in-top; - width: 50%; - } - p { - font-size: 1.5em; - } - } - .about { - margin: 0 2.5%; - padding: 10px 0; text-align: center; - font-size: 2em; - h3 { - margin: 20px 0 5px 0; - } + font-size: @font-size * 1.5; } } - } - .footer { - display: flex; - flex-direction: row; - justify-content: space-evenly; - align-items: flex-start; - text-align: center; - width: 100%; - overflow: hidden; - background: @bg; - border-top: contrast(@bg) 2px solid; - margin: 10px 0; - padding: 4px 10px 0px 10px; - box-sizing: border-box; - .column { - &.header { - justify-self: flex-start; - } - margin: 0 10px; - min-width: 100px; - } - } -} - -@media only screen and (max-width: 800px) { - body { - .footer { - flex-direction: row; - align-items: center; + .body { + padding: 20px 10px; text-align: center; + h3 { + margin-top: 10px; + } + } + .footer { + display: inherit; + flex-direction: row; flex-wrap: wrap; - padding: 0; - .column { - width: 50%; - margin: 0; - &.header { - width: 100%; + 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: @font-size * 1.25; + } } } } } } -h1, h2, h3, p { - margin: 0; -} -a { - color: contrast(@bg); - transition: color 300ms; - &:hover { - color: @crimson-red; - } - &:not([href]) { - color: average(contrast(@bg), @bg); - } -} -ul { - list-style-type: none; - padding-inline-start: 0; - padding-inline-end: 0; - margin-block-start: 0; - margin-block-end: 0; -} @keyframes slideshow { - 5%,25% { opacity: 1 } - 0%,35%,100% { opacity: 0 } -} -@keyframes textslideshow { - 10%,25% { transform: translateX(0px); opacity: 1 } - 30% { transform: translateX(-20px); opacity: 0 } - 100%,0% { transform: translateX(20px); opacity: 0 } -} -@keyframes blink { - 0%,20%,70%,100% { color: @text } - 25%,50% { color: @crimson-red } -} -@keyframes slide-in-top { - 0% { transform: translateY(-100px) } - 100% { transform: translateY(0px) } -} -.attention { - animation: blink 5s infinite; -} -.hidden { - display: none; + 0%,35%,100% { opacity: 0 } + 5%,30% { opacity: 1 } } diff --git a/fonts/Oswald/OFL.txt b/fonts/Oswald/OFL.txt new file mode 100644 index 0000000..6485417 --- /dev/null +++ b/fonts/Oswald/OFL.txt @@ -0,0 +1,93 @@ +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. diff --git a/fonts/Oswald/Oswald-VariableFont_wght.ttf b/fonts/Oswald/Oswald-VariableFont_wght.ttf new file mode 100644 index 0000000..7601ddd Binary files /dev/null and b/fonts/Oswald/Oswald-VariableFont_wght.ttf differ diff --git a/fonts/Oswald/README.txt b/fonts/Oswald/README.txt new file mode 100644 index 0000000..e0627d8 --- /dev/null +++ b/fonts/Oswald/README.txt @@ -0,0 +1,68 @@ +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. diff --git a/fonts/Oswald/static/Oswald-Bold.ttf b/fonts/Oswald/static/Oswald-Bold.ttf new file mode 100644 index 0000000..6d99a38 Binary files /dev/null and b/fonts/Oswald/static/Oswald-Bold.ttf differ diff --git a/fonts/Oswald/static/Oswald-ExtraLight.ttf b/fonts/Oswald/static/Oswald-ExtraLight.ttf new file mode 100644 index 0000000..83d4d5a Binary files /dev/null and b/fonts/Oswald/static/Oswald-ExtraLight.ttf differ diff --git a/fonts/Oswald/static/Oswald-Light.ttf b/fonts/Oswald/static/Oswald-Light.ttf new file mode 100644 index 0000000..dcfaa60 Binary files /dev/null and b/fonts/Oswald/static/Oswald-Light.ttf differ diff --git a/fonts/Oswald/static/Oswald-Medium.ttf b/fonts/Oswald/static/Oswald-Medium.ttf new file mode 100644 index 0000000..f252976 Binary files /dev/null and b/fonts/Oswald/static/Oswald-Medium.ttf differ diff --git a/fonts/Oswald/static/Oswald-Regular.ttf b/fonts/Oswald/static/Oswald-Regular.ttf new file mode 100644 index 0000000..2492c44 Binary files /dev/null and b/fonts/Oswald/static/Oswald-Regular.ttf differ diff --git a/fonts/Oswald/static/Oswald-SemiBold.ttf b/fonts/Oswald/static/Oswald-SemiBold.ttf new file mode 100644 index 0000000..afa6437 Binary files /dev/null and b/fonts/Oswald/static/Oswald-SemiBold.ttf differ diff --git a/index.html b/index.html index 7978454..6ada4c2 100644 --- a/index.html +++ b/index.html @@ -5,10 +5,10 @@ RedXen Homepage - + - - + + @@ -18,78 +18,84 @@ -
-
- -
- -

Having fun has never been so easy before.

-

Ready to start?

-
+
+
+ +

Having fun has never been so easy before.

+

Ready to start?

-
-

What is RedXen?

-

RedXen is a hosting group and community that provide services for your entertainment.

-

Why RedXen?

-

Transparency and Freedom. Those 2 words are written in stone. We are committing to being as transparent as possible to everyone by serving (F)OS software wherever possible. We think that freedom of speech should be for everyone, no matter how "extreme" it might be. We allow all type of speech as long as it is not spam.

-

Where do i join?

-

There are a few places you might want to start. If you are looking for some games, our Mumble server 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!

-

However, if you are looking to help with hosting or development, our Gitea instance is open for registrations. You can help us become better by submitting a issue or contributing yourself.

-

Finally, if you feel adventurous you might want to join our Telegram Group to have a chat.

-

What games are you hosting?

-

At the current moment, the following servers are available or planned:

-
    -
  • Minecraft: redxen.eu:25565
  • -
  • Terraria: redxen.eu:7777
  • -
  • Xonotic: (planned)
  • -
+
+ + + +
+
+

What is RedXen?

+

RedXen is a hosting group and community that provide services for your entertainment.

+

Why RedXen?

+

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. +

Where do i join?

+

There are a few places you might want to start. If you are looking for some games, our Mumble server 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!

+

However, if you are looking to help with development or suggest a change, our Gitea 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.

+

Finally, if you feel adventurous you might want to join our Telegram Group to have a chat.

+

What are you hosting?

+
    +
  • Xonotic: xonotic.redxen.eu:26000
  • +
  • Mail: mail.redxen.eu
  • +
  • Git: git.redxen.eu
  • +
  • Minecraft: currently down
  • +
  • Terraria: currently down
  • +
+
diff --git a/res/slideshow/2.jpg b/res/slideshow/2.jpg index a98f9f6..8982610 100644 Binary files a/res/slideshow/2.jpg and b/res/slideshow/2.jpg differ diff --git a/res/slideshow/4.jpg b/res/slideshow/4.jpg index 268f7c9..83587ff 100644 Binary files a/res/slideshow/4.jpg and b/res/slideshow/4.jpg differ