|
| 1 | +.md-header__title { |
| 2 | + display: flex; |
| 3 | +} |
| 4 | + |
| 5 | +.dropdown-caret { |
| 6 | + display: inline-block !important; |
| 7 | + position: absolute; |
| 8 | + right: 4px; |
| 9 | +} |
| 10 | + |
| 11 | +.fa .fa-caret-down { |
| 12 | + display: none !important; |
| 13 | +} |
| 14 | + |
| 15 | +.rst-other-versions { |
| 16 | + text-align: left; |
| 17 | +} |
| 18 | + |
| 19 | +.rst-other-versions > dl, .rst-other-versions dt, .rst-other-versions small { |
| 20 | + display: none; |
| 21 | +} |
| 22 | + |
| 23 | +.rst-other-versions > dl:first-child { |
| 24 | + display: flex !important; |
| 25 | + flex-direction: column; |
| 26 | + line-height: 0px !important; |
| 27 | +} |
| 28 | + |
| 29 | +.rst-versions.shift-up .rst-other-versions { |
| 30 | + display: flex !important; |
| 31 | +} |
| 32 | + |
| 33 | +.rst-versions .rst-other-versions { |
| 34 | + display: none; |
| 35 | +} |
| 36 | + |
| 37 | +/* Version Warning */ |
| 38 | +div[data-md-component=announce] { |
| 39 | + background-color: rgb(248, 243, 236); |
| 40 | + position: sticky; |
| 41 | + top: 0; |
| 42 | + z-index: 2; |
| 43 | +} |
| 44 | +div[data-md-component=announce]>div#announce-msg{ |
| 45 | + color:green; |
| 46 | + font-size: .8rem; |
| 47 | + text-align: center; |
| 48 | + margin: 15px; |
| 49 | +} |
| 50 | +div[data-md-component=announce]>div#announce-msg>a{ |
| 51 | + color: var(--md-typeset-a-color); |
| 52 | + text-decoration: underline; |
| 53 | +} |
| 54 | + |
| 55 | +/* from https://assets.readthedocs.org/static/css/badge_only.css, |
| 56 | +most styles have to be overriden here */ |
| 57 | +.rst-versions{ |
| 58 | + position: relative !important; |
| 59 | + bottom: 0; |
| 60 | + left: 0; |
| 61 | + width: 100px !important; |
| 62 | + /* background: hsla(173, 100%, 24%, 1) !important; */ |
| 63 | + background: #4051b5 !important; |
| 64 | + font-family: inherit !important; |
| 65 | + z-index: 0 !important; |
| 66 | +} |
| 67 | +.rst-versions a{ |
| 68 | + color:#2980B9; |
| 69 | + text-decoration:none |
| 70 | +} |
| 71 | +.rst-versions .rst-badge-small{ |
| 72 | + display:none |
| 73 | +} |
| 74 | +.rst-versions .rst-current-version{ |
| 75 | + padding:12px; |
| 76 | + /* background: hsla(173, 100%, 24%, 1) !important; */ |
| 77 | + background: #4051b5 !important; |
| 78 | + display:block; |
| 79 | + text-align:right; |
| 80 | + font-size:90%; |
| 81 | + cursor:pointer; |
| 82 | + color: white !important; |
| 83 | + *zoom:1 |
| 84 | +} |
| 85 | +.rst-versions .rst-current-version:before,.rst-versions .rst-current-version:after{ |
| 86 | + display:table;content:"" |
| 87 | +} |
| 88 | +.rst-versions .rst-current-version:after{ |
| 89 | + clear:both |
| 90 | +} |
| 91 | +.rst-versions .rst-current-version .fa{ |
| 92 | + color:#fcfcfc |
| 93 | +} |
| 94 | +.rst-versions .rst-current-version .fa-caret-down{ |
| 95 | + display: none; |
| 96 | +} |
| 97 | +.rst-versions.shift-up .rst-other-versions{ |
| 98 | + display:block |
| 99 | +} |
| 100 | +.rst-versions .rst-other-versions{ |
| 101 | + font-size:90%; |
| 102 | + padding-left:12px; |
| 103 | + padding-right:12px; |
| 104 | + padding-top:0px; |
| 105 | + padding-bottom:0px; |
| 106 | + color:gray; |
| 107 | + display:none |
| 108 | +} |
| 109 | +.rst-versions .rst-other-versions hr{ |
| 110 | + display: none !important; |
| 111 | + height: 0px !important; |
| 112 | + border: 0px; |
| 113 | + margin: 0px !important; |
| 114 | + padding: 0px; |
| 115 | + border-top: none !important; |
| 116 | +} |
| 117 | +.rst-versions .rst-other-versions dd{ |
| 118 | + display:inline-block; |
| 119 | + margin:0 |
| 120 | +} |
| 121 | +.rst-versions .rst-other-versions dd a{ |
| 122 | + display:inline-block; |
| 123 | + padding: 1em 0em !important; |
| 124 | + color:#fcfcfc; |
| 125 | + font-size: .6rem !important; |
| 126 | + white-space: nowrap; |
| 127 | + text-overflow: ellipsis; |
| 128 | + overflow: hidden; |
| 129 | + width: 80px; |
| 130 | +} |
| 131 | +.rst-versions .rst-other-versions dd a:hover{ |
| 132 | + font-size: .7rem !important; |
| 133 | + font-weight: bold; |
| 134 | +} |
| 135 | +.rst-versions.rst-badge{ |
| 136 | + display: block !important; |
| 137 | + width: 100px !important; |
| 138 | + bottom: 0px !important; |
| 139 | + right: 0px !important; |
| 140 | + left:auto; |
| 141 | + border:none; |
| 142 | + text-align: center !important; |
| 143 | + line-height: 0; |
| 144 | +} |
| 145 | +.rst-versions.rst-badge .icon-book{ |
| 146 | + display: none; |
| 147 | +} |
| 148 | +.rst-versions.rst-badge .fa-book{ |
| 149 | + display: none !important; |
| 150 | +} |
| 151 | +.rst-versions.rst-badge.shift-up .rst-current-version{ |
| 152 | + text-align: left !important; |
| 153 | +} |
| 154 | +.rst-versions.rst-badge.shift-up .rst-current-version .fa-book{ |
| 155 | + display: none !important; |
| 156 | +} |
| 157 | +.rst-versions.rst-badge.shift-up .rst-current-version .icon-book{ |
| 158 | + display: none !important; |
| 159 | +} |
| 160 | +.rst-versions.rst-badge .rst-current-version{ |
| 161 | + width: 70px !important; |
| 162 | + height: 2.4rem !important; |
| 163 | + line-height:2.4rem !important; |
| 164 | + padding: 0px 5px !important; |
| 165 | + display: inline-block !important; |
| 166 | + font-size: .6rem !important; |
| 167 | + overflow: hidden !important; |
| 168 | + text-overflow: ellipsis !important; |
| 169 | + white-space: nowrap !important; |
| 170 | + text-align: left !important; |
| 171 | +} |
| 172 | +@media screen and (max-width: 768px){ |
| 173 | + .rst-versions{ |
| 174 | + width:85%; |
| 175 | + display:none |
| 176 | + } |
| 177 | + .rst-versions.shift{ |
| 178 | + display:block |
| 179 | + } |
| 180 | +} |
0 commit comments