aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhitlerrip <git@hitler.rip>2025-07-29 18:07:33 +0200
committerhitlerrip <git@hitler.rip>2025-07-29 18:07:33 +0200
commit08987f703393a9648816e03c9361f60b6cf6da3d (patch)
tree5690537e042d3947a1e4e91b1aa4963e9e2a3eb8
parent2a51b9df1e2f56cb885f1db731cfa70dd05da528 (diff)
downloadwebsite-08987f703393a9648816e03c9361f60b6cf6da3d.tar.gz
website-08987f703393a9648816e03c9361f60b6cf6da3d.tar.bz2
website-08987f703393a9648816e03c9361f60b6cf6da3d.zip
small style changes
added a margin to the "latest post" section
-rwxr-xr-xbuild.sh16
-rw-r--r--con/style.css4
2 files changed, 13 insertions, 7 deletions
diff --git a/build.sh b/build.sh
index 3cd53bf..1f5c57f 100755
--- a/build.sh
+++ b/build.sh
@@ -162,13 +162,15 @@ for i in "${thebestarr[@]}"; do
if [ "$i" == "${thebestarr[0]}" ]; then
tee ../../tmp/articles/gen-first-article-tmp.html > /dev/null << EOF
- <h2>Latest Post:</h2>
- <article>
- <a href="/articles/$i"><h3>$WEBMETA_TITLE</h3></a>
- <h6><code>$WEBMETA_DATE</code> by $WEBMETA_AUTH</h6>
- <p>$WEBMETA_SUMMARY</p>
- </article>
- <a href="/articles/"><h5>See more Articles →</h5></a>
+ <section class="latest-post">
+ <h2>Latest Post:</h2>
+ <article>
+ <a href="/articles/$i"><h3>$WEBMETA_TITLE</h3></a>
+ <h6><code>$WEBMETA_DATE</code> by $WEBMETA_AUTH</h6>
+ <p>$WEBMETA_SUMMARY</p>
+ </article>
+ <a href="/articles/"><h5>See more Articles →</h5></a>
+ </section>
EOF
tee ../../tmp/articles/gen-first-article-tmp.md > /dev/null << EOF
diff --git a/con/style.css b/con/style.css
index d417ce8..13fb6af 100644
--- a/con/style.css
+++ b/con/style.css
@@ -218,3 +218,7 @@ article {
article p {
text-align: center;
}
+
+.latest-post {
+ margin: 50px 0 50px 0;
+}