From cfeaae19a7465068d374f5302a13c094fac58dbf Mon Sep 17 00:00:00 2001 From: flashwave Date: Thu, 27 Jun 2024 15:48:30 +0000 Subject: [PATCH] Moved markup__link styling out of the theme definition cuz its identical anyway. --- src/mami.css/markup.css | 9 ++++++++- src/mami.css/themes/archaic.css | 8 -------- src/mami.css/themes/blue.css | 8 -------- src/mami.css/themes/dark.css | 8 -------- src/mami.css/themes/light.css | 8 -------- src/mami.css/themes/purple.css | 8 -------- 6 files changed, 8 insertions(+), 41 deletions(-) diff --git a/src/mami.css/markup.css b/src/mami.css/markup.css index bf6bc7a..ad34250 100644 --- a/src/mami.css/markup.css +++ b/src/mami.css/markup.css @@ -9,9 +9,16 @@ } .markup__link { + color: #1e90ff; text-decoration: none } -.markup__link:hover { +.markup__link:hover, +.markup__link:focus { text-decoration: underline } + +.markup__link--visited, +.markup__link:visited { + color: #6B4F80; +} diff --git a/src/mami.css/themes/archaic.css b/src/mami.css/themes/archaic.css index e88499f..55e87d5 100644 --- a/src/mami.css/themes/archaic.css +++ b/src/mami.css/themes/archaic.css @@ -165,11 +165,3 @@ .umi--archaic .markup__button:active { background-color: #222 } - -.umi--archaic .markup__link { - color: #1e90ff; -} -.umi--archaic .markup__link--visited, -.umi--archaic .markup__link:visited { - color: #6B4F80; -} diff --git a/src/mami.css/themes/blue.css b/src/mami.css/themes/blue.css index 9c8ede0..d31ec92 100644 --- a/src/mami.css/themes/blue.css +++ b/src/mami.css/themes/blue.css @@ -165,11 +165,3 @@ .umi--blue .markup__button:active { background-color: #0e507a } - -.umi--blue .markup__link { - color: #1e90ff; -} -.umi--blue .markup__link--visited, -.umi--blue .markup__link:visited { - color: #6B4F80; -} diff --git a/src/mami.css/themes/dark.css b/src/mami.css/themes/dark.css index 130ea60..5ce6eff 100644 --- a/src/mami.css/themes/dark.css +++ b/src/mami.css/themes/dark.css @@ -165,11 +165,3 @@ .umi--dark .markup__button:active { background-color: #3a3a3a } - -.umi--dark .markup__link { - color: #1e90ff; -} -.umi--dark .markup__link--visited, -.umi--dark .markup__link:visited { - color: #6B4F80; -} diff --git a/src/mami.css/themes/light.css b/src/mami.css/themes/light.css index ec8c539..83be660 100644 --- a/src/mami.css/themes/light.css +++ b/src/mami.css/themes/light.css @@ -165,11 +165,3 @@ .umi--light .markup__button:active { background-color: #c9c9c9 } - -.umi--light .markup__link { - color: #1e90ff; -} -.umi--light .markup__link--visited, -.umi--light .markup__link:visited { - color: #6B4F80; -} diff --git a/src/mami.css/themes/purple.css b/src/mami.css/themes/purple.css index d716232..5343ef9 100644 --- a/src/mami.css/themes/purple.css +++ b/src/mami.css/themes/purple.css @@ -165,11 +165,3 @@ .umi--purple .markup__button:active { background-color: #604c74 } - -.umi--purple .markup__link { - color: #1e90ff; -} -.umi--purple .markup__link--visited, -.umi--purple .markup__link:visited { - color: #6B4F80; -}