diff options
author | Adam Stück <adam@adast.xyz> | 2023-03-14 12:58:48 +0100 |
---|---|---|
committer | Adam Stück <adam@adast.xyz> | 2023-03-14 13:38:05 +0100 |
commit | 57f9900e4104f60189e3e07eea44b08e5f84b145 (patch) | |
tree | a8deee228bdad69fcf1ab389cc52dc29fe8a5245 | |
parent | e2e28ff7cb10974871faf5e6e980101f391a130b (diff) |
More readable homepage post list
-rw-r--r-- | dst/index.html | 8 | ||||
-rw-r--r-- | dst/main.css | 4 | ||||
-rw-r--r-- | src/index.md | 8 | ||||
-rw-r--r-- | src/main.css | 4 |
4 files changed, 9 insertions, 15 deletions
diff --git a/dst/index.html b/dst/index.html index 61e6872..42de63c 100644 --- a/dst/index.html +++ b/dst/index.html @@ -50,7 +50,6 @@ dl dd:not(:last-child) { margin-bottom: .3rem; } </style> - <dl class="external-links"> <dt>email</dt> <dd><a href="mailto:adam@adast.xyz">adam@adast.xyz</a></dd> @@ -67,12 +66,13 @@ dl dd:not(:last-child) { <hr style="margin: 2rem 0"> <style> -main p span.created { -margin: 4px 0px; +span.created { + display: block; + margin: 0 0 10px; } </style> -<p><span class='created'>2023-03-04 — <a href="2023-02-log">February 2023</a></span></p> +<p><span class='created'><small>2023-03-04</small><br><a href="2023-02-log">February 2023</a></span></p> <footer role="contentinfo"> <span><a href="#">↑ Back to Top</a></span><br><br> diff --git a/dst/main.css b/dst/main.css index 4d89bb6..3291e54 100644 --- a/dst/main.css +++ b/dst/main.css @@ -29,10 +29,6 @@ h1 { h1 + p { margin: 0 0 1rem; } -span.created { - display: block; - margin: 4px 15px; -} img { border: 1px solid lightgrey; height: auto; diff --git a/src/index.md b/src/index.md index 99a85a2..46dcbe6 100644 --- a/src/index.md +++ b/src/index.md @@ -44,8 +44,10 @@ dl dd:not(:last-child) { <hr style="margin: 2rem 0"> <style> -main p span.created { -margin: 4px 0px; +span.created { + display: block; + margin: 0 0 10px; } </style> -<span class='created'>2023-03-04 — <a href="2023-02-log">February 2023</a></span> + +<span class='created'><small>2023-03-04</small><br><a href="2023-02-log">February 2023</a></span> diff --git a/src/main.css b/src/main.css index 4d89bb6..3291e54 100644 --- a/src/main.css +++ b/src/main.css @@ -29,10 +29,6 @@ h1 { h1 + p { margin: 0 0 1rem; } -span.created { - display: block; - margin: 4px 15px; -} img { border: 1px solid lightgrey; height: auto; |