css cleanup
This commit is contained in:
parent
8ce3d91bd0
commit
5df566bea9
|
@ -13,7 +13,7 @@ Markdown = "^3.4.1"
|
||||||
Flask-Markdown = "^0.3"
|
Flask-Markdown = "^0.3"
|
||||||
Pygments = "^2.12.0"
|
Pygments = "^2.12.0"
|
||||||
python-markdown-math = "*"
|
python-markdown-math = "*"
|
||||||
pytoml = "*"
|
toml = "*"
|
||||||
|
|
||||||
[tool.poetry.dev-dependencies]
|
[tool.poetry.dev-dependencies]
|
||||||
|
|
||||||
|
|
2
start.sh
2
start.sh
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
export FLASK_ENV=development
|
export FLASK_DEBUG=True
|
||||||
export FLASK_APP=start_site.py
|
export FLASK_APP=start_site.py
|
||||||
|
|
||||||
python3 -m flask run
|
python3 -m flask run
|
||||||
|
|
|
@ -12,21 +12,15 @@ hr { height: 0px; }
|
||||||
a {color: inherit; text-decoration: solid underline;}
|
a {color: inherit; text-decoration: solid underline;}
|
||||||
a:hover {color: red;}
|
a:hover {color: red;}
|
||||||
img { max-width: 100%; }
|
img { max-width: 100%; }
|
||||||
details { background-color: #eee; }
|
details { }
|
||||||
details > summary{ background-color: #eee; font-size: 18px;}
|
details > summary{ background-color: #eee; font-size: 18px;}
|
||||||
|
|
||||||
details > summary:hover { background-color: #263238; color: #eee;}
|
details > summary:hover { background-color: #263238; color: #eee;}
|
||||||
details summary::-webkit-details-marker,
|
details summary::-webkit-details-marker,
|
||||||
details summary::marker { content: "\1F5C0\20";}
|
details summary::marker { content: "\1F4C1\20";}
|
||||||
ul {}
|
ul {}
|
||||||
ul:active {}
|
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; }
|
.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,
|
||||||
.HolyGrail-body {
|
.HolyGrail-body {
|
||||||
|
@ -36,7 +30,9 @@ ul:active {}
|
||||||
|
|
||||||
.HolyGrail-nav {
|
.HolyGrail-nav {
|
||||||
padding-right: 1em;
|
padding-right: 1em;
|
||||||
|
padding-top: 1em;
|
||||||
order: -1;
|
order: -1;
|
||||||
|
background-color: #eee;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (min-width: 48em) {
|
@media (min-width: 48em) {
|
||||||
|
|
|
@ -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 %}
|
|
Loading…
Reference in New Issue