diff --git a/pyproject.toml b/pyproject.toml index 02b209f..28d6744 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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] diff --git a/start.sh b/start.sh index a99480f..85cb05f 100755 --- a/start.sh +++ b/start.sh @@ -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 diff --git a/static/stylesheet.css b/static/stylesheet.css index 95fd125..e04c069 100644 --- a/static/stylesheet.css +++ b/static/stylesheet.css @@ -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) { diff --git a/templates/index.html b/templates/index.html deleted file mode 100644 index 6f9ac87..0000000 --- a/templates/index.html +++ /dev/null @@ -1,10 +0,0 @@ -{% extends "template.html" %} -{% block head %} - {{ super() }} -{% endblock %} -{% block content %} -

Welcome to my website

- - {{ content }} - -{% endblock %}