commit
70876f195f
18 changed files with 954 additions and 0 deletions
@ -0,0 +1,114 @@ |
||||
# Byte-compiled / optimized / DLL files |
||||
__pycache__/ |
||||
*.py[cod] |
||||
*$py.class |
||||
|
||||
# C extensions |
||||
*.so |
||||
|
||||
# Distribution / packaging |
||||
.Python |
||||
build/ |
||||
develop-eggs/ |
||||
dist/ |
||||
downloads/ |
||||
eggs/ |
||||
.eggs/ |
||||
lib/ |
||||
lib64/ |
||||
parts/ |
||||
sdist/ |
||||
var/ |
||||
wheels/ |
||||
*.egg-info/ |
||||
.installed.cfg |
||||
*.egg |
||||
|
||||
# PyInstaller |
||||
# Usually these files are written by a python script from a template |
||||
# before PyInstaller builds the exe, so as to inject date/other infos into it. |
||||
*.manifest |
||||
*.spec |
||||
|
||||
# Installer logs |
||||
pip-log.txt |
||||
pip-delete-this-directory.txt |
||||
|
||||
# Unit test / coverage reports |
||||
htmlcov/ |
||||
.tox/ |
||||
.coverage |
||||
.coverage.* |
||||
.cache |
||||
nosetests.xml |
||||
coverage.xml |
||||
*.cover |
||||
.hypothesis/ |
||||
|
||||
# Translations |
||||
*.mo |
||||
*.pot |
||||
|
||||
# Django stuff: |
||||
*.log |
||||
local_settings.py |
||||
|
||||
# Flask stuff: |
||||
instance/ |
||||
.webassets-cache |
||||
|
||||
# Scrapy stuff: |
||||
.scrapy |
||||
|
||||
# Sphinx documentation |
||||
docs/_build/ |
||||
|
||||
# PyBuilder |
||||
target/ |
||||
|
||||
# Jupyter Notebook |
||||
.ipynb_checkpoints |
||||
|
||||
# pyenv |
||||
.python-version |
||||
|
||||
# celery beat schedule file |
||||
celerybeat-schedule |
||||
|
||||
# SageMath parsed files |
||||
*.sage.py |
||||
|
||||
# Environments |
||||
.env |
||||
.venv |
||||
env/ |
||||
venv/ |
||||
ENV/ |
||||
|
||||
# Spyder project settings |
||||
.spyderproject |
||||
.spyproject |
||||
|
||||
# Rope project settings |
||||
.ropeproject |
||||
|
||||
# mkdocs documentation |
||||
/site |
||||
|
||||
# mypy |
||||
.mypy_cache/ |
||||
|
||||
# Editor |
||||
*.swp |
||||
*.swo |
||||
|
||||
# DB |
||||
db.sqlite3 |
||||
|
||||
# Test mount |
||||
test/ |
||||
|
||||
# VS Code |
||||
.vscode/ |
||||
|
||||
output/ |
@ -0,0 +1,11 @@ |
||||
{ |
||||
"spellcheck": true, |
||||
"autoPairBrackets": false, |
||||
"autoPairMarkdown": false, |
||||
"vimMode": true, |
||||
"useMarkdownLinks": false, |
||||
"attachmentFolderPath": "media", |
||||
"alwaysUpdateLinks": true, |
||||
"legacyEditor": false, |
||||
"promptDelete": false |
||||
} |
@ -0,0 +1,4 @@ |
||||
{ |
||||
"theme": "moonstone", |
||||
"baseFontSize": 16 |
||||
} |
@ -0,0 +1,15 @@ |
||||
[ |
||||
"file-explorer", |
||||
"global-search", |
||||
"switcher", |
||||
"graph", |
||||
"backlink", |
||||
"page-preview", |
||||
"note-composer", |
||||
"command-palette", |
||||
"editor-status", |
||||
"markdown-importer", |
||||
"outline", |
||||
"word-count", |
||||
"file-recovery" |
||||
] |
@ -0,0 +1,22 @@ |
||||
{ |
||||
"collapse-filter": true, |
||||
"search": "", |
||||
"showTags": false, |
||||
"showAttachments": false, |
||||
"hideUnresolved": false, |
||||
"showOrphans": true, |
||||
"collapse-color-groups": true, |
||||
"colorGroups": [], |
||||
"collapse-display": true, |
||||
"showArrow": false, |
||||
"textFadeMultiplier": 0, |
||||
"nodeSizeMultiplier": 1, |
||||
"lineSizeMultiplier": 3.32478632478632, |
||||
"collapse-forces": true, |
||||
"centerStrength": 0.518713248970312, |
||||
"repelStrength": 10, |
||||
"linkStrength": 1, |
||||
"linkDistance": 250, |
||||
"scale": 0.9044367002205442, |
||||
"close": true |
||||
} |
@ -0,0 +1 @@ |
||||
{} |
@ -0,0 +1,113 @@ |
||||
{ |
||||
"main": { |
||||
"id": "69e9da393623ab60", |
||||
"type": "split", |
||||
"children": [ |
||||
{ |
||||
"id": "160122bd13ae4b72", |
||||
"type": "leaf", |
||||
"state": { |
||||
"type": "markdown", |
||||
"state": { |
||||
"file": "Helios Alpha.md", |
||||
"mode": "source", |
||||
"source": false |
||||
} |
||||
} |
||||
} |
||||
], |
||||
"direction": "vertical" |
||||
}, |
||||
"left": { |
||||
"id": "3885f82c1ab72e1b", |
||||
"type": "split", |
||||
"children": [ |
||||
{ |
||||
"id": "0e37795504669957", |
||||
"type": "tabs", |
||||
"children": [ |
||||
{ |
||||
"id": "e5f5df16367f5f9a", |
||||
"type": "leaf", |
||||
"state": { |
||||
"type": "file-explorer", |
||||
"state": {} |
||||
} |
||||
}, |
||||
{ |
||||
"id": "15b64333baa0fbc2", |
||||
"type": "leaf", |
||||
"state": { |
||||
"type": "search", |
||||
"state": { |
||||
"query": "", |
||||
"matchingCase": false, |
||||
"explainSearch": false, |
||||
"collapseAll": false, |
||||
"extraContext": false, |
||||
"sortOrder": "alphabetical" |
||||
} |
||||
} |
||||
} |
||||
] |
||||
} |
||||
], |
||||
"direction": "horizontal", |
||||
"width": 300 |
||||
}, |
||||
"right": { |
||||
"id": "260bba8f76f307a9", |
||||
"type": "split", |
||||
"children": [ |
||||
{ |
||||
"id": "21c556d6660f839b", |
||||
"type": "tabs", |
||||
"children": [ |
||||
{ |
||||
"id": "528c8f9657044ea2", |
||||
"type": "leaf", |
||||
"state": { |
||||
"type": "backlink", |
||||
"state": { |
||||
"file": "Helios Alpha.md", |
||||
"collapseAll": false, |
||||
"extraContext": false, |
||||
"sortOrder": "alphabetical", |
||||
"showSearch": false, |
||||
"searchQuery": "", |
||||
"backlinkCollapsed": false, |
||||
"unlinkedCollapsed": true |
||||
} |
||||
} |
||||
}, |
||||
{ |
||||
"id": "79f3ff4100fe3ae6", |
||||
"type": "leaf", |
||||
"state": { |
||||
"type": "outline", |
||||
"state": { |
||||
"file": "Helios Alpha.md" |
||||
} |
||||
} |
||||
} |
||||
], |
||||
"currentTab": 1 |
||||
} |
||||
], |
||||
"direction": "horizontal", |
||||
"width": 300 |
||||
}, |
||||
"active": "e5f5df16367f5f9a", |
||||
"lastOpenFiles": [ |
||||
"media/dress1.jpg", |
||||
"pages/creations.md", |
||||
"pages/projects.md", |
||||
"pages/writing.md", |
||||
"Hydroponics.md", |
||||
"Backup Strategy.md", |
||||
"Acoustic Panels.md", |
||||
"About.md", |
||||
"Helios Alpha.md", |
||||
"Fake Dog.md" |
||||
] |
||||
} |
@ -0,0 +1,6 @@ |
||||
Title: Helios Alpha |
||||
Date: 2023-03-06 |
||||
Category: Designs |
||||
Summary: A one-tank Kratky hydroponics design |
||||
|
||||
Content here |
After Width: | Height: | Size: 119 B |
@ -0,0 +1,2 @@ |
||||
User-agent: * |
||||
Disallow: |
After Width: | Height: | Size: 17 KiB |
@ -0,0 +1,58 @@ |
||||
#!/usr/bin/env python |
||||
# -*- coding: utf-8 -*- # |
||||
from __future__ import unicode_literals |
||||
|
||||
PATH = 'content' |
||||
|
||||
TIMEZONE = 'Canada/Mountain' |
||||
|
||||
DEFAULT_LANG = 'en' |
||||
|
||||
# Feed generation is usually not desired when developing |
||||
FEED_ALL_ATOM = None |
||||
CATEGORY_FEED_ATOM = None |
||||
TRANSLATION_FEED_ATOM = None |
||||
AUTHOR_FEED_ATOM = None |
||||
AUTHOR_FEED_RSS = None |
||||
|
||||
DEFAULT_PAGINATION = False |
||||
|
||||
MARKDOWN = { |
||||
'extension_configs': { |
||||
'markdown.extensions.codehilite': {'css_class': 'highlight'}, |
||||
'markdown.extensions.extra': {}, |
||||
'markdown.extensions.meta': {}, |
||||
'markdown.extensions.toc': { |
||||
'toc_depth': '2-3', |
||||
'anchorlink': True, |
||||
}, |
||||
}, |
||||
'output_format': 'html5', |
||||
} |
||||
|
||||
PLUGINS = [ |
||||
'obsidian', |
||||
'linkclass', |
||||
] |
||||
|
||||
STATIC_PATHS = ['media', 'extra'] |
||||
|
||||
EXTRA_PATH_METADATA = { |
||||
'extra/favicon.svg': {'path': 'favicon.svg'}, |
||||
} |
||||
|
||||
# Uncomment following line if you want document-relative URLs when developing |
||||
#RELATIVE_URLS = True |
||||
|
||||
THEME = 'themes/theme' |
||||
|
||||
# turn off useless outputs |
||||
TAG_SAVE_AS = '' |
||||
CATEGORY_SAVE_AS = '' |
||||
AUTHOR_SAVE_AS = '' |
||||
ARCHIVES_SAVE_AS = '' |
||||
AUTHORS_SAVE_AS = '' |
||||
CATEGORIES_SAVE_AS = '' |
||||
TAGS_SAVE_AS = '' |
||||
|
||||
PROD = False |
@ -0,0 +1,64 @@ |
||||
#!/usr/bin/env python |
||||
# -*- coding: utf-8 -*- # |
||||
from __future__ import unicode_literals |
||||
|
||||
PATH = 'content' |
||||
|
||||
TIMEZONE = 'Canada/Mountain' |
||||
|
||||
DEFAULT_LANG = 'en' |
||||
|
||||
# Feed generation is usually not desired when developing |
||||
FEED_ALL_ATOM = None |
||||
CATEGORY_FEED_ATOM = None |
||||
TRANSLATION_FEED_ATOM = None |
||||
AUTHOR_FEED_ATOM = None |
||||
AUTHOR_FEED_RSS = None |
||||
|
||||
DEFAULT_PAGINATION = False |
||||
|
||||
MARKDOWN = { |
||||
'extension_configs': { |
||||
'markdown.extensions.codehilite': {'css_class': 'highlight'}, |
||||
'markdown.extensions.extra': {}, |
||||
'markdown.extensions.meta': {}, |
||||
'markdown.extensions.toc': { |
||||
'toc_depth': '2-3', |
||||
'anchorlink': True, |
||||
}, |
||||
}, |
||||
'output_format': 'html5', |
||||
} |
||||
|
||||
PLUGINS = [ |
||||
'obsidian', |
||||
'linkclass', |
||||
] |
||||
|
||||
STATIC_PATHS = ['media', 'extra'] |
||||
|
||||
EXTRA_PATH_METADATA = { |
||||
'extra/favicon.svg': {'path': 'favicon.svg'}, |
||||
} |
||||
|
||||
# Uncomment following line if you want document-relative URLs when developing |
||||
#RELATIVE_URLS = True |
||||
|
||||
THEME = 'themes/theme' |
||||
|
||||
# turn off useless outputs |
||||
TAG_SAVE_AS = '' |
||||
CATEGORY_SAVE_AS = '' |
||||
AUTHOR_SAVE_AS = '' |
||||
ARCHIVES_SAVE_AS = '' |
||||
AUTHORS_SAVE_AS = '' |
||||
CATEGORIES_SAVE_AS = '' |
||||
TAGS_SAVE_AS = '' |
||||
|
||||
INDEX_SAVE_AS = 'index.html' |
||||
ARTICLE_URL = '{slug}/' |
||||
ARTICLE_SAVE_AS = '{slug}/index.html' |
||||
PAGE_URL = '{slug}/' |
||||
PAGE_SAVE_AS = '{slug}/index.html' |
||||
|
||||
PROD = True |
@ -0,0 +1,16 @@ |
||||
blinker==1.4 |
||||
commonmark==0.9.1 |
||||
docutils==0.18.1 |
||||
feedgenerator==2.0.0 |
||||
Jinja2==3.1.2 |
||||
Markdown==3.3.6 |
||||
MarkupSafe==2.1.1 |
||||
pelican==4.7.2 |
||||
pelican-linkclass==2.0.2 |
||||
pelican-obsidian @ git+https://git.tannercollin.com/tanner/pelican-obsidian.git@41dd1d649127ae2833f5a4b1c3b6b6cb571117d8 |
||||
Pygments==2.12.0 |
||||
python-dateutil==2.8.2 |
||||
pytz==2022.1 |
||||
rich==12.3.0 |
||||
six==1.16.0 |
||||
Unidecode==1.3.4 |
@ -0,0 +1,49 @@ |
||||
{% extends "base.html" %} |
||||
|
||||
{% block title %}{{ article.title|striptags }} | Solarpunk City{% endblock %} |
||||
|
||||
{% block head %} |
||||
{{ super() }} |
||||
|
||||
{% if article.date %} |
||||
<meta name="date" content="{{article.date}}" /> |
||||
{% endif %} |
||||
|
||||
{% if article.summary %} |
||||
<meta name="description" content="{{article.summary|striptags}}" /> |
||||
<meta name="summary" content="{{article.summary|striptags}}" /> |
||||
{% endif %} |
||||
|
||||
{% if article.category %} |
||||
<meta name="category" content="{{article.category}}" /> |
||||
{% endif %} |
||||
|
||||
{% for tag in article.tags %} |
||||
<meta name="tags" content="{{tag}}" /> |
||||
{% endfor %} |
||||
|
||||
{% endblock %} |
||||
|
||||
{% block content %} |
||||
<div class="content"> |
||||
<header> |
||||
<h1>{{ article.title }}</h1> |
||||
<div class="summary"> |
||||
{{ article.summary }} |
||||
</div> |
||||
<p class="metadata"> |
||||
{{ article.locale_date }} |
||||
{% if article.modified %} |
||||
— updated {{ article.locale_modified }} |
||||
{% endif %} |
||||
</p> |
||||
</header> |
||||
<hr /> |
||||
<article> |
||||
|
||||
{{ article.content }} |
||||
|
||||
</article> |
||||
</div> |
||||
{% endblock %} |
||||
|
@ -0,0 +1,68 @@ |
||||
<!DOCTYPE html> |
||||
<html lang="en"> |
||||
<head> |
||||
{% block head %} |
||||
<meta charset="UTF-8"/> |
||||
<meta name="viewport" content="width=device-width, initial-scale=1"> |
||||
|
||||
<title>{% block title %}Solarpunk City{% endblock title %}</title> |
||||
<meta name="author" content="Solarpunk City" /> |
||||
{% endblock head %} |
||||
|
||||
<style> |
||||
{% include 'style.css' %} |
||||
|
||||
</style> |
||||
</head> |
||||
|
||||
<body> |
||||
<div class="container"> |
||||
<div class="logo"> |
||||
<a href="/" aria-label="Return home"> |
||||
<svg width="95.5mm" height="16.117mm" version="1.1" viewBox="0 0 95.5 16.117" xmlns="http://www.w3.org/2000/svg"> |
||||
<g transform="translate(-54.981 -31.784)"> |
||||
<text transform="scale(.26458)" fill="#000000" font-family="Comfortaa" font-size="40px" style="line-height:1.25;shape-inside:url(#rect285);white-space:pre" xml:space="preserve"/> |
||||
<g transform="translate(12.422 17.444)" stroke-width=".26458" aria-label="SOLARPUNK CITY"> |
||||
<path d="m45.503 26.587q-0.67733 0-1.2594-0.1905-0.5715-0.20108-0.99483-0.56092t-0.64558-0.83608q-0.08467-0.16933-0.01058-0.30692 0.08467-0.14817 0.27517-0.20108 0.14817-0.04233 0.28575 0.03175 0.14817 0.07408 0.22225 0.22225 0.15875 0.30692 0.46567 0.55033 0.30692 0.24342 0.73025 0.381 0.42333 0.127 0.93133 0.127 0.56092 0 0.99483-0.17992 0.43392-0.1905 0.67733-0.53975 0.254-0.35983 0.254-0.86783 0-0.64558-0.47625-1.1112-0.47625-0.46567-1.4922-0.59266-1.2382-0.14817-1.9367-0.762-0.6985-0.62441-0.6985-1.524 0-0.64558 0.33866-1.1218 0.34925-0.47625 0.9525-0.73025 0.60325-0.26458 1.3864-0.26458 0.58208 0 1.0583 0.1905 0.47625 0.17992 0.8255 0.48683 0.35983 0.29633 0.58208 0.65616 0.10583 0.16933 0.0635 0.32808-0.03175 0.15875-0.17992 0.24342-0.15875 0.07408-0.32808 0.02117-0.15875-0.05292-0.24342-0.20108-0.15875-0.24342-0.40216-0.45508-0.23283-0.22225-0.5715-0.34925-0.33866-0.127-0.81491-0.13758-0.83608 0-1.3441 0.35983-0.508 0.34925-0.508 1.0266 0 0.35983 0.1905 0.66675 0.1905 0.29633 0.62442 0.51858 0.4445 0.21167 1.1853 0.3175 1.3229 0.1905 1.9579 0.81491 0.64558 0.61383 0.64558 1.6087 0 0.5715-0.21167 1.016-0.20108 0.4445-0.58208 0.75141-0.37042 0.29633-0.87841 0.45508-0.49742 0.15875-1.0689 0.15875z"/> |
||||
<path d="m53.79 26.587q-0.92075 0-1.6933-0.3175t-1.3441-0.889q-0.56092-0.5715-0.87841-1.3441-0.30692-0.77258-0.30692-1.6933 0-0.91016 0.30692-1.6827 0.3175-0.77258 0.87841-1.3441 0.5715-0.5715 1.3441-0.889t1.6933-0.3175q0.91016 0 1.6827 0.3175t1.3441 0.889 0.87841 1.3441q0.3175 0.77258 0.3175 1.6827 0 0.92075-0.3175 1.6933-0.30692 0.77258-0.87841 1.3441t-1.3441 0.889-1.6827 0.3175zm0-0.78316q0.73025 0 1.3547-0.254 0.62441-0.26458 1.0795-0.73025 0.46566-0.47625 0.71966-1.1007 0.254-0.635 0.254-1.3758 0-0.73025-0.254-1.3547-0.254-0.635-0.71966-1.1007-0.45508-0.47625-1.0795-0.73025-0.62442-0.26458-1.3547-0.26458-0.74083 0-1.3652 0.26458-0.62441 0.254-1.0901 0.73025-0.45508 0.46567-0.70908 1.1007-0.254 0.62441-0.254 1.3547 0 0.74083 0.254 1.3758 0.254 0.62442 0.70908 1.1007 0.46566 0.46566 1.0901 0.73025 0.62442 0.254 1.3652 0.254z"/> |
||||
<path d="m60.129 26.481q-0.16933 0-0.29633-0.11642-0.11642-0.11642-0.11642-0.29633v-7.4401q0-0.16933 0.11642-0.28575 0.127-0.127 0.29633-0.127t0.28575 0.127q0.127 0.11642 0.127 0.28575v7.0696h4.1381q0.16933 0 0.28575 0.11642 0.127 0.10583 0.127 0.27517t-0.127 0.28575q-0.11642 0.10583-0.28575 0.10583z"/> |
||||
<path d="m65.961 26.481q-0.24342 0-0.34925-0.20108-0.10583-0.20108-0.02117-0.39158l3.1115-7.3871q0.11642-0.28575 0.40216-0.28575 0.27517 0 0.39158 0.28575l3.1221 7.3977q0.09525 0.20108-0.03175 0.39158-0.11642 0.1905-0.33867 0.1905-0.127 0-0.23283-0.0635-0.09525-0.0635-0.15875-0.1905l-2.9104-7.0591h0.32808l-2.9316 7.0591q-0.05292 0.127-0.15875 0.1905-0.09525 0.0635-0.22225 0.0635zm0.6985-1.9685 0.3175-0.70908h4.2968l0.3175 0.70908z"/> |
||||
<path d="m74.269 26.481q-0.17992 0-0.29633-0.11642-0.11642-0.11642-0.11642-0.29633v-7.4401q0-0.17992 0.11642-0.29633 0.11642-0.11642 0.29633-0.11642h1.9791q0.77258 0 1.3758 0.32808 0.60325 0.3175 0.94191 0.89958 0.34925 0.5715 0.34925 1.3229 0 0.71966-0.34925 1.2806-0.33866 0.56091-0.94191 0.87841t-1.3758 0.3175h-1.5663v2.8257q0 0.17992-0.11642 0.29633t-0.29633 0.11642zm4.4238 0q-0.13758 0-0.22225-0.05292-0.07408-0.05292-0.13758-0.15875l-2.032-3.2385 0.8255-0.21167 1.8944 3.0268q0.15875 0.254 0.05292 0.4445-0.09525 0.1905-0.381 0.1905zm-4.0111-4.0322h1.5663q0.53975 0 0.9525-0.21167 0.42333-0.22225 0.66675-0.60325 0.24342-0.381 0.24342-0.86783 0-0.51858-0.24342-0.91016-0.24342-0.40217-0.66675-0.62442-0.41275-0.22225-0.9525-0.22225h-1.5663z"/> |
||||
<path d="m80.809 26.481q-0.17992 0-0.29633-0.11642t-0.11642-0.29633v-7.4401q0-0.17992 0.11642-0.29633 0.11642-0.11642 0.29633-0.11642h2.1167q0.78316 0 1.3864 0.34925 0.60325 0.33867 0.94191 0.94191 0.33867 0.60325 0.33867 1.397 0 0.77258-0.33867 1.3758-0.33866 0.59266-0.94191 0.94191-0.60325 0.33866-1.3864 0.33866h-1.7039v2.5082q0 0.17992-0.11642 0.29633-0.11642 0.11642-0.29633 0.11642zm0.41275-3.7147h1.7039q0.53975 0 0.96308-0.23283 0.42333-0.24342 0.65616-0.66675 0.24342-0.42333 0.24342-0.96308 0-0.56092-0.24342-0.98425-0.23283-0.42333-0.65616-0.66675-0.42333-0.24342-0.96308-0.24342h-1.7039z"/> |
||||
<path d="m90.165 26.651q-0.96308 0-1.7145-0.37042-0.74083-0.37042-1.1642-1.0266-0.41275-0.65616-0.41275-1.5028v-5.1223q0-0.17992 0.11642-0.29633 0.11642-0.11642 0.29633-0.11642t0.29633 0.11642q0.11642 0.11642 0.11642 0.29633v5.1223q0 0.62442 0.30692 1.1007 0.3175 0.47625 0.87841 0.75141 0.56092 0.26458 1.2806 0.26458 0.70908 0 1.2594-0.26458 0.55033-0.27516 0.85725-0.75141 0.3175-0.47625 0.3175-1.1007v-5.1223q0-0.17992 0.11642-0.29633 0.11642-0.11642 0.29633-0.11642 0.1905 0 0.29633 0.11642 0.11642 0.11642 0.11642 0.29633v5.1223q0 0.84666-0.42333 1.5028-0.41275 0.65616-1.1536 1.0266-0.73025 0.37042-1.6827 0.37042z"/> |
||||
<path d="m95.954 26.481q-0.17992 0-0.29633-0.11642t-0.11642-0.29633v-7.4401q0-0.17992 0.11642-0.29633 0.11642-0.11642 0.29633-0.11642 0.1905 0 0.3175 0.14817l5.0588 6.6463v-6.3817q0-0.17992 0.11641-0.29633 0.11642-0.11642 0.29634-0.11642 0.16933 0 0.28575 0.11642 0.127 0.11642 0.127 0.29633v7.4401q0 0.17992-0.127 0.29633-0.11642 0.11642-0.28575 0.11642-0.0847 0-0.16934-0.03175-0.0847-0.03175-0.13758-0.10583l-5.0694-6.6463v6.3711q0 0.17992-0.127 0.29633-0.11642 0.11642-0.28575 0.11642z"/> |
||||
<path d="m104.69 26.481q-0.16933 0-0.29633-0.11642-0.11642-0.127-0.11642-0.29633v-7.4401q0-0.16933 0.11642-0.28575 0.127-0.127 0.29633-0.127 0.16934 0 0.28575 0.127 0.127 0.11642 0.127 0.28575v3.5983l3.8629-3.8629q0.0847-0.08467 0.15875-0.11642 0.0741-0.03175 0.16933-0.03175 0.1905 0 0.28575 0.11642 0.0953 0.11642 0.0847 0.28575 0 0.15875-0.127 0.30692l-2.8998 2.8998 2.9316 4.0005q0.0952 0.13758 0.0741 0.29633-0.0106 0.14817-0.11642 0.254-0.10583 0.10583-0.254 0.10583-0.23283 0-0.34925-0.17992l-2.8786-3.8947-0.94192 0.9525v2.7093q0 0.16933-0.127 0.29633-0.11641 0.11642-0.28575 0.11642z"/> |
||||
<path d="m118.02 26.587q-0.85724 0-1.6087-0.32808-0.74083-0.32808-1.3123-0.91016-0.56091-0.59266-0.87841-1.3547-0.3175-0.77258-0.3175-1.651 0-0.86783 0.30692-1.6298 0.31749-0.77258 0.87841-1.3547 0.5715-0.58208 1.3123-0.91016 0.75141-0.33867 1.6192-0.33867 0.762 0 1.3864 0.22225 0.62441 0.22225 1.2065 0.70908 0.0953 0.07408 0.10583 0.17992 0.0212 0.09525-0.0212 0.1905-0.0423 0.08467-0.127 0.127-0.0212 0.08467-0.10583 0.127-0.0847 0.04233-0.20109 0.03175-0.10583-0.01058-0.21166-0.09525-0.41275-0.35983-0.89958-0.52916-0.48684-0.17992-1.1324-0.17992-0.68791 0-1.2912 0.27517-0.59266 0.27517-1.0478 0.75141-0.45508 0.47625-0.71966 1.1007-0.254 0.62441-0.254 1.3229 0 0.71966 0.254 1.3441 0.26458 0.62442 0.71966 1.1007 0.45509 0.47625 1.0478 0.75141 0.60325 0.26458 1.2912 0.26458 0.58208 0 1.1007-0.1905 0.51858-0.1905 0.98424-0.55033 0.127-0.10583 0.26459-0.08467 0.14816 0.02117 0.25399 0.127 0.10584 0.10583 0.10584 0.27517 0 0.08467-0.0318 0.15875-0.0212 0.0635-0.0847 0.13758-0.53975 0.49742-1.2065 0.70908-0.66675 0.20108-1.3864 0.20108z"/> |
||||
<path d="m122.85 26.481q-0.17991 0-0.29633-0.11642t-0.11642-0.29633v-7.4401q0-0.17992 0.11642-0.29633 0.11642-0.11642 0.29633-0.11642 0.17992 0 0.29633 0.11642 0.11642 0.11642 0.11642 0.29633v7.4401q0 0.17992-0.11642 0.29633-0.11641 0.11642-0.29633 0.11642z"/> |
||||
<path d="m127.78 26.481q-0.16934 0-0.29634-0.11642-0.11641-0.127-0.11641-0.29633v-7.8528h0.82549v7.8528q0 0.16933-0.11641 0.29633-0.11642 0.11642-0.29633 0.11642zm-2.921-7.5141q-0.16933 0-0.27516-0.10583t-0.10583-0.26458q0-0.16933 0.10583-0.27517t0.27516-0.10583h5.8526q0.16933 0 0.27517 0.10583 0.10583 0.10583 0.10583 0.27517 0 0.15875-0.10583 0.26458-0.10584 0.10583-0.27517 0.10583z"/> |
||||
<path d="m134.68 26.481q-0.16933 0-0.29633-0.11642-0.11642-0.127-0.11642-0.29633v-2.6458l-2.8786-4.5614q-0.10584-0.15875-0.0847-0.30692 0.0318-0.14817 0.13758-0.24342 0.10584-0.09525 0.26459-0.09525 0.127 0 0.20108 0.05292 0.0847 0.05292 0.14817 0.14817l2.8575 4.6037h-0.4445l2.8469-4.5826q0.0741-0.11642 0.15874-0.16933 0.0952-0.05292 0.22225-0.05292 0.14817 0 0.24342 0.10583 0.10583 0.09525 0.11642 0.24342 0.0212 0.14817-0.0741 0.29633l-2.8892 4.5614v2.6458q0 0.16933-0.127 0.29633-0.11641 0.11642-0.28575 0.11642z"/> |
||||
<g transform="translate(-3.3011 -60.132)"> |
||||
<path d="m57.091 86.72q-0.92075 0-1.6933-0.3175t-1.3441-0.889q-0.56092-0.5715-0.87841-1.3441-0.30692-0.77258-0.30692-1.6933 0-0.91016 0.30692-1.6827 0.3175-0.77258 0.87841-1.3441 0.5715-0.5715 1.3441-0.889t1.6933-0.3175q0.91016 0 1.6827 0.3175t1.3441 0.889 0.87841 1.3441q0.3175 0.77258 0.3175 1.6827 0 0.92075-0.3175 1.6933-0.30692 0.77258-0.87841 1.3441t-1.3441 0.889-1.6827 0.3175zm0-0.78316q0.73025 0 1.3547-0.254 0.62441-0.26458 1.0795-0.73025 0.46566-0.47625 0.71966-1.1007 0.254-0.635 0.254-1.3758 0-0.73025-0.254-1.3547-0.254-0.635-0.71966-1.1007-0.45508-0.47625-1.0795-0.73025-0.62442-0.26458-1.3547-0.26458-0.74083 0-1.3652 0.26458-0.62441 0.254-1.0901 0.73025-0.45508 0.46567-0.70908 1.1007-0.254 0.62441-0.254 1.3547 0 0.74083 0.254 1.3758 0.254 0.62442 0.70908 1.1007 0.46566 0.46566 1.0901 0.73025 0.62442 0.254 1.3652 0.254z" stroke-width=".26458"/> |
||||
<g fill="none" stroke="#000"> |
||||
<path d="m60.537 78.928 4.5329-4.2729" stroke-width=".5"/> |
||||
<path d="m53.533 78.923-0.84793-0.78855" stroke-width=".5"/> |
||||
<path d="m57.091 77.632v-2.24" stroke-width=".45"/> |
||||
</g> |
||||
<g transform="rotate(180 57.091 82.532)" fill="none" stroke="#000"> |
||||
<path d="m60.537 78.928 4.5329-4.2729" stroke-width=".5"/> |
||||
<path d="m53.533 78.923-0.84793-0.78855" stroke-width=".5"/> |
||||
<path d="m57.091 77.632v-2.24" stroke-width=".45"/> |
||||
</g> |
||||
<circle cx="57.091" cy="82.481" r=".68521" stroke="#000" stroke-width=".865"/> |
||||
</g> |
||||
</g> |
||||
</g> |
||||
</svg> |
||||
</a> |
||||
</div> |
||||
|
||||
{% block content %} |
||||
{% endblock %} |
||||
</div> |
||||
|
||||
<p class="footer"> |
||||
© 2012–2022 Solarpunk City |
||||
</p> |
||||
</body> |
||||
</html> |
||||
|
@ -0,0 +1,25 @@ |
||||
{% extends "base.html" %} |
||||
|
||||
{% block head %} |
||||
{{ super() }} |
||||
<meta name="description" content="Solarpunk City" /> |
||||
<meta name="summary" content="Solarpunk City" /> |
||||
{% endblock %} |
||||
|
||||
{% block content %} |
||||
<div class="content index"> |
||||
<h2>Designs</h2> |
||||
|
||||
<p> |
||||
Open source solarpunk inspiried designs that you can build yourself. |
||||
</p> |
||||
|
||||
{% for article in articles_page.object_list if article.category.name == 'Designs' %} |
||||
<h3><a href="{{ article.url }}">{{ article.title }}</a></h3> |
||||
<div class="summary"> |
||||
{{ article.summary }} |
||||
</div> |
||||
|
||||
{% endfor %} |
||||
</div> |
||||
{% endblock %} |
@ -0,0 +1,219 @@ |
||||
html { |
||||
overflow-y: scroll; |
||||
} |
||||
|
||||
body { |
||||
text-rendering: optimizeLegibility; |
||||
font-family: serif; |
||||
} |
||||
|
||||
a { |
||||
text-decoration: none; |
||||
outline: none; |
||||
} |
||||
|
||||
a.external { |
||||
background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath fill='%23fff' stroke='%23000' d='M1.5 4.518h5.982V10.5H1.5z'/%3E%3Cpath fill='%23000' d='M5.765 1H11v5.39L9.427 7.937l-1.31-1.31L5.393 9.35l-2.69-2.688 2.81-2.808L4.2 2.544z'/%3E%3Cpath fill='%23fff' d='m9.995 2.004.022 4.885L8.2 5.07 5.32 7.95 4.09 6.723l2.882-2.88-1.85-1.852z'/%3E%3C/svg%3E%0A"); |
||||
background-position: center right; |
||||
background-repeat: no-repeat; |
||||
padding-right: 15px; |
||||
} |
||||
|
||||
.index h2 { |
||||
margin-top: 3rem; |
||||
} |
||||
|
||||
.index h3 { |
||||
font: 1.2rem/1.5 serif; |
||||
} |
||||
|
||||
.source { |
||||
font: 0.9rem/1.5 serif; |
||||
} |
||||
|
||||
pre { |
||||
font-size: 0.9rem; |
||||
line-height: 1.2; |
||||
padding: 1rem; |
||||
overflow-x: auto; |
||||
} |
||||
|
||||
:not(pre)>code { |
||||
padding: 0 2px; |
||||
font-size: 0.8rem; |
||||
} |
||||
|
||||
.container { |
||||
max-width: 42rem; |
||||
margin: 1rem auto 12rem auto; |
||||
} |
||||
|
||||
.logo { |
||||
width: 10rem; |
||||
height: auto; |
||||
} |
||||
|
||||
.container .logo a { |
||||
border-bottom: none; |
||||
} |
||||
|
||||
.footer { |
||||
font: 0.9rem/1.5 serif; |
||||
text-align: center; |
||||
} |
||||
|
||||
.toc { |
||||
float: right; |
||||
padding: 0.75rem; |
||||
padding-top: 0; |
||||
margin-left: 0.75rem; |
||||
} |
||||
|
||||
.toc ul { |
||||
padding-left: 1.2rem; |
||||
margin: 0; |
||||
} |
||||
|
||||
.toc li { |
||||
margin-top: 0.75rem; |
||||
} |
||||
|
||||
.content p.metadata { |
||||
font: 0.9rem/1.0 serif; |
||||
font-style: italic; |
||||
} |
||||
|
||||
.content div.summary p { |
||||
margin-top: -0.6rem; |
||||
margin-left: 1.5rem; |
||||
} |
||||
|
||||
.content p { |
||||
font: 1.2rem/1.5 serif; |
||||
} |
||||
|
||||
.content ul { |
||||
padding-left: 1.1rem; |
||||
} |
||||
|
||||
.content li { |
||||
font: 1.2rem/1.5 serif; |
||||
} |
||||
|
||||
.content img:not(.floated) { |
||||
width: 100%; |
||||
max-width: 36rem; |
||||
height: auto; |
||||
display: block; |
||||
margin: 0 auto; |
||||
} |
||||
|
||||
.content .floated { |
||||
float: left; |
||||
margin-right: 1rem; |
||||
} |
||||
|
||||
.content.index { |
||||
margin-top: 3rem; |
||||
} |
||||
|
||||
.toclink:not(:hover) { |
||||
border-bottom: none; |
||||
} |
||||
|
||||
@media screen and (min-width:62rem) { |
||||
.content .aside { |
||||
display: inline; |
||||
float: left; |
||||
position: relative; |
||||
width: 8rem; |
||||
margin-left: -9rem; |
||||
font-size: 0.9rem; |
||||
} |
||||
} |
||||
|
||||
|
||||
body { |
||||
background-color: #fff; |
||||
color: #000; |
||||
} |
||||
|
||||
a { |
||||
color: #000; |
||||
border-bottom: 1px solid #000; |
||||
} |
||||
|
||||
a:visited { |
||||
color: #555; |
||||
border-bottom: 1px solid #555; |
||||
} |
||||
|
||||
.return-home { |
||||
margin-bottom: 2rem; |
||||
} |
||||
|
||||
.return-home a:visited, a.toclink:visited, .toc a:visited { |
||||
color: inherit; |
||||
border-bottom: inherit; |
||||
} |
||||
|
||||
pre { |
||||
background-color: #ddd; |
||||
} |
||||
|
||||
:not(pre)>code { |
||||
background-color: #ddd; |
||||
} |
||||
|
||||
.toc { |
||||
background-color: #ddd; |
||||
} |
||||
|
||||
.content p.metadata { |
||||
color: #555; |
||||
} |
||||
|
||||
@media (prefers-color-scheme: dark) { |
||||
body { |
||||
background-color: #000; |
||||
color: #fff; |
||||
} |
||||
|
||||
a { |
||||
color: #fff; |
||||
border-bottom: 1px solid #fff; |
||||
} |
||||
|
||||
a:visited { |
||||
color: #aaa; |
||||
border-bottom: 1px solid #aaa; |
||||
} |
||||
|
||||
pre { |
||||
background-color: #222; |
||||
} |
||||
|
||||
:not(pre)>code { |
||||
background-color: #222; |
||||
} |
||||
|
||||
.toc { |
||||
background-color: #222; |
||||
} |
||||
|
||||
.content p.metadata { |
||||
color: #aaa; |
||||
} |
||||
|
||||
.content.index { |
||||
margin-top: 0; |
||||
} |
||||
|
||||
.content img { |
||||
filter: brightness(75%); |
||||
} |
||||
|
||||
.contact-icons img { |
||||
filter: invert(1); |
||||
} |
||||
} |
Loading…
Reference in new issue