Add firstHeading styles

This commit is contained in:
Yusur 2021-12-24 17:56:38 +01:00
parent 01476fff5d
commit 5d18cee75e
3 changed files with 4 additions and 4 deletions

5
app.py
View file

@ -18,9 +18,8 @@ from flask import (
render_template, send_from_directory) render_template, send_from_directory)
from werkzeug.routing import BaseConverter from werkzeug.routing import BaseConverter
from peewee import * from peewee import *
import ( import csv, datetime, hashlib, html, importlib, json, markdown, os, random, \
csv, datetime, hashlib, html, importlib, json, markdown, os, random, re, re, sys, uuid, warnings
sys, uuid, warnings)
from functools import lru_cache, partial from functools import lru_cache, partial
from urllib.parse import quote from urllib.parse import quote
from configparser import ConfigParser from configparser import ConfigParser

View file

@ -3,6 +3,7 @@ body{font-family:sans-serif}
.content{margin: 3em 1.3em} .content{margin: 3em 1.3em}
/* content styles */ /* content styles */
#firstHeading {font-family: 'Oswald','Anton','Impact',sans-serif; text-align: center;font-size:3em}
.inner-content{font-family:serif; margin: 1.7em auto; max-width: 1280px; line-height: 1.9; color: #1f2528} .inner-content{font-family:serif; margin: 1.7em auto; max-width: 1280px; line-height: 1.9; color: #1f2528}
.inner-content em,.inner-content strong{color: black} .inner-content em,.inner-content strong{color: black}
.inner-content h1{color: #99081f} .inner-content h1{color: #99081f}

View file

@ -5,7 +5,7 @@
{% block json_info %}<script>window.page_info={{ p.js_info()|tojson|safe }};</script>{% endblock %} {% block json_info %}<script>window.page_info={{ p.js_info()|tojson|safe }};</script>{% endblock %}
{% block content %} {% block content %}
<h1>{{ p.title }}</h1> <h1 id="firstHeading">{{ p.title }}</h1>
<div class="jump-to-actions"> <div class="jump-to-actions">
<span>{{ T('last-changed') }} {{ rev.human_pub_date() }}</span> · <span>{{ T('last-changed') }} {{ rev.human_pub_date() }}</span> ·