Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Content-Style-Type" content="text/css">
<title></title>
<meta name="Generator" content="Cocoa HTML Writer">
<meta name="CocoaVersion" content="2685.1">
<style type="text/css">
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Times; -webkit-text-stroke: #000000}
p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Courier; -webkit-text-stroke: #000000}
span.s1 {font-kerning: none}
</style>
</head>
<body>
<p class="p1"><span class="s1">{{ content }}</span></p>
<p class="p2"><span class="s1">&lt;head&gt;</span></p>
<p class="p1"><span class="s1">&lt;link rel="stylesheet" href="{{ '/assets/css/main.css' | relative_url }}"&gt;</span></p>
<p class="p2"><span class="s1">&lt;/head&gt;</span></p>
</body>
</html>
73 changes: 73 additions & 0 deletions assets/css/main.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
/* ==============================
Redflare Server Table Styling
============================== */

.server-table {
width: 100%;
border-collapse: collapse;
margin: 1.5rem 0;
font-size: 0.95rem;
}

.server-table thead {
background-color: #20232a;
color: #ffffff;
text-transform: uppercase;
letter-spacing: 0.05em;
}

.server-table th,
.server-table td {
border: 1px solid rgba(255, 255, 255, 0.15);
padding: 0.6em 1em;
text-align: left;
}

.server-table tbody tr:nth-child(even) {
background-color: rgba(255, 255, 255, 0.03);
}

.server-table tbody tr:hover {
background-color: rgba(255, 255, 255, 0.08);
transition: background-color 0.2s ease;
}

.server-table td:first-child {
font-weight: 600;
}

.server-table td:nth-child(7) {
font-style: italic;
color: #66ccff;
}

.server-table td:nth-child(8) {
color: #cccccc;
}

.server-table td {
white-space: normal;
word-break: break-word;
}

@media (max-width: 768px) {
.server-table {
font-size: 0.85rem;
overflow-x: auto;
display: block;
}
}

/* Light theme */
@media (prefers-color-scheme: light) {
.server-table thead {
background-color: #e9ecef;
color: #111;
}
.server-table tbody tr:nth-child(even) {
background-color: #f8f9fa;
}
.server-table tbody tr:hover {
background-color: #e0e0e0;
}
}
19 changes: 19 additions & 0 deletions servers.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
title: Server List
layout: default
permalink: /servers/
---

This is an example of the live Redflare server list integrated via GitHub Actions.

<table class="server-table">
<thead>
<tr><th>Server</th><th>Map</th><th>Mode</th><th>Players</th><th>Version</th><th>Country</th><th>Privilege / Player</th></tr>
</thead>
<tbody>
<tr><td>51.210.223.39:28800</td><td>testmap</td><td>ctf</td><td>2</td><td>1.9</td><td>DE</td><td>admin / Player1</td></tr>
<tr><td>51.210.223.39:28800</td><td>testmap</td><td>ctf</td><td>2</td><td>1.9</td><td>DE</td><td>none / Player2</td></tr>
<tr><td>us.redeclipse.net:28800</td><td>testmap</td><td>ctf</td><td>2</td><td>1.9</td><td>US</td><td>admin / Player1</td></tr>
<tr><td>us.redeclipse.net:28800</td><td>testmap</td><td>ctf</td><td>2</td><td>1.9</td><td>US</td><td>none / Player2</td></tr>
</tbody>
</table>