Turn into a website
This commit is contained in:
parent
7e329e8f91
commit
45eec107f6
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
_site
|
||||
*~*
|
||||
*.*tmp
|
@ -1,5 +1,7 @@
|
||||
|
||||
# Manifest of the Minetest-Mods team and Mod content.
|
||||
---
|
||||
title: Manifest of the Minetest-Mods team and Mod content
|
||||
layout: default
|
||||
---
|
||||
|
||||
This document describes the organization and requirements of the Minetest-Mods team, it's goal
|
||||
and regulations.
|
||||
|
43
_layouts/default.html
Normal file
43
_layouts/default.html
Normal file
@ -0,0 +1,43 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<title>{{ page.title }} - Minetest Mods</title>
|
||||
<link rel="stylesheet" href="{{ page.root }}static/style.css">
|
||||
<link rel="stylesheet" href="{{ page.root }}static/syntax.css">
|
||||
|
||||
<!-- 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>
|
||||
<nav>
|
||||
<li><a href="{{ page.root }}index.html">Home</a></li>
|
||||
<li><a href="{{ page.root }}README.html">Manifest</a></li>
|
||||
<li><a class="hr"
|
||||
href="https://github.com/minetest-mods">GitHub</a></li>
|
||||
<li><a
|
||||
href="https://forum.minetest.net/viewtopic.php?f=47&t=13839">Forum</a></li>
|
||||
|
||||
|
||||
|
||||
|
||||
{% for link in page.links %}
|
||||
<li><a href="{{ link.url }}" {% if link.hr %}class="hr"{% endif %}>{{ link.text }}</a></li>
|
||||
{% endfor %}
|
||||
</nav>
|
||||
<header>
|
||||
<h1>{{ page.title }}</h1>
|
||||
</header>
|
||||
<main>
|
||||
{{ content }}
|
||||
</main>
|
||||
<footer>
|
||||
Licensed under CC0 or WTFPL.
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
25
index.md
Normal file
25
index.md
Normal file
@ -0,0 +1,25 @@
|
||||
---
|
||||
title: Welcome
|
||||
layout: default
|
||||
---
|
||||
|
||||
This project exists to **provide a semi-trusted source of Minetest Mods**.
|
||||
Mods here should be stable (at least in the master branches).
|
||||
All mods should work well together.
|
||||
|
||||
## How is a project added?
|
||||
|
||||
The original author of the mod should be the one submitting it to the minetest-mods
|
||||
project. Contact a [minetest-mods admin](https://github.com/orgs/minetest-mods/people).
|
||||
|
||||
## Can any Minetest mod be added?
|
||||
|
||||
* Mods must be licensed under an OSI approved license
|
||||
* Mods do not need to be minetest-licensing compatible (meaning, GPL3.0+ is fine)
|
||||
* Non-OSI licenses may be acceptable
|
||||
* Public Domain is not defined well in many countries, so licenses such as WTFPL,
|
||||
MIT or CC0 should be used.
|
||||
|
||||
## Got any more questions?
|
||||
|
||||
Read [our full manifest](README.html).
|
140
static/style.css
Normal file
140
static/style.css
Normal file
@ -0,0 +1,140 @@
|
||||
/*
|
||||
Base Elements
|
||||
*/
|
||||
|
||||
html, body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-family: "Arial", sans-serif;
|
||||
background: #222;
|
||||
color: #ccc;
|
||||
text-align: justify;
|
||||
}
|
||||
|
||||
b, strong {
|
||||
color: white;
|
||||
}
|
||||
|
||||
pre {
|
||||
padding: 10px;
|
||||
max-height: 100px;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #0be;
|
||||
font-weight: bold;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: #0ef;
|
||||
}
|
||||
|
||||
.box {
|
||||
display: block;
|
||||
margin: 20px 30px;
|
||||
padding: 10px;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.warning {
|
||||
background: #420;
|
||||
}
|
||||
|
||||
.note {
|
||||
background: #333;
|
||||
}
|
||||
|
||||
/*
|
||||
Header
|
||||
*/
|
||||
|
||||
nav, nav li {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
nav {
|
||||
background: #222;
|
||||
display: block;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
nav li {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
nav li a {
|
||||
display: block;
|
||||
padding: 8px 12px;
|
||||
color: #999;
|
||||
font-weight: normal;
|
||||
text-decoration: none;
|
||||
border-left: 1px solid #444;
|
||||
}
|
||||
|
||||
nav li:nth-child(1) a {
|
||||
border-left: 0;
|
||||
}
|
||||
|
||||
nav li a:hover {
|
||||
background: #111;
|
||||
}
|
||||
|
||||
nav .hr {
|
||||
border-left: 4px solid #666;
|
||||
}
|
||||
|
||||
header {
|
||||
text-align: center;
|
||||
background: #333;
|
||||
padding: 18px;
|
||||
}
|
||||
|
||||
header h1 {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
header span {
|
||||
display: block;
|
||||
margin: 10px 0 0 0;
|
||||
font-size: 80%;
|
||||
}
|
||||
|
||||
footer {
|
||||
display: block;
|
||||
padding: 10px;
|
||||
font-size: 80%;
|
||||
text-align: center;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
/*
|
||||
Main
|
||||
*/
|
||||
|
||||
main {
|
||||
width: 80%;
|
||||
max-width: 900px;
|
||||
margin: auto;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
main > p {
|
||||
padding-left: 30px;
|
||||
}
|
||||
|
||||
main > h3 {
|
||||
padding-left: 20px;
|
||||
}
|
||||
|
||||
main > ul {
|
||||
padding-left: 50px;
|
||||
}
|
||||
|
||||
main h2 {
|
||||
padding-bottom: 6px;
|
||||
border-bottom: 3px solid #444;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user