diff options
| author | FrostyBiscuit <[email protected]> | 2025-02-24 20:06:44 +0100 | 
|---|---|---|
| committer | FrostyBiscuit <[email protected]> | 2025-02-24 20:06:44 +0100 | 
| commit | dca91c1d0624f82ff16d60e359a287c22515fe1d (patch) | |
| tree | 2e6a070bfacff96b354d8ab41260cc193340a15b | |
| parent | c3ec21ebd1b5ef91bbdf0a2efecc67dd28a67f1d (diff) | |
Reduced base.css to prevent side effects
| -rw-r--r-- | styles/global/base.css | 64 | 
1 files changed, 4 insertions, 60 deletions
diff --git a/styles/global/base.css b/styles/global/base.css index 275ecac..b88b928 100644 --- a/styles/global/base.css +++ b/styles/global/base.css @@ -1,3 +1,7 @@ +:root {
 +  --darkreader-background-ffffff: transparent;
 +}
 +
  body,
  html,
  main {
 @@ -8,63 +12,3 @@ main {      background: none !important;
    }
  }
 -
 -.card,
 -.card-ui,
 -.post,
 -.entry,
 -.box,
 -.product-item,
 -pre {
 -  background-color: var(--transparent-background-dark) !important;
 -  border-radius: var(--border-radius) !important;
 -}
 -
 -dialog,
 -.dialog,
 -#dialog,
 -.modal,
 -#modal,
 -.popup,
 -#popup,
 -.popover,
 -#popover,
 -.tooltip,
 -#tooltip,
 -.dropdown,
 -#dropdown,
 -.sub-menu,
 -.submenu,
 -.gdpr,
 -.cookie-bar,
 -#cookie-bar,
 -.cookie-banner,
 -#cookie-banner,
 -.consent-banner,
 -#consent-banner,
 -.is-sticky,
 -.sticky,
 -ul > li > ul,
 -[popover],
 -[role="dialog"],
 -[style*="position:fixed"]:not([style*="pointer-events:none"]) {
 -  background: var(--transparent-background-darker);
 -  backdrop-filter: var(--backdrop-blur);
 -}
 -
 -a {
 -  color: var(--color-primary);
 -
 -  &:active,
 -  &.active {
 -    color: var(--color-secondary);
 -  }
 -}
 -
 -svg {
 -  color: inherit;
 -
 -  * {
 -    color: inherit;
 -  }
 -}
  | 
