Update design

gh-pages
rubenwardy 2019-03-03 23:16:46 +00:00
parent d8aa8978ed
commit 8e52620058
4 changed files with 92 additions and 76 deletions

66
_layouts/default.html Normal file
View File

@ -0,0 +1,66 @@
---
---
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ page.title }}</title>
<link href="https://rubenwardy.com/static/style.css" rel="stylesheet">
<link href='https://fonts.googleapis.com/css?family=Ubuntu:400,700'
rel='stylesheet' type='text/css'>
<link rel="icon" href="https://rubenwardy.com/favicon.ico" type="image/x-icon"/>
<link rel="shortcut icon" href="https://rubenwardy.com/favicon.ico" type="image/x-icon"/>
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7/html5shiv.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/respond.js/1.4.2/respond.js"></script>
<![endif]-->
<style>
header {
background: url("{{ page.root }}/background.png");
}
header h1 {
font-size: 400%;
margin: 0.4em 0;
}
header h1, header span {
margin-left: 20px;
}
header a {
color: white;
margin: 0 10px;
}
header span a:first-child {
margin-left: 4px;
}
main img {
width: 100%;
}
</style>
</head>
<body>
<header class="container">
<h1>Redcrab</h1>
<span>
<a href="{{ page.root }}">About</a>
<a href="{{ page.root }}#maps">Maps</a>
</span>
</header>
<main>
<!-- <h1><a href="../">Redcrab</a> &gt; Downloads</h1> -->
{{ content }}
</main>
</body>
</html>

BIN
background.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 163 KiB

View File

@ -1,35 +1,11 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Downloads - Redcrab - rubenwardy</title>
---
layout: default
root: ../
---
<link href="https://rubenwardy.com/static/style.css" rel="stylesheet">
<link href='https://fonts.googleapis.com/css?family=Ubuntu:400,700'
rel='stylesheet' type='text/css'>
<link rel="icon" href="https://rubenwardy.com/favicon.ico" type="image/x-icon"/>
<link rel="shortcut icon" href="https://rubenwardy.com/favicon.ico" type="image/x-icon"/>
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7/html5shiv.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/respond.js/1.4.2/respond.js"></script>
<![endif]-->
</head>
<body>
<main>
<h1><a href="../">Redcrab</a> &gt; Downloads</h1>
<h2>November 2013</h2>
<p>
Manually collected incomplete snapshot | 110MB |
<a href="https://minetest.rubenwardy.com/redcrab_nov13.zip">Download (.zip)</a>
</p>
<img src="nov13.png" style="max-width:100%;">
</main>
</body>
</html>
<h2>November 2013</h2>
<p>
Manually collected incomplete snapshot | 110MB |
<a href="https://minetest.rubenwardy.com/redcrab_nov13.zip">Download (.zip)</a>
</p>
<img src="nov13.png">

View File

@ -1,48 +1,22 @@
---
layout: default
redirect_from: /maps/
---
<h2>About</h2>
<p>
Redcrab was a very popular server during late 2011-2013, and was played on by nearly
all of the current long time members.
</p>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Redcrab - rubenwardy</title>
<h2>Maps</h2>
<p>
Note that Redcrab started to drop in users after 2012.
There isn't too much difference between these two maps.
</p>
<ul>
<li><a href="old">Redcrab official maps (12/April/2015)</a></li>
<li><a href="old-interactive">Redcrab server guide by rubenwardy (18/December/2012)</a></li>
</ul>
<link href="https://rubenwardy.com/static/style.css" rel="stylesheet">
<link href='https://fonts.googleapis.com/css?family=Ubuntu:400,700'
rel='stylesheet' type='text/css'>
<link rel="icon" href="https://rubenwardy.com/favicon.ico" type="image/x-icon"/>
<link rel="shortcut icon" href="https://rubenwardy.com/favicon.ico" type="image/x-icon"/>
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7/html5shiv.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/respond.js/1.4.2/respond.js"></script>
<![endif]-->
</head>
<body>
<main>
<h1>Redcrab</h1>
<p>
Redcrab was a very popular server during late 2011-2013, and was played on by nearly
all of the current long time members.
</p>
<h2>Maps</h2>
<p>
Note that Redcrab started to drop in users after 2012.
There isn't too much difference between these two maps.
</p>
<ul>
<li><a href="old">Redcrab official maps (12/April/2015)</a></li>
<li><a href="old-interactive">Redcrab server guide by rubenwardy (18/December/2012)</a></li>
</ul>
<a href="old"><img src="old/preview.png" alt="Preview map" style="margin-top: 20px;" /></a>
</main>
</body>
</html>
<a href="old"><img src="old/preview.png" alt="Preview map" style="margin-top: 20px;" /></a>