From 69610523728ce43d7de195d371d5ad620bf1eddf Mon Sep 17 00:00:00 2001 From: tymoteusz Date: Sat, 11 Oct 2025 21:56:40 +0200 Subject: [PATCH] UI: fix link colors inside markdown-notices --- css/style.css | 48 +++++++++++++++++++++++++++++++++--------------- 1 file changed, 33 insertions(+), 15 deletions(-) diff --git a/css/style.css b/css/style.css index f4dee26..cd9ccdb 100644 --- a/css/style.css +++ b/css/style.css @@ -9,7 +9,8 @@ --card-shadow-color: #00000033; } -.btn, button { +.btn, +button { border: none; } @@ -27,7 +28,8 @@ --card-shadow-color: #1f2223; } - .btn, button { + .btn, + button { border: 0.001rem solid var(--txt-color); } } @@ -72,6 +74,18 @@ a:hover { text-decoration: underline; } +.notices a { + color: inherit; + text-decoration: underline; + font-weight: inherit; +} + +.notices a:hover, +.notices a:focus { + color: inherit; + text-decoration: underline; +} + .bx { vertical-align: middle; } @@ -118,6 +132,7 @@ a:hover { .btn:hover { text-decoration: none; } + .btn { font-weight: 700; transition: all 0.25s; @@ -175,12 +190,13 @@ a:hover { background-color: #0986c9; } -form input, form button { +form input, +form button { font-family: "Atkinson Hyperlegible", sans-serif !important; font-size: 1.5rem; min-height: 3rem; } - + form input { min-height: 3rem; padding: 0.75rem 1.25rem; @@ -191,7 +207,7 @@ form input { background-color: var(--bg-color); color: var(--txt-color); } - + form button { font-weight: 700; cursor: pointer; @@ -202,11 +218,11 @@ form button { background-color: #00f; color: var(--btn-txt-color); } - + form button:hover { background-color: #00d; } - + form .annotation { margin: 0; } @@ -249,7 +265,8 @@ form .annotation { text-decoration: none; } -.card-link:hover .post-title, .card-link:hover .post-details { +.card-link:hover .post-title, +.card-link:hover .post-details { transition: color 0.3s ease; color: var(--hover-color); } @@ -395,8 +412,8 @@ em { nav { margin-top: 3rem; font-size: 1.6em; - } - +} + nav a, nav a:focus, nav a:hover { @@ -443,15 +460,15 @@ nav .nav-btn { } .cta { - font-size:1.1rem; - line-height: 1.5rem; + font-size: 1.1rem; + line-height: 1.5rem; height: 3.1rem; } .cta a { display: block; } - + .profile { margin-top: 15%; } @@ -482,7 +499,8 @@ nav .nav-btn { max-width: 55%; } - form input, form button { + form input, + form button { font-size: 1rem; } @@ -518,4 +536,4 @@ nav .nav-btn { margin-bottom: 15%; font-size: 1.4rem; } -} +} \ No newline at end of file