|
| 1 | +/************************************************************************/ |
| 2 | +/* * The Rocq Prover / The Rocq Development Team */ |
| 3 | +/* v * Copyright INRIA, CNRS and contributors */ |
| 4 | +/* <O___,, * (see version control and CREDITS file for authors & dates) */ |
| 5 | +/* \VV/ **************************************************************/ |
| 6 | +/* // * This file is distributed under the terms of the */ |
| 7 | +/* * GNU Lesser General Public License Version 2.1 */ |
| 8 | +/* * (see LICENSE file for the text of the license) */ |
| 9 | +/************************************************************************/ |
| 10 | +/* Taken from CoqDoc's default stylesheet */ |
| 11 | + |
| 12 | +.coqdoc-constructor { |
| 13 | + color: rgb(60%,0%,0%); |
| 14 | +} |
| 15 | + |
| 16 | +.coqdoc-var { |
| 17 | + color: rgb(40%,0%,40%); |
| 18 | +} |
| 19 | + |
| 20 | +.coqdoc-variable { |
| 21 | + color: rgb(40%,0%,40%); |
| 22 | +} |
| 23 | + |
| 24 | +.coqdoc-definition { |
| 25 | + color: rgb(0%,40%,0%); |
| 26 | +} |
| 27 | + |
| 28 | +.coqdoc-abbreviation { |
| 29 | + color: rgb(0%,40%,0%); |
| 30 | +} |
| 31 | + |
| 32 | +.coqdoc-lemma { |
| 33 | + color: rgb(0%,40%,0%); |
| 34 | +} |
| 35 | + |
| 36 | +.coqdoc-instance { |
| 37 | + color: rgb(0%,40%,0%); |
| 38 | +} |
| 39 | + |
| 40 | +.coqdoc-projection { |
| 41 | + color: rgb(0%,40%,0%); |
| 42 | +} |
| 43 | + |
| 44 | +.coqdoc-method { |
| 45 | + color: rgb(0%,40%,0%); |
| 46 | +} |
| 47 | + |
| 48 | +.coqdoc-inductive { |
| 49 | + color: rgb(0%,0%,80%); |
| 50 | +} |
| 51 | + |
| 52 | +.coqdoc-record { |
| 53 | + color: rgb(0%,0%,80%); |
| 54 | +} |
| 55 | + |
| 56 | +.coqdoc-class { |
| 57 | + color: rgb(0%,0%,80%); |
| 58 | +} |
| 59 | + |
| 60 | +.coqdoc-keyword { |
| 61 | + color : #cf1d1d; |
| 62 | +} |
| 63 | + |
| 64 | +/* Custom additions */ |
| 65 | + |
| 66 | +.coqdoc-tactic { |
| 67 | + font-weight: bold; |
| 68 | +} |
| 69 | + |
| 70 | +.smallcaps { |
| 71 | + font-variant: small-caps; |
| 72 | +} |
| 73 | + |
| 74 | + |
| 75 | +:root { |
| 76 | + --refman-custom-primary-blue: #260086; |
| 77 | + --refman-custom-primary-blue-2: #040b92; |
| 78 | + --refman-custom-secondary-orange: #ff540a; |
| 79 | + --refman-custom-secondary-orange-2: #ffe9df; |
| 80 | +} |
| 81 | + |
| 82 | +.btn-info:hover, a:hover, a.wy-text-info:hover { |
| 83 | + color: var(--refman-custom-primary-blue-2) !important |
| 84 | +} |
| 85 | + |
| 86 | +.wy-menu-vertical header, .wy-menu-vertical p.caption, .rst-content .wy-alert-neutral.admonition-todo a, .rst-content .wy-alert-neutral.admonition a, .rst-content .wy-alert-neutral.attention a, .rst-content .wy-alert-neutral.caution a, .rst-content .wy-alert-neutral.danger a, .rst-content .wy-alert-neutral.error a, .rst-content .wy-alert-neutral.hint a, .rst-content .wy-alert-neutral.important a, .rst-content .wy-alert-neutral.note a, .rst-content .wy-alert-neutral.seealso a, .rst-content .wy-alert-neutral.tip a, .rst-content .wy-alert-neutral.warning a, .wy-alert.wy-alert-neutral a, a, .wy-text-info, .btn-link, .wy-inline-validate.wy-inline-validate-info .wy-input-context, .wy-nav .wy-menu-vertical header, .rst-versions a, .rst-content a code, .rst-content a tt, html.writer-html4 .rst-content dl:not(.docutils)>dt, html.writer-html5 .rst-content dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.glossary):not(.simple)>dt, html.writer-html4 .rst-content dl:not(.docutils)>dt:before, html.writer-html5 .rst-content dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.glossary):not(.simple)>dt:before { |
| 87 | + color: var(--refman-custom-primary-blue) !important |
| 88 | +} |
| 89 | + |
| 90 | +.rst-content .note .admonition-title,.rst-content .note .wy-alert-title,.rst-content .seealso .admonition-title,.rst-content .seealso .wy-alert-title,.rst-content .wy-alert-info.admonition-todo .admonition-title,.rst-content .wy-alert-info.admonition-todo .wy-alert-title,.rst-content .wy-alert-info.admonition .admonition-title,.rst-content .wy-alert-info.admonition .wy-alert-title,.rst-content .wy-alert-info.attention .admonition-title,.rst-content .wy-alert-info.attention .wy-alert-title,.rst-content .wy-alert-info.caution .admonition-title,.rst-content .wy-alert-info.caution .wy-alert-title,.rst-content .wy-alert-info.danger .admonition-title,.rst-content .wy-alert-info.danger .wy-alert-title,.rst-content .wy-alert-info.error .admonition-title,.rst-content .wy-alert-info.error .wy-alert-title,.rst-content .wy-alert-info.hint .admonition-title,.rst-content .wy-alert-info.hint .wy-alert-title,.rst-content .wy-alert-info.important .admonition-title,.rst-content .wy-alert-info.important .wy-alert-title,.rst-content .wy-alert-info.tip .admonition-title,.rst-content .wy-alert-info.tip .wy-alert-title,.rst-content .wy-alert-info.warning .admonition-title,.rst-content .wy-alert-info.warning .wy-alert-title,.rst-content .wy-alert.wy-alert-info .admonition-title,.wy-alert.wy-alert-info .rst-content .admonition-title,.wy-alert.wy-alert-info .wy-alert-title { |
| 91 | + background: var(--refman-custom-primary-blue) !important |
| 92 | +} |
| 93 | + |
| 94 | +html.writer-html4 .rst-content dl:not(.docutils)>dt,html.writer-html5 .rst-content dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.glossary):not(.simple)>dt { |
| 95 | + background: var(--refman-custom-secondary-orange-2) !important; |
| 96 | + color: var(--refman-custom-primary-blue) !important; |
| 97 | + border-top: 3px solid var(--refman-custom-secondary-orange) !important; |
| 98 | +} |
| 99 | + |
| 100 | +.wy-tray-container li.wy-tray-item-info, .btn-info, .wy-menu-vertical a:active, .wy-side-nav-search, .wy-dropdown-menu>dd>a:hover, .wy-dropdown.wy-dropdown-bubble .wy-dropdown-menu a:hover, .wy-side-nav-search img, .wy-nav .wy-menu-vertical a:hover, .wy-nav-top, .wy-nav-top img { |
| 101 | + background-color: var(--refman-custom-secondary-orange) !important |
| 102 | +} |
| 103 | + |
| 104 | +.wy-side-nav-search input[type=text] { |
| 105 | + border-color: var(--refman-custom-primary-blue-2) !important |
| 106 | +} |
| 107 | + |
| 108 | +.rst-versions, .wy-nav-side { |
| 109 | + background: #dedede !important; |
| 110 | +} |
| 111 | + |
| 112 | +.wy-side-nav-search>div.version { |
| 113 | + color: #dedede !important; |
| 114 | +} |
| 115 | + |
| 116 | +.wy-menu-vertical a:hover { |
| 117 | + background-color: #494949 !important; |
| 118 | + color: #dedede !important; |
| 119 | +} |
0 commit comments