Improve style of footer and heading sizes

main
trivernis 1 year ago
parent 397e8271dd
commit c436c8abeb
Signed by: Trivernis
GPG Key ID: DFFFCC2C7A02DB45

@ -37,7 +37,12 @@ footer.footer {
a { a {
color: $highlight-inactive-text; color: $highlight-inactive-text;
text-decoration: none; text-decoration-color: $highlight-inactive-text;
&:hover {
color: $highlight-text;
text-decoration-color: $highlight-text;
}
} }
} }

@ -38,10 +38,10 @@
<a href="https://trivernis.net">My Website</a> <a href="https://trivernis.net">My Website</a>
</div> </div>
<div class="footer-item float-right"> <div class="footer-item float-right">
<a href="{{ get_url(path="@/license.md") }}">License</a> <a href="https://git.trivernis.net/trivernis/plantwiki">Source</a>
</div> </div>
<div class="footer-item float-right"> <div class="footer-item float-right">
<a href="https://git.trivernis.net/trivernis/plantwiki">Source</a> <a href="{{ get_url(path="@/license.md") }}">License</a>
</div> </div>
</footer> </footer>

@ -28,7 +28,7 @@
</figure> </figure>
{% endblock image %} {% endblock image %}
<section> <section>
<a href="#site"><h3 id="site">Site</h3></a> <a href="#site"><h2 id="site">Site</h2></a>
{% if data.site.temp %} {% if data.site.temp %}
{{ macros::badge(icon="thermometer", class="temp-badge", text=data.site.temp, plain="Prefers " ~ data.site.temp ~ " temperatures.") }} {{ macros::badge(icon="thermometer", class="temp-badge", text=data.site.temp, plain="Prefers " ~ data.site.temp ~ " temperatures.") }}
@ -48,7 +48,7 @@
</section> </section>
<section> <section>
<a href="#care"><h3 id="care">Care</h3></a> <a href="#care"><h2 id="care">Care</h2></a>
{% if data.care.water_schedule %} {% if data.care.water_schedule %}
{{ macros::badge(icon="drizzle", class="water-badge", text="every " ~ data.care.water_schedule, plain="Water every " ~ data.care.water_schedule ~ ".") }} {{ macros::badge(icon="drizzle", class="water-badge", text="every " ~ data.care.water_schedule, plain="Water every " ~ data.care.water_schedule ~ ".") }}
@ -70,7 +70,7 @@
{% block additional_chapters %} {% block additional_chapters %}
{% for key, chapter in data.additional_chapters %} {% for key, chapter in data.additional_chapters %}
<section> <section>
<a href="#{{ chapter.title | slugify }}"><h3 id="{{ chapter.title | slugify }}">{{ chapter.title }}</h3></a> <a href="#{{ chapter.title | slugify }}"><h2 id="{{ chapter.title | slugify }}">{{ chapter.title }}</h2></a>
{{ load_data(path="/static/plants/" ~ page.extra.data ~ "/" ~ chapter.file ~ ".md") | markdown | safe }} {{ load_data(path="/static/plants/" ~ page.extra.data ~ "/" ~ chapter.file ~ ".md") | markdown | safe }}
</section> </section>
{% endfor %} {% endfor %}

Loading…
Cancel
Save