Added sourceban and news
This commit is contained in:
parent
35fa4bbcf6
commit
50c0a41a0c
13
index.html
13
index.html
@ -44,6 +44,7 @@
|
|||||||
<a href="https://forum.redxen.eu">Forum</a>
|
<a href="https://forum.redxen.eu">Forum</a>
|
||||||
<a href="https://steamcommunity.com/groups/redxengaming">Steam</a>
|
<a href="https://steamcommunity.com/groups/redxengaming">Steam</a>
|
||||||
<a href="/discord">Discord</a>
|
<a href="/discord">Discord</a>
|
||||||
|
<a href="https://sb.redxen.eu">SourceBans</a>
|
||||||
<a href="https://yagpdb.redxen.eu">PMBot</a>
|
<a href="https://yagpdb.redxen.eu">PMBot</a>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
@ -76,11 +77,21 @@
|
|||||||
<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>
|
<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>
|
</div>
|
||||||
|
<div id="sb" class="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>
|
<h2>News</h2>
|
||||||
<div id="news" class="text-field">
|
<div id="news" class="text-field">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<h3>June 2018</h3>
|
<h3>June 2018</h3>
|
||||||
Now hosting TF2 servers<br>
|
Added SourceBans for easier ban management<br>
|
||||||
|
Now hosting TF2 & CSS servers<br>
|
||||||
Forums are stable and ready to use<br>
|
Forums are stable and ready to use<br>
|
||||||
Created this webpage and added meta tags for SEO's<br>
|
Created this webpage and added meta tags for SEO's<br>
|
||||||
Now hosting server on DigitalOcean with improved bandwidth
|
Now hosting server on DigitalOcean with improved bandwidth
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
window.onscroll = function() {checkheader()};
|
window.onscroll = function() {checkheader()};
|
||||||
|
window.onload = function() {checkheader()};
|
||||||
|
|
||||||
// Get the header
|
// Get the header
|
||||||
var header = document.getElementById("pgHeader");
|
var header = document.getElementById("pgHeader");
|
||||||
|
BIN
res/sb.png
Normal file
BIN
res/sb.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 14 KiB |
53
res/web.css
53
res/web.css
@ -33,26 +33,6 @@ html {
|
|||||||
display: none;
|
display: none;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
}
|
}
|
||||||
.sticky > #logo-header {
|
|
||||||
opacity: 1;
|
|
||||||
display: flex;
|
|
||||||
}
|
|
||||||
.sticky > #links-header {
|
|
||||||
display: flex;
|
|
||||||
height: 50px;
|
|
||||||
line-height: 50px;
|
|
||||||
flex: 1 1 0;
|
|
||||||
justify-content: flex-end;
|
|
||||||
}
|
|
||||||
.sticky > #links-header a:hover {
|
|
||||||
background-color: rgba(255 ,255 ,255, 0.5);
|
|
||||||
color: #a11;
|
|
||||||
}
|
|
||||||
.sticky {
|
|
||||||
position: fixed;
|
|
||||||
background-color: rgba(10, 10, 10, 0.7);
|
|
||||||
top: 0;
|
|
||||||
}
|
|
||||||
#logo-header img {
|
#logo-header img {
|
||||||
display: flex;
|
display: flex;
|
||||||
height: 40px;
|
height: 40px;
|
||||||
@ -76,7 +56,6 @@ html {
|
|||||||
font-family: 'Dosis', sans-serif;
|
font-family: 'Dosis', sans-serif;
|
||||||
}
|
}
|
||||||
#links-header a:hover {
|
#links-header a:hover {
|
||||||
background-color: rgba(255 ,255 ,255, 0);
|
|
||||||
color: #a11;
|
color: #a11;
|
||||||
}
|
}
|
||||||
.content {
|
.content {
|
||||||
@ -117,12 +96,12 @@ html {
|
|||||||
#text {
|
#text {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
width: 100%;
|
width: 95%;
|
||||||
max-width: 1700px;
|
|
||||||
min-height: 100px;
|
min-height: 100px;
|
||||||
background-color: rgba(70, 70, 70, 0.4);
|
background-color: rgba(70, 70, 70, 0.4);
|
||||||
color: #fff;
|
color: #fff;
|
||||||
align-self: center;
|
align-self: center;
|
||||||
|
transition: ease-in-out 0.5s;
|
||||||
}
|
}
|
||||||
|
|
||||||
#text h2 {
|
#text h2 {
|
||||||
@ -133,8 +112,24 @@ html {
|
|||||||
background-color: rgba(10, 10, 10, 0.4);
|
background-color: rgba(10, 10, 10, 0.4);
|
||||||
transition: ease-in-out 0.5s;
|
transition: ease-in-out 0.5s;
|
||||||
}
|
}
|
||||||
|
/*Scrolled beyond header*/
|
||||||
|
|
||||||
|
.sticky > #logo-header {
|
||||||
|
opacity: 1;
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
.sticky > #links-header {
|
||||||
|
display: flex;
|
||||||
|
height: 50px;
|
||||||
|
line-height: 50px;
|
||||||
|
flex: 1 1 0;
|
||||||
|
justify-content: flex-end;
|
||||||
|
}
|
||||||
|
.sticky {
|
||||||
|
position: fixed;
|
||||||
|
background-color: rgba(10, 10, 10, 0.7);
|
||||||
|
top: 0;
|
||||||
|
}
|
||||||
/*Category of descriptions*/
|
/*Category of descriptions*/
|
||||||
.category {
|
.category {
|
||||||
padding: 70px 0 0 0;
|
padding: 70px 0 0 0;
|
||||||
@ -244,7 +239,7 @@ h2 { color: #F33;}
|
|||||||
|
|
||||||
/*Adaptive content using media queries*/
|
/*Adaptive content using media queries*/
|
||||||
|
|
||||||
@media screen and (max-width: 730px) {
|
@media screen and (max-width: 720px) {
|
||||||
.header {
|
.header {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
background-color: rgba(10, 10, 10, 0.4);
|
background-color: rgba(10, 10, 10, 0.4);
|
||||||
@ -277,6 +272,9 @@ h2 { color: #F33;}
|
|||||||
.left, .right {
|
.left, .right {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
.left {
|
||||||
|
min-width: 200px;
|
||||||
|
}
|
||||||
.right {
|
.right {
|
||||||
padding: 10px 25px 10px 25px;
|
padding: 10px 25px 10px 25px;
|
||||||
}
|
}
|
||||||
@ -317,6 +315,11 @@ h2 { color: #F33;}
|
|||||||
padding: 0 0 10px 0;
|
padding: 0 0 10px 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@media screen and (max-width: 1280px) {
|
||||||
|
#text {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/*Scrollbar*/
|
/*Scrollbar*/
|
||||||
::-webkit-scrollbar {
|
::-webkit-scrollbar {
|
||||||
|
BIN
res/yagpdb.png
BIN
res/yagpdb.png
Binary file not shown.
Before Width: | Height: | Size: 50 KiB After Width: | Height: | Size: 48 KiB |
Loading…
Reference in New Issue
Block a user