summaryrefslogtreecommitdiff
path: root/scss/modules/news-index.scss
diff options
context:
space:
mode:
authorJoe Carstairs <118172583+jcarstairs-scottlogic@users.noreply.github.com>2024-01-19 09:16:42 +0000
committerGitHub <noreply@github.com>2024-01-19 09:16:42 +0000
commit0cb6960f0c65c0d791ccdee2f5bc2e2b910cfb76 (patch)
tree503e1129a999fe834d2a7b98a4e82bf07264f49f /scss/modules/news-index.scss
parent0b2fbe3f5b9e2fcf0da2b320af504d5cca759045 (diff)
Uses SCSS partials (#64)
Diffstat (limited to 'scss/modules/news-index.scss')
-rw-r--r--scss/modules/news-index.scss36
1 files changed, 0 insertions, 36 deletions
diff --git a/scss/modules/news-index.scss b/scss/modules/news-index.scss
deleted file mode 100644
index b235edd..0000000
--- a/scss/modules/news-index.scss
+++ /dev/null
@@ -1,36 +0,0 @@
-.news-index__item {
- display: block;
- box-sizing: border-box;
- border: var(--border-width) solid var(--text-color);
- transition: background 100ms;
- padding-block: var(--spacing-block-md);
- padding-inline: var(--spacing-inline-sm);
- width: var(--width-prose);
-}
-
-a.news-index__item {
- text-decoration: none;
- color: var(--text-color);
-}
-
-.news-index__item:not(:first-child) {
- border-top-width: 0;
-}
-
-.news-index__item:is(:hover, :focus, :focus-visible, :focus-within) {
- outline: none;
- box-shadow: none;
- color: var(--text-highlight-color);
- border-color: var(--background-highlight-color);
- background: var(--background-highlight-color);
- transition-duration: 300ms;
-}
-
-.news-index__item:is(:hover, :focus, :focus-visible, :focus-within) .link {
- color: var(--special-text-highlight-color);
-}
-
-.news-index__item:is(:focus, :focus-visible, :focus-within) {
- border-color: var(--special-text-highlight-color);
- border-style: dotted;
-}