392 lines
13 KiB
CSS
392 lines
13 KiB
CSS
/* ==UserStyle==
|
|
@name Wikiwand Catppuccin
|
|
@namespace github.com/catppuccin/userstyles/styles/wikiwand
|
|
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/wikiwand
|
|
@version 1.2.0
|
|
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/wikiwand/catppuccin.user.css
|
|
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Awikiwand
|
|
@description Soothing pastel theme for Wikiwand
|
|
@author Catppuccin
|
|
@license MIT
|
|
|
|
@preprocessor less
|
|
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha"]
|
|
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
|
|
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
|
|
==/UserStyle== */
|
|
|
|
@-moz-document domain("wikiwand.com") {
|
|
.root_light__Inhun {
|
|
#catppuccin(@lightFlavor, @accentColor);
|
|
}
|
|
|
|
.root_earth__3sDLo,
|
|
.root_dark__oGh5X,
|
|
.root_auto__Xg3qF,
|
|
.root_grey__eKz_h {
|
|
#catppuccin(@darkFlavor, @accentColor);
|
|
}
|
|
|
|
#catppuccin(@lookup, @accent) {
|
|
@rosewater: @catppuccin[@@lookup][@rosewater];
|
|
@flamingo: @catppuccin[@@lookup][@flamingo];
|
|
@pink: @catppuccin[@@lookup][@pink];
|
|
@mauve: @catppuccin[@@lookup][@mauve];
|
|
@red: @catppuccin[@@lookup][@red];
|
|
@maroon: @catppuccin[@@lookup][@maroon];
|
|
@peach: @catppuccin[@@lookup][@peach];
|
|
@yellow: @catppuccin[@@lookup][@yellow];
|
|
@green: @catppuccin[@@lookup][@green];
|
|
@teal: @catppuccin[@@lookup][@teal];
|
|
@sky: @catppuccin[@@lookup][@sky];
|
|
@sapphire: @catppuccin[@@lookup][@sapphire];
|
|
@blue: @catppuccin[@@lookup][@blue];
|
|
@lavender: @catppuccin[@@lookup][@lavender];
|
|
@text: @catppuccin[@@lookup][@text];
|
|
@subtext1: @catppuccin[@@lookup][@subtext1];
|
|
@subtext0: @catppuccin[@@lookup][@subtext0];
|
|
@overlay2: @catppuccin[@@lookup][@overlay2];
|
|
@overlay1: @catppuccin[@@lookup][@overlay1];
|
|
@overlay0: @catppuccin[@@lookup][@overlay0];
|
|
@surface2: @catppuccin[@@lookup][@surface2];
|
|
@surface1: @catppuccin[@@lookup][@surface1];
|
|
@surface0: @catppuccin[@@lookup][@surface0];
|
|
@base: @catppuccin[@@lookup][@base];
|
|
@mantle: @catppuccin[@@lookup][@mantle];
|
|
@crust: @catppuccin[@@lookup][@crust];
|
|
@accent-color: @catppuccin[@@lookup][@@accent];
|
|
|
|
color-scheme: if(@lookup = latte, light, dark);
|
|
|
|
::selection {
|
|
background-color: fade(@accent-color, 30%);
|
|
}
|
|
|
|
input,
|
|
textarea {
|
|
&::placeholder {
|
|
color: @subtext0 !important;
|
|
}
|
|
}
|
|
|
|
--color-bg: @base;
|
|
--color-text: @text;
|
|
--color-grey: @subtext0;
|
|
--color-table: @surface0;
|
|
--color-table-border: @surface0;
|
|
--color-link: @accent-color;
|
|
--toc-bg: @mantle;
|
|
--toc-text: @text;
|
|
--toc-border: @crust;
|
|
--tag-bg: @surface0;
|
|
--tag-text: @overlay1;
|
|
--navbar-bg: @crust;
|
|
--navbar-border: @mantle;
|
|
--navbar-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2),
|
|
0px 5px 10px rgba(0, 0, 0, 0.3);
|
|
|
|
.popover_arrow__pQSsX::before {
|
|
background-color: @surface1;
|
|
border-color: @surface2;
|
|
}
|
|
*[class*="dropdown_item"] {
|
|
color: @text;
|
|
}
|
|
.popover_popover__jgyGp {
|
|
background-color: @surface1;
|
|
border-color: @surface2;
|
|
border-radius: 0.625em;
|
|
box-shadow:
|
|
0 0 2px rgba(0, 0, 0, 0.1),
|
|
0 5px 10px rgba(0, 0, 0, 0.1);
|
|
}
|
|
.draggable_wrapper__YB014 {
|
|
background-color: @surface1;
|
|
border-color: @surface0;
|
|
box-shadow:
|
|
0 0 2px rgba(0, 0, 0, 0.2),
|
|
0 10px 20px rgba(0, 0, 0, 0.3);
|
|
color: @text;
|
|
}
|
|
.checkbox_checkbox__uXwIZ {
|
|
width: 1.125em;
|
|
height: 1.125em;
|
|
border-radius: 0.125em;
|
|
border-color: @surface1;
|
|
background-color: @surface2;
|
|
position: relative;
|
|
}
|
|
.checkbox_checkbox__uXwIZ::before {
|
|
background-color: @accent-color;
|
|
}
|
|
svg.audio_icon__eZ5Bx {
|
|
color: @text;
|
|
}
|
|
.checkbox_label__V5gon,
|
|
.audio_select__kmOPL {
|
|
color: @subtext0 !important;
|
|
}
|
|
.draggable_header__bfxdq {
|
|
border-color: @surface1 !important;
|
|
}
|
|
.footer_donation__Cje_Q {
|
|
display: none !important;
|
|
}
|
|
.dropdown_content__4NAxl {
|
|
background-color: @surface1;
|
|
border-color: @surface2;
|
|
}
|
|
p.settings_setLabel__NrVBx:nth-child(3),
|
|
article.settings_section__vRaq_:nth-child(1) {
|
|
color: @text;
|
|
}
|
|
.toggle_label__y7mDQ {
|
|
color: @text;
|
|
}
|
|
.toggle_bg__Qn4Oc {
|
|
background-color: @accent-color;
|
|
}
|
|
.toggle_label__y7mDQ.toggle_active__l_k3F {
|
|
color: @base;
|
|
}
|
|
.toggle_label__y7mDQ:not(.toggle_active__l_k3F):hover {
|
|
color: @accent-color;
|
|
}
|
|
.themeBtn_wrapper__KTkHk.themeBtn_active__4gb_I,
|
|
.themeBtn_wrapper__KTkHk:hover {
|
|
color: @accent-color;
|
|
}
|
|
.themeBtn_label__GyvdH {
|
|
color: @subtext1;
|
|
}
|
|
.toggle_toggle__jzkKG {
|
|
background-color: @surface2;
|
|
}
|
|
.settings_reset__GO2x4 {
|
|
border-top-color: @surface2;
|
|
}
|
|
.settings_resetBtn__3yLrG {
|
|
color: @text;
|
|
}
|
|
.settings_resetBtn__3yLrG:not(.settings_disabled__7X7Nu):hover {
|
|
color: @red;
|
|
}
|
|
.themeBtn_label__GyvdH span {
|
|
background-color: @surface2;
|
|
border-color: @surface2;
|
|
}
|
|
.themeBtn_wrapper__KTkHk.themeBtn_active__4gb_I
|
|
.themeBtn_demoWrapper__fdi7G {
|
|
border-color: @accent-color !important;
|
|
}
|
|
div.themeBtn_wrapper__KTkHk:nth-child(3)
|
|
> p:nth-child(2)
|
|
> span:nth-child(1)::before {
|
|
background-color: @accent-color;
|
|
}
|
|
.item_item__uLhiz.item_active__4kaIV {
|
|
color: @accent-color;
|
|
}
|
|
.item_item__uLhiz.item_active__4kaIV,
|
|
.item_item__uLhiz:hover {
|
|
background-color: @surface2;
|
|
}
|
|
.languages_wrapper__1Ad3R {
|
|
color: @subtext1;
|
|
}
|
|
.input_input__uGeT_ {
|
|
color: @text;
|
|
background-color: @overlay0;
|
|
border-radius: 4px;
|
|
}
|
|
.input_wrapper__aeypb {
|
|
border-color: transparent !important;
|
|
}
|
|
.action_action___vLQg {
|
|
color: @accent-color;
|
|
}
|
|
.share_btn__9IJpe {
|
|
color: @text;
|
|
background-color: @surface2;
|
|
border-color: @surface2;
|
|
}
|
|
.share_btn__9IJpe span {
|
|
color: @text;
|
|
}
|
|
.footer_socialWrapper__R1iSQ *:hover,
|
|
.footer_link__TA4rr:hover {
|
|
color: @accent-color;
|
|
}
|
|
.list_wrapper__TYM2l,
|
|
.input_wrapper__aeypb {
|
|
background-color: @surface1;
|
|
color: @text;
|
|
}
|
|
.input_wrapper__aeypb * {
|
|
color: @text;
|
|
}
|
|
.list_item_VVizU:hover {
|
|
background-color: @surface2 !important;
|
|
}
|
|
.search_header__gqnk7.search_article__L3Khv {
|
|
background: transparent;
|
|
}
|
|
.item_item__jj0Ue {
|
|
color: @text;
|
|
}
|
|
.item_item__jj0Ue:hover {
|
|
background-color: @surface2 !important;
|
|
border-color: @accent-color;
|
|
}
|
|
.modal_header__t094_ {
|
|
border-color: @surface1;
|
|
color: @text;
|
|
}
|
|
.list_item__VVizU.list_active__ahAYX,
|
|
.list_item__VVizU:hover {
|
|
background-color: @surface2;
|
|
}
|
|
.button_btn__ln0Hv {
|
|
color: @accent-color;
|
|
background-color: @surface0;
|
|
}
|
|
|
|
.navbarMobile_footer__y5Kwi.navbarMobile_dark__eIcxf
|
|
.navbarMobile_icons__tirr9,
|
|
.navbarMobile_footer__y5Kwi.navbarMobile_dark__eIcxf
|
|
.navbarMobile_toc__iPfvP,
|
|
.navbarMobile_footer__y5Kwi.navbarMobile_grey__5dmnP
|
|
.navbarMobile_icons__tirr9,
|
|
.navbarMobile_footer__y5Kwi.navbarMobile_grey__5dmnP
|
|
.navbarMobile_toc__iPfvP {
|
|
background-color: @surface1;
|
|
color: @text;
|
|
}
|
|
.tooltip_tooltip_QQr79.tooltip_dark_ZWBHd,
|
|
.tooltip_tooltip_QQr79.tooltip_dark_ZWBHd > * > * {
|
|
background-color: @crust !important;
|
|
}
|
|
.dropdown_item__yrn67:hover {
|
|
background-color: @surface2;
|
|
color: @accent-color;
|
|
border-color: @accent-color !important;
|
|
}
|
|
.audio_dot__jeWOr.audio_active__li6PM {
|
|
background-color: @accent-color;
|
|
}
|
|
.audio_dot__jeWOr {
|
|
background-color: @surface2;
|
|
box-shadow: 6.666px 0 0 0 @surface2;
|
|
border-radius: 0;
|
|
border-color: @surface2 !important;
|
|
}
|
|
.gallery_icon__7LOBi {
|
|
background-color: @surface2;
|
|
color: @subtext1;
|
|
}
|
|
.gallery_disable__1QuKw {
|
|
background-color: @surface0;
|
|
}
|
|
.gallery_icon__7LOBi:hover {
|
|
background-color: @overlay0;
|
|
color: @accent-color;
|
|
}
|
|
.gallery_nav__BEeM3 {
|
|
background-color: @base;
|
|
}
|
|
.image_wrapper__Dq3Jq {
|
|
background-color: @crust;
|
|
}
|
|
.stage_caption__BvSjQ {
|
|
color: @subtext0;
|
|
}
|
|
.gallery_wrapper__1a7bM,
|
|
.thumbnails_wrapper__1Q5be {
|
|
background-color: @mantle !important;
|
|
}
|
|
.thumbnails_thumbnail__H4tNf {
|
|
background-color: #fafafa;
|
|
border-radius: 4px;
|
|
padding: 4px;
|
|
}
|
|
|
|
.list_loading__j43_R {
|
|
color: @accent-color;
|
|
}
|
|
.info_wrapper__HpdJH,
|
|
.info_arrow__ehjUI {
|
|
background-color: @surface1;
|
|
border-color: @surface1;
|
|
}
|
|
|
|
.info_wrapper__HpdJH::after {
|
|
background: linear-gradient(180deg, hsla(0, 0%, 98%, 0), @surface1 90%);
|
|
}
|
|
.list_item__VVizU.list_active__ahAYX {
|
|
color: @accent-color;
|
|
}
|
|
.item_star__arENF {
|
|
color: @subtext1;
|
|
}
|
|
.item_star__arENF.item_active__4kaIV {
|
|
color: @yellow;
|
|
}
|
|
.action_action___vLQg.action_remove__z6g_k {
|
|
color: @text;
|
|
}
|
|
.action_action___vLQg:not(.action_limit__u0EDs):hover.action_remove__z6g_k {
|
|
color: @accent-color;
|
|
}
|
|
.item_remove__f1A5k {
|
|
background-color: @surface1;
|
|
}
|
|
.item_remove__f1A5k span,
|
|
.item_remove__f1A5k svg {
|
|
color: @red;
|
|
}
|
|
caption {
|
|
background-color: @surface0 !important;
|
|
border-color: @surface0 !important;
|
|
}
|
|
.summary_wordtuneWrapper__21QxG > img:nth-child(2) {
|
|
background-color: @accent-color;
|
|
}
|
|
code > a {
|
|
color: @accent-color !important;
|
|
}
|
|
table * {
|
|
background-color: @surface0 !important;
|
|
color: @text !important;
|
|
border-color: @surface2 !important;
|
|
}
|
|
table {
|
|
background-color: @surface0 !important;
|
|
border-color: transparent !important;
|
|
}
|
|
a.wl {
|
|
color: @accent-color !important;
|
|
}
|
|
.summary_footer__Lk6z7 > span:nth-child(1),
|
|
svg.icon_icon__0vohI,
|
|
.icon_icon__0vohI.input_icon__He3sV,
|
|
svg.icon_icon__0vohI:nth-child(2) > use:nth-child(1) {
|
|
color: @accent-color;
|
|
fill: @accent-color;
|
|
}
|
|
.wikitable tr::before {
|
|
background-color: @surface0 !important;
|
|
border-color: @surface2 !important;
|
|
}
|
|
}
|
|
}
|
|
|
|
/* prettier-ignore */
|
|
@catppuccin: {
|
|
@latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
|
|
@frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
|
|
@macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
|
|
@mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
|
|
}
|
|
|
|
// vim:ft=less
|