diff options
Diffstat (limited to 'assets/css/custom.css')
| -rw-r--r-- | assets/css/custom.css | 506 |
1 files changed, 506 insertions, 0 deletions
diff --git a/assets/css/custom.css b/assets/css/custom.css new file mode 100644 index 0000000..396235f --- /dev/null +++ b/assets/css/custom.css | |||
| @@ -0,0 +1,506 @@ | |||
| 1 | /* Place custom css here */ | ||
| 2 | body { | ||
| 3 | font-family: "Inter", sans-serif !important; | ||
| 4 | } | ||
| 5 | |||
| 6 | .main a:not(.social-icons a):not(.breadcrumbs a) { | ||
| 7 | color: #dd9a19; | ||
| 8 | } | ||
| 9 | |||
| 10 | h1, | ||
| 11 | h2, | ||
| 12 | h3, | ||
| 13 | h4, | ||
| 14 | h5, | ||
| 15 | h6 { | ||
| 16 | line-height: 1.15em; | ||
| 17 | font-weight: bold; | ||
| 18 | transition: color 0.3s ease; | ||
| 19 | } | ||
| 20 | |||
| 21 | .header { | ||
| 22 | font-size: 2em; | ||
| 23 | line-height: 1em; | ||
| 24 | margin-top: 0.25em; | ||
| 25 | padding-top: 0px; | ||
| 26 | } | ||
| 27 | |||
| 28 | .dark h1 { | ||
| 29 | color: #f37b84; | ||
| 30 | font-size: 2em; | ||
| 31 | } | ||
| 32 | |||
| 33 | .dark h1:hover { | ||
| 34 | color: #f78b9c; | ||
| 35 | } | ||
| 36 | |||
| 37 | .dark h2 { | ||
| 38 | color: #ffd98c; | ||
| 39 | font-size: 1.5em; | ||
| 40 | } | ||
| 41 | h2:hover { | ||
| 42 | color: #f7c47d; | ||
| 43 | } | ||
| 44 | |||
| 45 | .dark h3 { | ||
| 46 | color: #7fe8c7; | ||
| 47 | font-size: 1.25em; | ||
| 48 | } | ||
| 49 | |||
| 50 | h3:hover { | ||
| 51 | color: #a0f0d4; | ||
| 52 | } | ||
| 53 | |||
| 54 | .dark h4 { | ||
| 55 | color: #a5c38b; | ||
| 56 | font-size: 1.125em; | ||
| 57 | margin-bottom: 0pt; | ||
| 58 | } | ||
| 59 | |||
| 60 | h4:hover { | ||
| 61 | color: #bed9a9; | ||
| 62 | } | ||
| 63 | |||
| 64 | .dark h5 { | ||
| 65 | color: #d68f8f; | ||
| 66 | font-size: 1.075em; | ||
| 67 | } | ||
| 68 | |||
| 69 | h5:hover { | ||
| 70 | color: #e1a2a2; | ||
| 71 | } | ||
| 72 | |||
| 73 | .dark h6 { | ||
| 74 | color: #9f9282; | ||
| 75 | font-size: 1.05em; | ||
| 76 | } | ||
| 77 | |||
| 78 | h6:hover { | ||
| 79 | color: #b6aa9d; | ||
| 80 | } | ||
| 81 | |||
| 82 | .dark th, | ||
| 83 | td { | ||
| 84 | border: 2px solid var(--background); | ||
| 85 | } | ||
| 86 | |||
| 87 | .dark td { | ||
| 88 | background-color: #241e1a; | ||
| 89 | } | ||
| 90 | |||
| 91 | .dark th { | ||
| 92 | background-color: #1e1815; | ||
| 93 | font-weight: bold; | ||
| 94 | } | ||
| 95 | |||
| 96 | .slash-pages { | ||
| 97 | flex-wrap: wrap; | ||
| 98 | } | ||
| 99 | |||
| 100 | div#gallery { | ||
| 101 | display: flex; | ||
| 102 | flex-wrap: wrap; | ||
| 103 | gap: 1em; | ||
| 104 | justify-content: center; | ||
| 105 | } | ||
| 106 | |||
| 107 | em, | ||
| 108 | i { | ||
| 109 | color: #c38f88; | ||
| 110 | font-style: italic; | ||
| 111 | } | ||
| 112 | |||
| 113 | strong, | ||
| 114 | b { | ||
| 115 | color: #f0c678; | ||
| 116 | font-weight: bold; | ||
| 117 | } | ||
| 118 | |||
| 119 | strong em, | ||
| 120 | b em, | ||
| 121 | strong i, | ||
| 122 | b i { | ||
| 123 | color: #e5a58a; | ||
| 124 | font-weight: bold; | ||
| 125 | font-style: italic; | ||
| 126 | } | ||
| 127 | |||
| 128 | input { | ||
| 129 | text-rendering: auto; | ||
| 130 | color: fieldtext; | ||
| 131 | letter-spacing: normal; | ||
| 132 | word-spacing: normal; | ||
| 133 | line-height: normal; | ||
| 134 | text-transform: none; | ||
| 135 | text-indent: 0px; | ||
| 136 | text-shadow: none; | ||
| 137 | display: inline-block; | ||
| 138 | text-align: start; | ||
| 139 | appearance: auto; | ||
| 140 | -webkit-rtl-ordering: logical; | ||
| 141 | cursor: text; | ||
| 142 | background-color: white; | ||
| 143 | margin: 0em; | ||
| 144 | padding: 1px 0px; | ||
| 145 | border-width: 2px; | ||
| 146 | border-style: inset; | ||
| 147 | border-color: var(--background); | ||
| 148 | border-image: initial; | ||
| 149 | padding-block: 1px; | ||
| 150 | padding-inline: 2px; | ||
| 151 | } | ||
| 152 | |||
| 153 | li > * { | ||
| 154 | margin-top: 0px; | ||
| 155 | margin-bottom: 0px; | ||
| 156 | } | ||
| 157 | |||
| 158 | ul, | ||
| 159 | ol { | ||
| 160 | margin-top: 0px; | ||
| 161 | } | ||
| 162 | |||
| 163 | input[type="submit" i] { | ||
| 164 | appearance: auto; | ||
| 165 | user-select: none; | ||
| 166 | text-align: center; | ||
| 167 | cursor: default; | ||
| 168 | box-sizing: border-box; | ||
| 169 | background-color: buttonface; | ||
| 170 | color: buttontext; | ||
| 171 | white-space: pre; | ||
| 172 | padding-block: 1px; | ||
| 173 | padding-inline: 6px; | ||
| 174 | border-width: 2px; | ||
| 175 | border-style: outset; | ||
| 176 | border-color: buttonborder; | ||
| 177 | border-image: initial; | ||
| 178 | } | ||
| 179 | |||
| 180 | textarea { | ||
| 181 | background-color: white; | ||
| 182 | } | ||
| 183 | |||
| 184 | blockquote { | ||
| 185 | display: block; | ||
| 186 | padding-left: 20px; | ||
| 187 | margin-block-start: 1em; | ||
| 188 | margin-block-end: 1em; | ||
| 189 | margin-inline-start: 40px; | ||
| 190 | margin-inline-end: 40px; | ||
| 191 | unicode-bidi: isolate; | ||
| 192 | color: var(--content-primary); | ||
| 193 | } | ||
| 194 | |||
| 195 | .guestbook-message > p > b { | ||
| 196 | color: #dd9a19; | ||
| 197 | } | ||
| 198 | |||
| 199 | .hover-underline { | ||
| 200 | text-decoration: none; | ||
| 201 | } | ||
| 202 | |||
| 203 | .hover-underline:hover { | ||
| 204 | text-decoration: underline; | ||
| 205 | } | ||
| 206 | |||
| 207 | img { | ||
| 208 | margin: auto; | ||
| 209 | } | ||
| 210 | |||
| 211 | figcaption { | ||
| 212 | text-align: center; | ||
| 213 | } | ||
| 214 | |||
| 215 | /* Books */ | ||
| 216 | .abook { | ||
| 217 | overflow: hidden; | ||
| 218 | margin: 0 0 5em 0; | ||
| 219 | } | ||
| 220 | |||
| 221 | .abook figure { | ||
| 222 | float: left; | ||
| 223 | margin-right: 1rem; | ||
| 224 | width: 120px; | ||
| 225 | } | ||
| 226 | |||
| 227 | .abook small { | ||
| 228 | display: block; | ||
| 229 | margin: 0.5rem 0; | ||
| 230 | color: #aaa; | ||
| 231 | } | ||
| 232 | |||
| 233 | .book { | ||
| 234 | display: flex; /* NEW: use flexbox */ | ||
| 235 | align-items: flex-start; /* Align top edges */ | ||
| 236 | overflow: hidden; | ||
| 237 | margin: 0 0 1em 0; | ||
| 238 | } | ||
| 239 | |||
| 240 | .book figure { | ||
| 241 | flex-shrink: 0; | ||
| 242 | margin-right: 1rem; | ||
| 243 | width: 120px; | ||
| 244 | } | ||
| 245 | |||
| 246 | .book-info { | ||
| 247 | display: flex; /* NEW: make inner div flex */ | ||
| 248 | flex-direction: column; /* Stack title and small vertically */ | ||
| 249 | justify-content: space-between; /* Push small to bottom */ | ||
| 250 | } | ||
| 251 | |||
| 252 | .book-title { | ||
| 253 | margin: 0px; | ||
| 254 | } | ||
| 255 | |||
| 256 | .book small { | ||
| 257 | color: #aaa; | ||
| 258 | display: block; | ||
| 259 | margin-top: 1rem; | ||
| 260 | } | ||
| 261 | |||
| 262 | table { | ||
| 263 | width: fit-content; | ||
| 264 | margin: 0 auto; | ||
| 265 | } | ||
| 266 | |||
| 267 | .chord-line { | ||
| 268 | position: relative; | ||
| 269 | font-family: monospace; | ||
| 270 | white-space: pre-wrap; | ||
| 271 | line-height: 2.1; | ||
| 272 | margin: 0pt; | ||
| 273 | word-break: break-work; | ||
| 274 | } | ||
| 275 | |||
| 276 | .chord { | ||
| 277 | position: absolute; | ||
| 278 | top: -2.4em; | ||
| 279 | left: 0; | ||
| 280 | font-size: 0.75em; | ||
| 281 | font-weight: bold; | ||
| 282 | white-space: nowrap; | ||
| 283 | pointer-events: none; | ||
| 284 | font-family: monospace; | ||
| 285 | line-height: 0.9em; | ||
| 286 | background-color: #241e1a; | ||
| 287 | border-radius: 4px; | ||
| 288 | padding: 1.5px 2.5px; | ||
| 289 | color: orange; | ||
| 290 | z-index: 0; | ||
| 291 | } | ||
| 292 | |||
| 293 | .chord-anchor { | ||
| 294 | position: relative; | ||
| 295 | display: inline-block; | ||
| 296 | } | ||
| 297 | |||
| 298 | .chord-toggle { | ||
| 299 | display: inline-flex; | ||
| 300 | align-items: center; | ||
| 301 | gap: 0.5em; | ||
| 302 | user-select: none; | ||
| 303 | margin: 1em 0; | ||
| 304 | font-size: 1em; | ||
| 305 | } | ||
| 306 | |||
| 307 | .chord-toggle input { | ||
| 308 | display: none; | ||
| 309 | } | ||
| 310 | |||
| 311 | .chord-toggle .slider { | ||
| 312 | width: 40px; | ||
| 313 | height: 20px; | ||
| 314 | background-color: #ccc; | ||
| 315 | border-radius: 999px; | ||
| 316 | position: relative; | ||
| 317 | cursor: pointer; | ||
| 318 | transition: background-color 0.3s; | ||
| 319 | } | ||
| 320 | |||
| 321 | .chord-toggle .slider::before { | ||
| 322 | content: ""; | ||
| 323 | position: absolute; | ||
| 324 | top: 2px; | ||
| 325 | left: 2px; | ||
| 326 | width: 16px; | ||
| 327 | height: 16px; | ||
| 328 | background-color: white; | ||
| 329 | border-radius: 50%; | ||
| 330 | transition: transform 0.3s; | ||
| 331 | } | ||
| 332 | |||
| 333 | .chord-toggle input:checked + .slider { | ||
| 334 | background-color: #4caf50; | ||
| 335 | } | ||
| 336 | |||
| 337 | .chord-toggle input:checked + .slider::before { | ||
| 338 | transform: translateX(20px); | ||
| 339 | } | ||
| 340 | |||
| 341 | body.hide-chords .chord { | ||
| 342 | display: none; | ||
| 343 | } | ||
| 344 | |||
| 345 | body.hide-chords .chord-line { | ||
| 346 | line-height: 1.2em; | ||
| 347 | font-size: 1em; | ||
| 348 | font-family: sans-serif; | ||
| 349 | } | ||
| 350 | |||
| 351 | #song-list { | ||
| 352 | columns: 2; /* or 3 for more columns */ | ||
| 353 | -webkit-columns: 2; | ||
| 354 | -moz-columns: 2; | ||
| 355 | list-style-type: disc; | ||
| 356 | padding-left: 20px; | ||
| 357 | transition: column-count 0.3s ease; | ||
| 358 | } | ||
| 359 | |||
| 360 | @media (max-width: 600px) { | ||
| 361 | #song-list { | ||
| 362 | columns: 1; | ||
| 363 | -webkit-columns: 1; | ||
| 364 | -moz-columns: 1; | ||
| 365 | } | ||
| 366 | } | ||
| 367 | |||
| 368 | #song-list a { | ||
| 369 | color: #ffcc33; /* Based Cooking link color */ | ||
| 370 | text-decoration: none; | ||
| 371 | font-weight: 500; | ||
| 372 | } | ||
| 373 | |||
| 374 | #song-list a:hover { | ||
| 375 | text-decoration: underline; | ||
| 376 | color: #ffff66; /* Slightly brighter on hover */ | ||
| 377 | } | ||
| 378 | |||
| 379 | .center { | ||
| 380 | text-align: center; | ||
| 381 | } | ||
| 382 | |||
| 383 | .search-bar-container { | ||
| 384 | display: flex; | ||
| 385 | justify-content: center; | ||
| 386 | margin: 2rem 0; | ||
| 387 | } | ||
| 388 | |||
| 389 | .search-wrapper { | ||
| 390 | position: relative; | ||
| 391 | width: 80%; | ||
| 392 | max-width: 500px; | ||
| 393 | } | ||
| 394 | |||
| 395 | .search-bar { | ||
| 396 | background-color: #222; | ||
| 397 | color: #eee; | ||
| 398 | border: 1px solid #444; | ||
| 399 | padding: 10px 45px 10px 15px; | ||
| 400 | font-size: 16px; | ||
| 401 | border-radius: 5px; | ||
| 402 | width: 100%; | ||
| 403 | max-width: 500px; | ||
| 404 | box-shadow: 0 0 10px #000; | ||
| 405 | } | ||
| 406 | |||
| 407 | .search-bar:focus { | ||
| 408 | border-color: #ffcc33; /* Highlight on focus */ | ||
| 409 | box-shadow: 0 0 5px #ffcc33; | ||
| 410 | } | ||
| 411 | |||
| 412 | #song-list.list-searched { | ||
| 413 | columns: 1; | ||
| 414 | -webkit-columns: 1; | ||
| 415 | -moz-columns: 1; | ||
| 416 | font-size: 1.2em; | ||
| 417 | } | ||
| 418 | |||
| 419 | button#clear-search { | ||
| 420 | all: unset; | ||
| 421 | position: absolute; | ||
| 422 | right: 10px; | ||
| 423 | top: 50%; | ||
| 424 | transform: translateY(-50%); | ||
| 425 | height: 24px; | ||
| 426 | width: 24px; | ||
| 427 | display: flex; | ||
| 428 | align-items: center; | ||
| 429 | justify-content: center; | ||
| 430 | color: #aaa; | ||
| 431 | cursor: pointer; | ||
| 432 | transition: color 150ms ease-in-out; | ||
| 433 | } | ||
| 434 | |||
| 435 | button#clear-search:hover { | ||
| 436 | color: #fff; | ||
| 437 | } | ||
| 438 | |||
| 439 | button#clear-search svg { | ||
| 440 | width: 100%; | ||
| 441 | height: 100%; | ||
| 442 | } | ||
| 443 | |||
| 444 | @media print { | ||
| 445 | /* Hide elements you don't want printed */ | ||
| 446 | header, | ||
| 447 | nav, | ||
| 448 | footer, | ||
| 449 | .back-to-top, | ||
| 450 | .search-bar, | ||
| 451 | #clear-song-search, | ||
| 452 | .controls { | ||
| 453 | display: none !important; | ||
| 454 | } | ||
| 455 | |||
| 456 | /* Set a clean font for printing */ | ||
| 457 | body { | ||
| 458 | font-family: "Georgia", serif; | ||
| 459 | font-size: 12pt; | ||
| 460 | background: white !important; | ||
| 461 | color: black !important; | ||
| 462 | } | ||
| 463 | |||
| 464 | /* Force all links to look like plain text */ | ||
| 465 | a { | ||
| 466 | color: black; | ||
| 467 | text-decoration: none; | ||
| 468 | } | ||
| 469 | |||
| 470 | /* Prevent page breaks in the middle of a song block */ | ||
| 471 | .post-line { | ||
| 472 | page-break-inside: avoid; | ||
| 473 | break-inside: avoid; | ||
| 474 | } | ||
| 475 | |||
| 476 | /* Optional: show URL after links */ | ||
| 477 | a::after { | ||
| 478 | content: " (" attr(href) ")"; | ||
| 479 | font-size: 10pt; | ||
| 480 | color: gray; | ||
| 481 | } | ||
| 482 | |||
| 483 | /* Optional: show chord lines in monospaced font */ | ||
| 484 | .chord-line { | ||
| 485 | font-family: monospace; | ||
| 486 | white-space: pre-wrap; | ||
| 487 | break-inside: avoid; | ||
| 488 | } | ||
| 489 | |||
| 490 | .single-content { | ||
| 491 | column-count: 2; /* or 3 for more columns */ | ||
| 492 | -webkit-columns: 2; | ||
| 493 | -moz-columns: 2; | ||
| 494 | } | ||
| 495 | |||
| 496 | .chord { | ||
| 497 | color: blue; | ||
| 498 | background-color: white; | ||
| 499 | } | ||
| 500 | |||
| 501 | /* Optional: print song title bigger */ | ||
| 502 | h1, | ||
| 503 | body > div > main > div > div.single-intro-container > h2 { | ||
| 504 | color: black; | ||
| 505 | } | ||
| 506 | } | ||
