More small layout fixes.

This commit is contained in:
Flancian 2020-11-16 20:43:30 +01:00
parent f83d748561
commit 3460add012
4 changed files with 9 additions and 8 deletions

View file

@ -15,9 +15,10 @@
*/ */
body { font-family: sans-serif; background: #101010; color: #bfbfbf} body { font-family: sans-serif; background: #101010; color: #bfbfbf}
a, h1, h2 { color: #9fc6e0; } a { color: #9fc6e0; }
h1, h2 { color: #bfbfbf; }
h1, h2 { font-family: serif; margin-top: 0.2em; margin-bottom: 0.2em;} h1, h2 { font-family: serif; margin-top: 0.2em; margin-bottom: 0.2em;}
/*h1 { border-bottom: 1px solid #cfcfcf; } */ h1 { font-size: 1.7em; }
h2 { font-size: 1.2em; } h2 { font-size: 1.2em; }
.page { margin: 2em auto; width: 35em; border: 5px solid #ccc; .page { margin: 2em auto; width: 35em; border: 5px solid #ccc;
@ -54,7 +55,7 @@ h2 { font-size: 1.2em; }
font-family: sans-serif; font-family: sans-serif;
background: #1f1f1f; background: #1f1f1f;
color: #cfcfcf; color: #cfcfcf;
padding: 10px; padding: 0.5em;
margin-bottom: 10px; margin-bottom: 10px;
border-radius: 10px; border-radius: 10px;
} }
@ -73,7 +74,7 @@ h2 { font-size: 1.2em; }
/*background: #1f1f2f; */ /*background: #1f1f2f; */
background: #161616; background: #161616;
color: #cfcfcf; color: #cfcfcf;
padding: 10px; padding: 0.5em;
margin-bottom: 10px; margin-bottom: 10px;
border-radius: 10px; border-radius: 10px;
} }
@ -88,7 +89,7 @@ h2 { font-size: 1.2em; }
background: #161616; background: #161616;
font-family: sans-serif; font-family: sans-serif;
color: #cfcfcf; color: #cfcfcf;
padding: 10px; padding: 0.5em;
margin-bottom: 10px; margin-bottom: 10px;
border-radius: 10px; border-radius: 10px;
} }

View file

@ -36,7 +36,7 @@ Go back to <a href="/nodes">/nodes</a>?
</div> </div>
<div class="backlinks"> <div class="backlinks">
<span class="backlinks-header">Backlinks (subnodes linking to <a href="/node/{{wikilink}}">[[{{wikilink}}]]</a>)</span><br /> <span class="backlinks-header"><strong>Backlinks</strong></span><br />
{% for subnode in backlinks %} {% for subnode in backlinks %}
<a href="{{subnode.url}}">{{subnode.wikilink}}</a> by <a href="/@{{subnode.user}}">@{{subnode.user}}</a><br /> <a href="{{subnode.url}}">{{subnode.wikilink}}</a> by <a href="/@{{subnode.user}}">@{{subnode.user}}</a><br />
{% endfor %} {% endfor %}

View file

@ -24,7 +24,7 @@
--> -->
<div class="formwrapper"> <div class="formwrapper">
<h2 class="title">Search in this Agora</h2> <h1>Search</h1>
<form method="POST" action="{{url_for('agora.search')}}"> <form method="POST" action="{{url_for('agora.search')}}">
<div class="form-field">{{ form.query.label }} {{ form.query(size=20, autofocus=true) }} <div class="form-field">{{ form.query.label }} {{ form.query(size=20, autofocus=true) }}
{{ form.csrf_token }} {{ form.csrf_token }}

View file

@ -25,7 +25,7 @@ Go back to <a href="/nodes">/nodes</a>?
{% endif %} {% endif %}
{% for subnode in subnodes %} {% for subnode in subnodes %}
(user: {{subnode.user}}) {{ subnode.uri }}: <a href="{{subnode.url}}">{{subnode.wikilink}}</a><br /> @{{subnode.user}} subnoded <a href="{{subnode.url}}">{{subnode.wikilink}}</a>.<br />
{% endfor %} {% endfor %}
</div> </div>