From 06bf6af3c898e82f1e225f875e7455fac5c10ff9 Mon Sep 17 00:00:00 2001 From: Joe Carstairs <65492573+Sycamost@users.noreply.github.com> Date: Fri, 18 Aug 2023 20:56:21 +0100 Subject: Pulls out link module --- public/css/modules/link.css | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 public/css/modules/link.css (limited to 'public/css/modules/link.css') diff --git a/public/css/modules/link.css b/public/css/modules/link.css new file mode 100644 index 0000000..005c82e --- /dev/null +++ b/public/css/modules/link.css @@ -0,0 +1,25 @@ +.link { + color: var(--special-text-color); + text-decoration: underline; + text-decoration-color: var(--special-text-color); + border: dotted transparent 2px; + border-radius: 0.375rem; + transition: + text-decoration-color 300ms, + color 300ms, + border-color 300ms, + font-weight 300ms; +} + +.link:hover, .group-hover:hover .link { + text-decoration-color: transparent; +} + +.link:focus { + border-color: var(--special-text-color); +} + +.link:active { + font-weight: 700; + color: var(--special-text-highlight-color); +} \ No newline at end of file -- cgit v1.2.3