summaryrefslogtreecommitdiff
path: root/public/css/modules/link.css
diff options
context:
space:
mode:
Diffstat (limited to 'public/css/modules/link.css')
-rw-r--r--public/css/modules/link.css25
1 files changed, 25 insertions, 0 deletions
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