X-Git-Url: https://git.draconx.ca/gitweb/homepage.git/blobdiff_plain/062c731462e3ec513b470308cc2dd475098ce231..d82f7b7dd13788fd5478b72285cde1cb76041d4d:/content/style.scss diff --git a/content/style.scss b/content/style.scss index 5f2ef96..727a865 100644 --- a/content/style.scss +++ b/content/style.scss @@ -329,7 +329,7 @@ $clickynames: name, date, size; @include usecolours($border-color: foreground); @at-root { @supports (outline-style: auto) { & { @include usecolour(outline, focusring, auto); - border-color: transparent; + border-color: transparent !important; }}} } } @@ -454,15 +454,22 @@ ul.ordered > { #footer { padding: 0 1em; } } +// lighten icon shadows in dark mode +@media (prefers-color-scheme: dark) { + svg.icons { path.shadow, g.shadow>* { opacity: 0.7; } } + svg.icons .shadow>stop { stop-color: #aaa; } + svg.return path.shadow { opacity: 0.45; } +} + // page-specific dark mode styles -@media (min-width: 35em) { +@media (prefers-color-scheme: dark) and (min-width: 35em) { #page_weblog_responsive_tables { @each $tN in t6 t7 t8 { ##{$tN}>tbody>tr.#{$tN}-split { - @include usecolour_var_(border-bottom, ruledefault); + @include usecolour_dark_(border-bottom, ruledefault); &:nth-of-type(odd) ~ tr:nth-of-type(odd) { - @include usecolour_var_(background-color, tableshade); + @include usecolour_dark_(background-color, tableshade); } } }