Compare commits

...

3 commits

Author SHA1 Message Date
6cceafb21b templates: Generate more specific page titles 2023-02-15 05:23:29 +01:00
f71e947586 sass: Show visited links in different color 2023-02-15 05:21:50 +01:00
520b59c048 sass: Remove useless coloring from close button
Remove useless coloring from lightbox close button.
2023-02-15 05:21:03 +01:00
6 changed files with 22 additions and 5 deletions

View file

@ -9,6 +9,10 @@ html, .navbar, .footer {
padding-bottom: 0;
}
a:visited {
color: hsl(280, 100%, 50%);
}
@media (prefers-color-scheme: dark) {
html, .navbar, .footer, p, strong, .title, li {
background-color: $dark;
@ -22,10 +26,6 @@ html, .navbar, .footer {
a {
color: hsl(217, 71%, 70%);
}
.lightbox a.delete {
color: $light;
}
}
.lightbox {

View file

@ -4,7 +4,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="{{ config.description }}">
<title>{{ config.title }}</title>
<title>{% block title %}{% endblock title %}</title>
<link href="{{ config.base_url | safe}}/style.css" rel="stylesheet">
<link rel="icon" href="/favicon.png" type="image/png" sizes="16x16">
{% if config.generate_feed %}

View file

@ -1,5 +1,9 @@
{% extends "base.html" %}
{% block title %}
{{ config.title }} - {{ page.title }}
{% endblock title %}
{% block content %}
<h1 class="title">{{ config.title }}</h1>
<h2 class="subtitle">{{ page.title }}</h2>

View file

@ -1,5 +1,9 @@
{% extends "base.html" %}
{% block title %}
{{ config.title }}
{% endblock title %}
{% block content %}
<h1 class="title">{{ config.title }}</h1>
<div class="content">

View file

@ -1,5 +1,10 @@
{% extends "base.html" %}
{% block title %}
{% set section = get_section(path=page.ancestors | last) %}
{{ config.title }} - {{ section.title }} - {{ page.title }}: {{ page.date }}
{% endblock title %}
{% block content %}
{% set section = get_section(path=page.ancestors | last) %}
<h1 class="title">{{ config.title }}</h1>

View file

@ -1,5 +1,9 @@
{% extends "base.html" %}
{% block title %}
{{ config.title }} - {{ section.title }}
{% endblock title %}
{% block content %}
<h1 class="title">{{ config.title }}</h1>
<h2 class="subtitle">{{ section.title }}</h2>