typographie

This commit is contained in:
Hendrik Niefeld 2023-11-07 21:18:15 +01:00
parent a322dd674f
commit daa0488357
6 changed files with 25 additions and 8 deletions

View File

@ -1,7 +1,5 @@
title: offen.software title: offen.software
description: TBD description: TBD
save_as: index.html save_as: index.html
template: page template: index
sitemap_priority: 1.0 sitemap_priority: 1.0
### offen.software website

View File

@ -58,7 +58,6 @@ MARKDOWN = {
} }
DECORATE_CONTENT = { DECORATE_CONTENT = {
'h1': ['ma0'],
'h2': ['ma0'], 'h2': ['ma0'],
'h3': ['ma0'], 'h3': ['ma0'],
'h4': ['ma0'], 'h4': ['ma0'],

View File

@ -7,3 +7,9 @@ COLORS
.color-extra { .color-extra {
color: #F5BEA7; color: #F5BEA7;
} }
/* ---------------------------------------------------
TYPOGRAPHY
----------------------------------------------------*/
.trackedWide {
letter-spacing: 0.04em;
}

View File

@ -31,10 +31,17 @@
--> -->
</head> </head>
{% endblock %} {% endblock %}
<body class="f5 poppins no-js color-extra bgColor-extra"> <body class="poppins f4 trackedWide lh-title no-js color-extra bgColor-extra">
<main class="w-100">
<div class="mw7 center pa3">
{% block content %}{% endblock %} {% block content %}{% endblock %}
</div>
</main>
<script> <script>
document.body.classList.remove('no-js'); document.body.classList.remove('no-js');
</script> </script>
</body> </body>
</html> </html>

View File

@ -1,5 +1,11 @@
{% extends "base.html" %} {% extends "page.html" %}
{% set index = True %} {% set index = True %}
{% block content %} {% block content %}
<h1 class="f4 trackedWide ma0 mb3">
<span class="fw4">offen.</span><span class="fw7">software</span>
</h1>
<p class="ma0">
<span class="fw4">We </span><span class="fw7">think up, create and ship </span><span class="fw4">software for organisations and individuals who embrace </span><span class="fw7">societal change.</span>
</p>
{% endblock %} {% endblock %}

View File

@ -1,8 +1,9 @@
{% extends "base.html" %} {% extends "base.html" %}
{% set href = page.href %}
{% set title = page.title %} {% set title = page.title %}
{% set description = page.description %} {% set description = page.description %}
{% set href = page.save_as.replace('index.html', '') %}
{% set template = page.template %}
{% block content %} {% block content %}
{{ page.content }} {{ page.content }}