From: Ardis Lu Date: Sat, 19 Oct 2024 04:02:08 +0000 (-0700) Subject: Improve plain

message styling X-Git-Url: https://git.ardis.lu/?a=commitdiff_plain;h=872022914bcab22287e3e3c202b77fed5b07098f;p=ardislu.dev Improve plain

message styling --- diff --git a/errors/404.html b/errors/404.html index 514cab6..292af36 100644 --- a/errors/404.html +++ b/errors/404.html @@ -48,7 +48,7 @@

- + diff --git a/script.js b/script.js index 306ad52..6cda474 100644 --- a/script.js +++ b/script.js @@ -108,8 +108,7 @@ function buildHomeComponent(metadata) { home.classList.add('card-container'); if (metadata.size === 0) { - home.insertAdjacentHTML('beforeend', - `

No results found.

`); + home.insertAdjacentHTML('beforeend', `

No results found.

`); return home; } diff --git a/style.css b/style.css index 2271f92..6b7ccdf 100644 --- a/style.css +++ b/style.css @@ -359,6 +359,12 @@ td { background: hsl(30deg 80% 90%); } +.message { + text-align: center; + font-size: 1.25rem; + font-weight: 700; +} + .post { inline-size: min(100% - 2rem, 1440px); margin-inline: auto;