6th draft, har fjernet ligegyldig footer og ændret afstand efter afsnit fra 2 til 1rem

This commit is contained in:
Rasmus Malver 2021-12-08 00:55:51 +01:00
parent 3de84027f4
commit ce4149d2a3
4 changed files with 5 additions and 10 deletions

View file

@ -8,9 +8,6 @@
<div class="container"> <div class="container">
{{ content }} {{ content }}
</div> </div>
<footer>
<!-- Last generated at {{ site.time | date_to_rfc822 }} -->
</footer>
<script type="text/javascript" src="{{ site.baseurl }}/assets/js/main.js"></script> <script type="text/javascript" src="{{ site.baseurl }}/assets/js/main.js"></script>
</body> </body>
</html> </html>

View file

@ -3,10 +3,7 @@ layout: default
--- ---
<section class="centered"> <section class="centered">
<div class="content"> <div class="content">
<div class="heading" style="text-align:left;white-space: pre;"> <div class="heading" style="text-align:left;white-space: pre;">{% if page.heading != "" %}<h3>{{ page.heading }}</h3>{% endif %}<p>{% if page.permalink == "/intetatskjule" %}<img src="{{ site.baseurl }}/assets/img/postkort-mockup.svg">{% endif %}{% if page.permalink == "/gavekort" %}<img src="{{ site.baseurl }}/assets/img/gavekort-mockup.svg">{% endif %}{{ page.heading_subtext }}</p>
<h3>{{ page.heading }}</h3><p>{% if page.permalink == "/intetatskjule" %}<img src="{{ site.baseurl }}/assets/img/postkort-mockup.svg">{% endif %}
{% if page.permalink == "/gavekort" %}<img src="{{ site.baseurl }}/assets/img/gavekort-mockup.svg">{% endif %}{{ page.heading_subtext }}
</p>
</div> </div>
<div class="paragraphs"> <div class="paragraphs">
{{ content }} {{ content }}

View file

@ -37,7 +37,7 @@ h3 {
} }
p { p {
margin: 0 0 2rem; margin: 0 0 1rem 0;
font-size: 1rem; font-size: 1rem;
line-height: 1.5rem; line-height: 1.5rem;
break-inside: avoid; break-inside: avoid;

View file

@ -154,3 +154,4 @@ Redirect /intetatskjule /intetatskjule.html
# Gavekort # Gavekort
Redirect /gavekort /gavekort.html Redirect /gavekort /gavekort.html
Redirect /gave /gavekort.html