diff --git a/styles/wikipedia/catppuccin.user.css b/styles/wikipedia/catppuccin.user.css index 12bd9c36..45995df6 100644 --- a/styles/wikipedia/catppuccin.user.css +++ b/styles/wikipedia/catppuccin.user.css @@ -2,7 +2,7 @@ @name Wikipedia Catppuccin @namespace github.com/catppuccin/userstyles/styles/wikipedia @homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/wikipedia -@version 0.0.2 +@version 0.0.3 @updateURL https://github.com/catppuccin/userstyles/raw/main/styles/wikipedia/catppuccin.user.css @supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Awikipedia @description Soothing pastel theme for Wikipedia @@ -256,10 +256,266 @@ .mw-highlight pre { background: @surface0 !important; - border-color: @surface2 !important; + border-width: 0; color: @text; } + .mw-content-ltr.mw-highlight-lines pre, + .mw-content-ltr.content .mw-highlight-lines pre { + box-shadow: inset 2.75em 0 0 @surface1; + } + + .mw-highlight .hll { + background-color: #ffffcc; + } + .mw-highlight .c { + color: @overlay0; + } /* Comment */ + .mw-highlight .err { + color: @text; + } /* Error */ + .mw-highlight .g { + color: @text; + } /* Generic */ + .mw-highlight .k { + color: @mauve; + } /* Keyword */ + .mw-highlight .l { + color: @text; + } /* Literal */ + .mw-highlight .n { + color: @text; + } /* Name */ + .mw-highlight .o { + color: @sky; + } /* Operator */ + .mw-highlight .x { + color: @text; + } /* Other */ + .mw-highlight .p { + color: @overlay2; + } /* Punctuation */ + .mw-highlight .ch { + color: @overlay0; + } /* Comment.Hashbang */ + .mw-highlight .cm { + color: @overlay0; + } /* Comment.Multiline */ + .mw-highlight .cp { + color: @pink; + } /* Comment.Preproc */ + .mw-highlight .cpf { + color: @overlay0; + } /* Comment.PreprocFile */ + .mw-highlight .c1 { + color: @overlay0; + } /* Comment.Single */ + .mw-highlight .cs { + color: @overlay0; + } /* Comment.Special */ + .mw-highlight .gd { + color: @red; + } /* Generic.Deleted */ + .mw-highlight .ge { + color: @text; + text-decoration: underline; + } /* Generic.Emph */ + .mw-highlight .ges { + color: @text; + } /* Generic.EmphStrong */ + .mw-highlight .gr { + color: @text; + } /* Generic.Error */ + .mw-highlight .gh { + color: @text; + font-weight: bold; + } /* Generic.Heading */ + .mw-highlight .gi { + color: @text; + font-weight: bold; + } /* Generic.Inserted */ + .mw-highlight .go { + color: @overlay0; + } /* Generic.Output */ + .mw-highlight .gp { + color: @text; + } /* Generic.Prompt */ + .mw-highlight .gs { + color: @text; + } /* Generic.Strong */ + .mw-highlight .gu { + color: @text; + font-weight: bold; + } /* Generic.Subheading */ + .mw-highlight .gt { + color: @text; + } /* Generic.Traceback */ + .mw-highlight .kc { + color: @pink; + } /* Keyword.Constant */ + .mw-highlight .kd { + color: @teal; + font-style: italic; + } /* Keyword.Declaration */ + .mw-highlight .kn { + color: @mauve; + } /* Keyword.Namespace */ + .mw-highlight .kp { + color: @pink; + } /* Keyword.Pseudo */ + .mw-highlight .kr { + color: @pink; + } /* Keyword.Reserved */ + .mw-highlight .kt { + color: @teal; + } /* Keyword.Type */ + .mw-highlight .ld { + color: @text; + } /* Literal.Date */ + .mw-highlight .m { + color: @peach; + } /* Literal.Number */ + .mw-highlight .s { + color: @green; + } /* Literal.String */ + .mw-highlight .na { + color: @green; + } /* Name.Attribute */ + .mw-highlight .nb { + color: @peach; + font-style: italic; + } /* Name.Builtin */ + .mw-highlight .nc { + color: @yellow; + } /* Name.Class */ + .mw-highlight .no { + color: @text; + } /* Name.Constant */ + .mw-highlight .nd { + color: @text; + } /* Name.Decorator */ + .mw-highlight .ni { + color: @text; + } /* Name.Entity */ + .mw-highlight .ne { + color: @text; + } /* Name.Exception */ + .mw-highlight .nf { + color: @sapphire; + } /* Name.Function */ + .mw-highlight .nl { + color: @teal; + font-style: italic; + } /* Name.Label */ + .mw-highlight .nn { + color: @text; + } /* Name.Namespace */ + .mw-highlight .nx { + color: @text; + } /* Name.Other */ + .mw-highlight .py { + color: @text; + } /* Name.Property */ + .mw-highlight .nt { + color: @pink; + } /* Name.Tag */ + .mw-highlight .nv { + color: @text; + font-style: italic; + } /* Name.Variable */ + .mw-highlight .ow { + color: @mauve; + } /* Operator.Word */ + .mw-highlight .pm { + color: @overlay2; + } /* Punctuation.Marker */ + .mw-highlight .w { + color: @text; + } /* Text.Whitespace */ + .mw-highlight .mb { + color: @peach; + } /* Literal.Number.Bin */ + .mw-highlight .mf { + color: @peach; + } /* Literal.Number.Float */ + .mw-highlight .mh { + color: @peach; + } /* Literal.Number.Hex */ + .mw-highlight .mi { + color: @peach; + } /* Literal.Number.Integer */ + .mw-highlight .mo { + color: @peach; + } /* Literal.Number.Oct */ + .mw-highlight .sa { + color: @green; + } /* Literal.String.Affix */ + .mw-highlight .sb { + color: @green; + } /* Literal.String.Backtick */ + .mw-highlight .sc { + color: @green; + } /* Literal.String.Char */ + .mw-highlight .dl { + color: @green; + } /* Literal.String.Delimiter */ + .mw-highlight .sd { + color: @green; + } /* Literal.String.Doc */ + .mw-highlight .s2 { + color: @green; + } /* Literal.String.Double */ + .mw-highlight .se { + color: @green; + } /* Literal.String.Escape */ + .mw-highlight .sh { + color: @green; + } /* Literal.String.Heredoc */ + .mw-highlight .si { + color: @green; + } /* Literal.String.Interpol */ + .mw-highlight .sx { + color: @green; + } /* Literal.String.Other */ + .mw-highlight .sr { + color: @green; + } /* Literal.String.Regex */ + .mw-highlight .s1 { + color: @green; + } /* Literal.String.Single */ + .mw-highlight .ss { + color: @green; + } /* Literal.String.Symbol */ + .mw-highlight .bp { + color: @red; + font-style: italic; + } /* Name.Builtin.Pseudo */ + .mw-highlight .fm { + color: @sapphire; + } /* Name.Function.Magic */ + .mw-highlight .vc { + color: @yellow; + font-style: italic; + } /* Name.Variable.Class */ + .mw-highlight .vg { + color: @text; + font-style: italic; + } /* Name.Variable.Global */ + .mw-highlight .vi { + color: @text; + font-style: italic; + } /* Name.Variable.Instance */ + .mw-highlight .vm { + color: @text; + font-style: italic; + } /* Name.Variable.Magic */ + .mw-highlight .il { + color: @peach; + } /* Literal.Number.Integer.Long */ + .mw-highlight .linenos { + color: @overlay0; + } /* Line numbers */ + .mbox-text { color: @text !important; }