diff options
author | Oscar Najera <hi@oscarnajera.com> | 2025-01-21 22:10:30 +0100 |
---|---|---|
committer | Oscar Najera <hi@oscarnajera.com> | 2025-01-21 22:34:22 +0100 |
commit | 9bde0f26da8567f63826e6b7d69190c7fb0a2209 (patch) | |
tree | 7c65d64a12fc5d6e46eab85a12c4d74565e1d0ff /assets | |
parent | 2461f409199ca27267184c115350988a2db1a1fe (diff) | |
download | hugo-minimalist-theme-9bde0f26da8567f63826e6b7d69190c7fb0a2209.tar.gz hugo-minimalist-theme-9bde0f26da8567f63826e6b7d69190c7fb0a2209.tar.bz2 hugo-minimalist-theme-9bde0f26da8567f63826e6b7d69190c7fb0a2209.zip |
accessibility
- More contrast on links and code on main-content
- Headings in content are links and styled instead of only the anchor
chain at the end
- Author card uses a & p, instead of abusing heading tag, since it does
no belong to content and evidences no hierarchy.
Diffstat (limited to 'assets')
-rw-r--r-- | assets/css/input.css | 4 | ||||
-rw-r--r-- | assets/css/tailwind.css | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/assets/css/input.css b/assets/css/input.css index b9875df..9f03d8d 100644 --- a/assets/css/input.css +++ b/assets/css/input.css @@ -112,10 +112,10 @@ text-shadow: 2px 2px 3px black; } .main-content p code { - @apply text-blue-500 px-1; + @apply text-blue-700 px-1; } .main-content a { - @apply px-1 text-lime-500; + @apply px-1 text-green-700; } .main-content a[href^="http"]::after { content: ""; diff --git a/assets/css/tailwind.css b/assets/css/tailwind.css index 31dd5b3..f3738fb 100644 --- a/assets/css/tailwind.css +++ b/assets/css/tailwind.css @@ -885,14 +885,14 @@ h6 { padding-left: 0.25rem; padding-right: 0.25rem; --tw-text-opacity: 1; - color: rgb(59 130 246 / var(--tw-text-opacity, 1)); + color: rgb(29 78 216 / var(--tw-text-opacity, 1)); } .main-content a { padding-left: 0.25rem; padding-right: 0.25rem; --tw-text-opacity: 1; - color: rgb(132 204 22 / var(--tw-text-opacity, 1)); + color: rgb(21 128 61 / var(--tw-text-opacity, 1)); } .main-content a[href^="http"]::after { |