diff --git a/doc_src/python_docs_theme/static/pydoctheme.css b/doc_src/python_docs_theme/static/pydoctheme.css index f25684ed2..12ac5d161 100644 --- a/doc_src/python_docs_theme/static/pydoctheme.css +++ b/doc_src/python_docs_theme/static/pydoctheme.css @@ -321,22 +321,22 @@ dl > dt span ~ em { .sphinxsidebar ul.current > li.current { font-weight: bold } -.gray { color: #555555 } -.purple { color: #551a8b } -.red { color: #FF0000 } +.gray { color: #777 } +.purple { color: #551a8b; font-weight: bold; } +.red { color: #FF0000; } /* Color based on the Name.Function (.nf) class from pygments.css. */ .command { color: #005fd7 } /* Color based on the Name.Constant (.no) class from pygments.css. */ -.param { color: #00afff } +.param { color: #00bfff } /* Color based on the Name.Constant (.no) class from pygments.css. */ /* Used for underlining file paths in interactive code examples. */ .param-valid-path { color: #00afff; text-decoration: underline } /* Color based on the Generic.Prompt (.gp) class from pygments.css. */ -.prompt { color: #8f5902 } +.prompt { color: #8f7902 } kbd { background-color: #f9f9f9; @@ -388,7 +388,7 @@ kbd { } div.sphinxsidebar h3 a, div.related a, div.sphinxsidebar h3 { - color: #AAA; + color: #BBB; } .highlight { background: #000; @@ -408,12 +408,9 @@ kbd { } input { background-color: #222; - color: #AAA; + color: #BBB; } - div.body a { - color: #2092da; - } dt:target, span.highlighted { background-color: #404060; } @@ -424,4 +421,13 @@ kbd { table.docutils td, table.docutils th { border: 1px solid #222 !important; } + div.body a { + color: #2092fa; + } + div.footer a { + color: #BBB; + } + + /* Color based on the Name.Function (.nf) class from pygments.css. */ + .command { color: #008fd7 } } diff --git a/doc_src/python_docs_theme/static/pygments.css b/doc_src/python_docs_theme/static/pygments.css index 1a917d2b4..fba518fad 100644 --- a/doc_src/python_docs_theme/static/pygments.css +++ b/doc_src/python_docs_theme/static/pygments.css @@ -1,21 +1,21 @@ .highlight .hll { background-color: #ffffcc } .highlight { background: #f8f8f8; } -.highlight .c { color: #8f5902; } /* Comment */ .highlight .err { color: #a40000; border: 1px solid #ef2929 } /* Error */ .highlight .k { color: #204a87; font-weight: bold } /* Keyword */ .highlight .o { color: #00a6b2; } /* Operator */ -.highlight .p { color: #00afff; } /* Punctuation */ -.highlight .ch { color: #8f5902; font-style: italic } /* Comment.Hashbang */ -.highlight .cm { color: #8f5902; font-style: italic } /* Comment.Multiline */ -.highlight .cp { color: #8f5902; font-style: italic } /* Comment.Preproc */ -.highlight .cpf { color: #8f5902; font-style: italic } /* Comment.PreprocFile */ -.highlight .c1 { color: #8f5902; font-style: italic } /* Comment.Single */ -.highlight .cs { color: #8f5902; font-style: italic } /* Comment.Special */ +.highlight .p { color: #00bfff; } /* Punctuation */ +.highlight .c { color: #8f7902; } /* Comment */ +.highlight .ch { color: #8f7902; font-style: italic } /* Comment.Hashbang */ +.highlight .cm { color: #8f7902; font-style: italic } /* Comment.Multiline */ +.highlight .cp { color: #8f7902; font-style: italic } /* Comment.Preproc */ +.highlight .cpf { color: #8f7902; font-style: italic } /* Comment.PreprocFile */ +.highlight .c1 { color: #8f7902; font-style: italic } /* Comment.Single */ +.highlight .cs { color: #8f7902; font-style: italic } /* Comment.Special */ .highlight .gd { color: #a40000 } /* Generic.Deleted */ .highlight .gr { color: #ef2929 } /* Generic.Error */ .highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */ .highlight .gi { color: #00A000 } /* Generic.Inserted */ -.highlight .gp { color: #8f5902 } /* Generic.Prompt */ +.highlight .gp { color: #8f7902 } /* Generic.Prompt */ .highlight .gu { color: #800080; font-weight: bold } /* Generic.Subheading */ .highlight .gt { color: #a40000; font-weight: bold } /* Generic.Traceback */ .highlight .kc { color: #204a87; font-weight: bold } /* Keyword.Constant */ @@ -28,7 +28,7 @@ .highlight .s { color: #4e9a06 } /* Literal.String */ .highlight .na { color: #c4a000 } /* Name.Attribute */ .highlight .nb { color: #204a87 } /* Name.Builtin */ -.highlight .no { color: #00afff } /* Name.Constant */ +.highlight .no { color: #00bfff } /* Name.Constant */ .highlight .nd { color: #5c35cc; font-weight: bold } /* Name.Decorator */ .highlight .ni { color: #ce5c00 } /* Name.Entity */ .highlight .ne { color: #cc0000; font-weight: bold } /* Name.Exception */ @@ -46,7 +46,7 @@ .highlight .sb { color: #4e9a06 } /* Literal.String.Backtick */ .highlight .sc { color: #4e9a06 } /* Literal.String.Char */ .highlight .dl { color: #4e9a06 } /* Literal.String.Delimiter */ -.highlight .sd { color: #8f5902; font-style: italic } /* Literal.String.Doc */ +.highlight .sd { color: #8f7902; font-style: italic } /* Literal.String.Doc */ .highlight .s2 { color: #999900 } /* Literal.String.Double */ .highlight .se { color: #00a6b2 } /* Literal.String.Escape */ .highlight .sh { color: #4e9a06 } /* Literal.String.Heredoc */ @@ -66,6 +66,11 @@ :root { --contrast: #FFFFFF; } + .highlight .k { color: #507a97; font-weight: bold } /* Keyword */ + .highlight .nf { color: #009fe7 } /* Name.Function */ + .highlight .c { color: #8fb902; } /* Comment */ + .highlight .nf { color: #008fd7 } /* Name.Function */ + .highlight .nb { color: #209a87 } /* Name.Builtin */ } .highlight .g { color: var(--contrast) } /* Generic */ .highlight .l { color: var(--contrast) } /* Literal */