css cleanup

This commit is contained in:
gurkenhabicht 2022-09-22 00:26:16 +02:00
parent 8ce3d91bd0
commit 5df566bea9
4 changed files with 6 additions and 20 deletions

View File

@ -13,7 +13,7 @@ Markdown = "^3.4.1"
Flask-Markdown = "^0.3"
Pygments = "^2.12.0"
python-markdown-math = "*"
pytoml = "*"
toml = "*"
[tool.poetry.dev-dependencies]

View File

@ -1,6 +1,6 @@
#!/usr/bin/env bash
export FLASK_ENV=development
export FLASK_DEBUG=True
export FLASK_APP=start_site.py
python3 -m flask run

View File

@ -12,21 +12,15 @@ hr { height: 0px; }
a {color: inherit; text-decoration: solid underline;}
a:hover {color: red;}
img { max-width: 100%; }
details { background-color: #eee; }
details { }
details > summary{ background-color: #eee; font-size: 18px;}
details > summary:hover { background-color: #263238; color: #eee;}
details summary::-webkit-details-marker,
details summary::marker { content: "\1F5C0\20";}
details summary::marker { content: "\1F4C1\20";}
ul {}
ul:active {}
.toctitle{ padding: 1em; }
.toc > ul li { text-decoration: none; }
.details-sidebar{}
.menu { line-height: 1em; font-size: 24px; line-height: 1em; text-decoration: none; }
.index { color: inherit; text-decoration: solid underline; }
.references { text-decoration: solid underline; text-underline-position: under; }
.HolyGrail,
.HolyGrail-body {
@ -36,7 +30,9 @@ ul:active {}
.HolyGrail-nav {
padding-right: 1em;
padding-top: 1em;
order: -1;
background-color: #eee;
}
@media (min-width: 48em) {

View File

@ -1,10 +0,0 @@
{% extends "template.html" %}
{% block head %}
{{ super() }}
{% endblock %}
{% block content %}
<p>Welcome to my website</p>
<span class="index">
{{ content }}
</span>
{% endblock %}