|
/* ==UserStyle== |
|
@name AniList 2019 Color Schemes |
|
@namespace TehNut |
|
@homepageURL https://gist.github.com/TehNut/f1ee6e5ff26a5a419850458797770f38 |
|
@updateURL https://gist.githubusercontent.com/TehNut/f1ee6e5ff26a5a419850458797770f38/raw/AniListTweaks_2019DarkTheme.user.css |
|
@version 1.0.10 |
|
@description Switches to the color schemes from before the 4/30/2020 Browse update |
|
@author Nicholas "TehNut" Ignoffo |
|
==/UserStyle== */ |
|
@-moz-document domain("anilist.co") { |
|
|
|
#app { |
|
--color-background-200: var(--color-foreground) !important; |
|
--color-background-100: var(--color-background) !important; |
|
} |
|
|
|
/* Primary theme overrides */ |
|
.site-theme-dark { |
|
--color-background: 39, 44, 56; |
|
--color-foreground: 31, 35, 45; |
|
--color-foreground-grey: 25, 29, 38; |
|
--color-foreground-grey-dark: 16, 20, 25; |
|
--color-foreground-blue: 25, 29, 38; |
|
--color-foreground-blue-dark: 19, 23, 29; |
|
--color-text: 159, 173, 189; |
|
--color-text-light: 129, 140, 153; |
|
--color-text-lighter: 133, 150, 165; |
|
} |
|
|
|
.site-theme-contrast { |
|
--color-background: 214, 224, 239; |
|
--color-foreground: 245, 246, 249; |
|
--color-foreground-grey: 229, 233, 245; |
|
--color-foreground-grey-dark: 221, 225, 239; |
|
--color-foreground-blue: 229, 233, 245; |
|
--color-foreground-blue-dark: 221, 225, 239; |
|
--color-text: 0, 0, 0; |
|
--color-text-light: 94, 101, 111; |
|
--color-text-lighter: 94, 101, 111; |
|
--color-shadow: 37, 41, 51; |
|
--color-blue: 18, 172, 253; |
|
--color-blue-dim: 85, 144, 208; |
|
} |
|
|
|
.site-theme-light { |
|
--color-background: 237, 241, 245; |
|
--color-foreground: 250, 250, 250; |
|
--color-foreground-grey: 245, 246, 246; |
|
--color-foreground-grey-dark: 234, 236, 237; |
|
--color-foreground-blue: 246, 248, 251; |
|
--color-foreground-blue-dark: 241, 243, 247; |
|
--color-text: 92, 114, 138; |
|
--color-text-light: 122, 133, 143; |
|
--color-text-lighter: 146, 153, 161; |
|
} |
|
|
|
/* Navbar tweaks */ |
|
.nav-unscoped { |
|
transition: background 0.4s ease 0s, color 0.4s ease 0s; |
|
background: rgb(var(--color-overlay)) !important; |
|
color: rgb(159, 173, 189) !important; |
|
} |
|
|
|
.nav-unscoped:hover { |
|
color: rgba(var(--color-text-bright), 0.8) !important; |
|
} |
|
|
|
#nav .search svg { |
|
transition: color 0.4s ease 0s; |
|
color: rgb(159, 173, 189) |
|
} |
|
|
|
#nav { |
|
height: 54px; |
|
} |
|
|
|
#app { |
|
margin-top: 54px; |
|
} |
|
|
|
@media (max-height: 920px) { |
|
#nav { |
|
height: 54px; |
|
} |
|
|
|
#app { |
|
margin-top: 54px; |
|
} |
|
} |
|
|
|
/* Custom Slider fix */ |
|
.ps__rail-x:hover, |
|
.ps__rail-y:hover, |
|
.ps--clicking { |
|
transition: background-color 0.4s ease 0s; |
|
background-color: rgb(var(--color-foreground-blue)) !important; |
|
border-radius: 6px; |
|
} |
|
|
|
.ps__thumb-x, |
|
.ps__thumb-y { |
|
transition: background-color 0.4s ease 0s; |
|
background-color: rgb(var(--color-blue)) !important; |
|
} |
|
} |
|
|
|
@-moz-document url-prefix("https://anilist.co/user"), |
|
url-prefix("https://anilist.co/manga"), |
|
url-prefix("https://anilist.co/anime") { |
|
|
|
/* Navbar tweaks */ |
|
.nav-unscoped { |
|
transition: background 0.4s ease 0s, top 0.5s ease 0s !important; |
|
} |
|
|
|
.nav-unscoped.transparent { |
|
background: rgba(var(--color-overlay), 0.7) !important; |
|
color: rgb(159, 173, 189) !important; |
|
} |
|
|
|
.nav-unscoped:hover { |
|
background: rgb(var(--color-overlay)) !important; |
|
} |
|
} |
|
|
|
/* Browse now uses the foreground color as it's main body color, so the default page background doesn't match anymore */ |
|
@-moz-document url-prefix("https://anilist.co/search/"), |
|
url-prefix("https://anilist.co/airing") { |
|
.page-content .search { |
|
background: rgb(var(--color-background)) |
|
} |
|
|
|
/* Swap a bunch of colors to match the rest of the site */ |
|
.filters .search-wrap, |
|
.filters .search-wrap .search, |
|
.filters .select, |
|
.extra-filters-wrap .open-btn, |
|
.media-card .hover-data { |
|
transition: background 0.4s ease 0s; |
|
background: rgb(var(--color-foreground)); |
|
} |
|
|
|
.results.chart .media-card, |
|
.results.table .media-card, |
|
.airing .media-card { |
|
transition: background 0.4s ease 0s; |
|
background: rgb(var(--color-foreground)); |
|
} |
|
|
|
.results.chart .media-card .footer, |
|
.airing .media-card .footer { |
|
transition: background 0.4s ease 0s; |
|
background: rgb(var(--color-foreground-blue)); |
|
} |
|
|
|
.selects-wrap .dropdown { |
|
background: rgb(var(--color-background-200)) !important; |
|
} |
|
} |
|
|
|
@-moz-document url-prefix("https://anilist.co/apps") { |
|
.app-section { |
|
background: rgb(var(--color-background-100)) !important; |
|
} |
|
} |
|
|
|
@-moz-document url-prefix("https://anilist.co/studio/") { |
|
.studio { |
|
background: rgb(var(--color-background-100)) !important; |
|
} |
|
|
|
.media-card .hover-data { |
|
transition: background 0.4s ease 0s; |
|
background: rgb(var(--color-foreground)); |
|
} |
|
} |