|
| 1 | +/* CSS for slidemenu |
| 2 | + * Copyright © 2016, Chris Warrick. All rights reserved. |
| 3 | + * License: 3-clause BSD |
| 4 | + */ |
| 5 | + |
| 6 | +/* Color preferences */ |
| 7 | +#header, nav#menu li.active a, nav#menu li a:hover, #menu-toggle, |
| 8 | +button.form-control, a.btn { |
| 9 | + background: #5670d4; |
| 10 | +} |
| 11 | + |
| 12 | +.entry-title, .entry-title a { |
| 13 | + color: #5670d4; |
| 14 | +} |
| 15 | + |
| 16 | +nav#menu li.group, ul.pager li a, input.form-control { |
| 17 | + border: 1px solid #5670d4; |
| 18 | +} |
| 19 | + |
| 20 | +nav#menu, nav#menu li a, #menu-toggle.active { |
| 21 | + background: #ccf; |
| 22 | +} |
| 23 | + |
| 24 | +#menu-toggle:focus, #menu-toggle:active { |
| 25 | + outline: none; |
| 26 | + color: #ccf; |
| 27 | +} |
| 28 | + |
| 29 | +#menu-toggle.active:focus, #menu-toggle.active:active { |
| 30 | + color: #00c; |
| 31 | +} |
| 32 | +/* End of color preferences */ |
| 33 | + |
| 34 | +/* Display CSS */ |
| 35 | +body { |
| 36 | + font-size: 11pt; |
| 37 | + margin: 0 auto; |
| 38 | + padding: 0; |
| 39 | +} |
| 40 | + |
| 41 | +body, #menu-toggle, input.form-control, button.form-control, a.btn { |
| 42 | + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; |
| 43 | +} |
| 44 | + |
| 45 | +#container { |
| 46 | + max-width: 1200px; |
| 47 | + margin-top: 0; |
| 48 | +} |
| 49 | + |
| 50 | +@media (max-width: 840px) { |
| 51 | + body { |
| 52 | + margin-left: 20px; |
| 53 | + margin-right: 20px; |
| 54 | + } |
| 55 | +} |
| 56 | + |
| 57 | +@media (min-width: 841px) and (max-width: 999px) { |
| 58 | + #container { |
| 59 | + max-width: 800px; |
| 60 | + } |
| 61 | +} |
| 62 | + |
| 63 | +@media (min-width: 1000px) and (max-width: 1400px) { |
| 64 | + #container { |
| 65 | + max-width: 960px; |
| 66 | + } |
| 67 | +} |
| 68 | + |
| 69 | +#header { |
| 70 | + margin-top: 0; |
| 71 | + text-align: center; |
| 72 | + min-height: 100px; |
| 73 | + border-bottom-left-radius: 30px; |
| 74 | + border-bottom-right-radius: 30px; |
| 75 | + box-shadow: #000 0px 0px 20px; |
| 76 | +} |
| 77 | + |
| 78 | +#header #brand { |
| 79 | + margin: 0; |
| 80 | + padding: 0; |
| 81 | +} |
| 82 | + |
| 83 | +#header #brand a { |
| 84 | + color: white; |
| 85 | + line-height: 100px; |
| 86 | + font-size: 60px; |
| 87 | + text-decoration: none; |
| 88 | +} |
| 89 | + |
| 90 | +#footer { |
| 91 | + text-align: center; |
| 92 | + color: #555; |
| 93 | +} |
| 94 | + |
| 95 | +table { |
| 96 | + margin: 0 auto; |
| 97 | + width: 95%; |
| 98 | + table-layout: fixed; |
| 99 | + border-spacing: 0; |
| 100 | + border-collapse: collapse; |
| 101 | +} |
| 102 | + |
| 103 | +.table td, .table th { |
| 104 | + border: 1px solid #000; |
| 105 | +} |
| 106 | + |
| 107 | +.table th { |
| 108 | + font-weight: bold; |
| 109 | +} |
| 110 | + |
| 111 | +nav#menu { |
| 112 | + width: 300px; |
| 113 | + height: 100%; |
| 114 | + margin: 0; |
| 115 | + transition: all 1s ease; |
| 116 | + position: fixed; |
| 117 | + left: 0px; |
| 118 | + top: 0px; |
| 119 | + overflow: auto; |
| 120 | + box-shadow: #000 3px 3px 5px; |
| 121 | +} |
| 122 | + |
| 123 | +nav#menu ul { |
| 124 | + list-style: none; |
| 125 | + padding: 0; |
| 126 | + margin: 0; |
| 127 | +} |
| 128 | + |
| 129 | +nav#menu ul li { |
| 130 | + display: block; |
| 131 | + margin-right: 0; |
| 132 | + border-radius: 20px; |
| 133 | +} |
| 134 | + |
| 135 | +nav#menu li a { |
| 136 | + margin: 0; |
| 137 | + width: 100%; |
| 138 | + text-decoration: none; |
| 139 | + display: block; |
| 140 | + height: 40px; |
| 141 | + line-height: 40px; |
| 142 | + border-radius: 20px; |
| 143 | + transition: all 0.3s ease; |
| 144 | +} |
| 145 | + |
| 146 | +nav#menu li a { |
| 147 | + color: #000; |
| 148 | +} |
| 149 | + |
| 150 | +nav#menu li.active a { |
| 151 | + color: white; |
| 152 | +} |
| 153 | + |
| 154 | +nav#menu li a:hover { |
| 155 | + color: white; |
| 156 | +} |
| 157 | + |
| 158 | +nav#menu li .group-header { |
| 159 | + height: 40px; |
| 160 | + font-weight: bold; |
| 161 | + text-transform: uppercase; |
| 162 | +} |
| 163 | + |
| 164 | +nav#menu li.group { |
| 165 | + margin: 10px 0; |
| 166 | +} |
| 167 | + |
| 168 | +nav#menu.hide { |
| 169 | + left: -300px; |
| 170 | + box-shadow: none; |
| 171 | +} |
| 172 | + |
| 173 | +#menu-toggle { |
| 174 | + margin: 0; |
| 175 | + height: 40px; |
| 176 | + width: 100px; |
| 177 | + text-align: center; |
| 178 | + border: 0; |
| 179 | + color: white; |
| 180 | + border-bottom-right-radius: 20px; |
| 181 | + font-size: 20px; |
| 182 | + line-height: 30px; |
| 183 | + position: fixed; |
| 184 | + top: 0px; |
| 185 | + left: 0px; |
| 186 | + transition: all 1s ease; |
| 187 | + box-shadow: #000 3px 3px 5px; |
| 188 | + z-index: 2; |
| 189 | +} |
| 190 | + |
| 191 | +#menu-toggle.active { |
| 192 | + color: #000; |
| 193 | + left: 300px; |
| 194 | +} |
| 195 | + |
| 196 | +.entry-title, .entry-title a { |
| 197 | + text-align: center; |
| 198 | + text-decoration: none; |
| 199 | + font-size: 20pt; |
| 200 | +} |
| 201 | + |
| 202 | +ul.pager { |
| 203 | + display: block; |
| 204 | + list-style: none; |
| 205 | + padding: 0; |
| 206 | + text-align: center; |
| 207 | +} |
| 208 | + |
| 209 | +ul.pager li { |
| 210 | + display: inline; |
| 211 | + margin: 0 15px; |
| 212 | +} |
| 213 | + |
| 214 | +ul.pager li a { |
| 215 | + display: inline-block; |
| 216 | + border-radius: 12.5px; |
| 217 | + height: 25px; |
| 218 | + line-height: 25px; |
| 219 | + text-decoration: none; |
| 220 | + color: #000; |
| 221 | + padding: 0 10px; |
| 222 | + text-align: center; |
| 223 | +} |
| 224 | + |
| 225 | +ul.pager .previous a:before { |
| 226 | + content: "« "; |
| 227 | +} |
| 228 | + |
| 229 | +ul.pager .next a:after { |
| 230 | + content: " »"; |
| 231 | +} |
| 232 | + |
| 233 | +/* reset from base theme */ |
| 234 | +.postindexpager .pager .next:before, |
| 235 | +.postindexpager .pager .previous:before, |
| 236 | +.postpromonav .pager .next:after, |
| 237 | +.postpromonav .pager .previous:before { |
| 238 | + content: ""; |
| 239 | +} |
| 240 | + |
| 241 | +.lead { |
| 242 | + font-size: 1.3em; |
| 243 | +} |
| 244 | + |
| 245 | +input.form-control { |
| 246 | + font-size: 15px; |
| 247 | + line-height: 30px; |
| 248 | + margin-right: 10px; |
| 249 | + border-radius: 15px; |
| 250 | + padding: 5px; |
| 251 | + height: 20px; |
| 252 | +} |
| 253 | + |
| 254 | +button.form-control, a.btn { |
| 255 | + border: 0; |
| 256 | + border-radius: 15px; |
| 257 | + height: 30px; |
| 258 | + color: white; |
| 259 | + display: inline-block; |
| 260 | + padding: 0 10px; |
| 261 | + font-size: 15px; |
| 262 | + line-height: 30px; |
| 263 | +} |
| 264 | + |
| 265 | +button.form-control:hover, a.btn:hover { |
| 266 | + color: #ddd; |
| 267 | +} |
| 268 | + |
| 269 | +pre.code { |
| 270 | + border: 1px solid #888; |
| 271 | + border-radius: 4px; |
| 272 | + padding: 15px; |
| 273 | +} |
| 274 | + |
| 275 | +div.admonition, div.attention, div.caution, div.danger, div.error, div.hint, div.important, div.note, div.tip, div.warning, div.sidebar { |
| 276 | + border: 1px solid #888; |
| 277 | +} |
| 278 | + |
| 279 | +div.admonition p.admonition-title, div.hint p.admonition-title, div.important p.admonition-title, div.note p.admonition-title, div.tip p.admonition-title, div.sidebar p.sidebar-title, div.attention p.admonition-title, div.caution p.admonition-title, div.danger p.admonition-title, div.error p.admonition-title, div.warning p.admonition-title { |
| 280 | + border-bottom: 1px solid #888; |
| 281 | +} |
0 commit comments