diff options
| author | Joe Carstairs <65492573+Sycamost@users.noreply.github.com> | 2023-08-18 20:56:21 +0100 |
|---|---|---|
| committer | Joe Carstairs <65492573+Sycamost@users.noreply.github.com> | 2023-08-18 20:56:21 +0100 |
| commit | 06bf6af3c898e82f1e225f875e7455fac5c10ff9 (patch) | |
| tree | e27a4a208462ea471016614e57d9971b65d77f56 /public/css/modules | |
| parent | 2eb8c495a8b03a155ad9130ff54c8f78a92a5e34 (diff) | |
Pulls out link module
Diffstat (limited to 'public/css/modules')
| -rw-r--r-- | public/css/modules/index.css | 3 | ||||
| -rw-r--r-- | public/css/modules/link.css | 25 |
2 files changed, 27 insertions, 1 deletions
diff --git a/public/css/modules/index.css b/public/css/modules/index.css index 78fbd69..0a778e1 100644 --- a/public/css/modules/index.css +++ b/public/css/modules/index.css @@ -1 +1,2 @@ -@import './btn.css';
\ No newline at end of file +@import './btn.css'; +@import './link.css';
\ No newline at end of file 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 |
