More style corrections.

pull/25/head
Markus Steinlein 4 years ago committed by Markus Steinlein
parent 4b3d4023a3
commit 19677cb455

@ -7,6 +7,7 @@ from flask_fontawesome import FontAwesome
from datetime import datetime from datetime import datetime
from fotogrid import fotogrid from fotogrid import fotogrid
# directly support jinja within markdown blogposts # directly support jinja within markdown blogposts
# https://flask-flatpages.readthedocs.io/en/v0.7.1/ # https://flask-flatpages.readthedocs.io/en/v0.7.1/
def markdown_with_jinja_renderer(text): def markdown_with_jinja_renderer(text):

@ -17,4 +17,4 @@ def fotogrid(image_urls):
nbr += 1 nbr += 1
result += "</div></div>" # closing fotocolum, fotorow result += "</div></div>" # closing fotocolum, fotorow
return result return result

@ -14,7 +14,7 @@ html {
} }
body { body {
text-size-adjust:100% text-size-adjust:100%;
background-attachment: fixed; background-attachment: fixed;
background-color: #000000; background-color: #000000;
color: rgba(255, 255, 255, 0.75); color: rgba(255, 255, 255, 0.75);

@ -6,6 +6,7 @@
<link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}"> <link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}">
<link rel="fotogrid stylesheet" href="{{ url_for('static', filename='css/fotogrid.css') }}"> <link rel="fotogrid stylesheet" href="{{ url_for('static', filename='css/fotogrid.css') }}">
<link rel="shortcut icon" href="{{ url_for('static', filename='favicon.ico') }}"> <link rel="shortcut icon" href="{{ url_for('static', filename='favicon.ico') }}">
<title>FdgL - Freunde des geordneten Lärms</title>
</head> </head>
<body class=post> <body class=post>
<div id="sidebar"> <div id="sidebar">

@ -3,6 +3,7 @@ import pytest
from app import app as flask_app from app import app as flask_app
@pytest.fixture @pytest.fixture
def app(): def app():
yield flask_app yield flask_app

@ -1,6 +1,7 @@
# SPDX-License-Identifier: GPL-3.0 # SPDX-License-Identifier: GPL-3.0
import os import os
def test_index_html(app, client): def test_index_html(app, client):
res = client.get('/index.html') res = client.get('/index.html')
assert res.status_code == 200 assert res.status_code == 200

@ -1,6 +1,7 @@
# SPDX-License-Identifier: GPL-3.0 # SPDX-License-Identifier: GPL-3.0
import os import os
def test_index(app, client): def test_index(app, client):
for f in os.listdir('pages'): for f in os.listdir('pages'):
if not f.endswith('.md'): if not f.endswith('.md'):

@ -7,6 +7,7 @@ import sys
import pytest import pytest
import pytest_cov.embed import pytest_cov.embed
def test_static_pages(app, client): def test_static_pages(app, client):
for f in os.listdir('templates'): for f in os.listdir('templates'):

Loading…
Cancel
Save