style.css
| 1 | * { |
| 2 | box-sizing: border-box; |
| 3 | margin: 0; |
| 4 | padding: 0; |
| 5 | color: var(--text-color); |
| 6 | accent-color: var(--color-d); |
| 7 | } |
| 8 | |
| 9 | @font-face { |
| 10 | font-display: swap; |
| 11 | font-family: ark-latin; |
| 12 | src: url("ark-pixel-16px-proportional-latin.woff2") format("woff2"); |
| 13 | } |
| 14 | |
| 15 | html, |
| 16 | button, |
| 17 | select { |
| 18 | font-family: ark-latin, sans-serif; |
| 19 | font-size: 16px; |
| 20 | } |
| 21 | |
| 22 | :root { |
| 23 | --color-a: oklch(0.41 0.0178 201.81); |
| 24 | --color-b: oklch(0.62 0.0664 60.49); |
| 25 | --color-c: oklch(0.33 0.0144 217.83); |
| 26 | --color-c-highlight: oklch(from var(--color-c) 0.45 c h); |
| 27 | --color-d: oklch(0.67 0.1326 259.65); |
| 28 | --text-color: oklch(0.87 0 0); |
| 29 | } |
| 30 | |
| 31 | button, |
| 32 | select { |
| 33 | display: flex; |
| 34 | place-items: center; |
| 35 | padding: 0.25rem 0.5rem; |
| 36 | border: none; |
| 37 | background-color: var(--color-d); |
| 38 | color: oklch(0.26 0 0); |
| 39 | |
| 40 | &:hover { |
| 41 | background-color: oklch(from var(--color-d) 0.85 c h); |
| 42 | } |
| 43 | } |
| 44 | |
| 45 | button { |
| 46 | cursor: pointer; |
| 47 | &:disabled { |
| 48 | cursor: default; |
| 49 | } |
| 50 | } |
| 51 | |
| 52 | button:has(> svg) { |
| 53 | padding: 0; |
| 54 | background: none; |
| 55 | &:hover { |
| 56 | background: none; |
| 57 | } |
| 58 | } |
| 59 | |
| 60 | html { |
| 61 | min-width: 400px; |
| 62 | min-height: 600px; |
| 63 | background-image: url("data:image/svg+xml,<svg id='patternId' width='100%' height='100%' xmlns='http://www.w3.org/2000/svg'><defs><pattern id='a' patternUnits='userSpaceOnUse' width='100' height='82' patternTransform='scale(2) rotate(0)'><rect x='0' y='0' width='100%' height='100%' fill='%23404e4fff'/><path d='M74.4-14.6l-24 41.1h48l-24-41.1zm0 82l-24 41.1h48l-24-41.1z' stroke-width='1' stroke='none' fill='%23a37c5cff'/><path d='M0 0l24 41.1L48 0H0zm-1.6 26.5l-24 41.1h48l-24-41.1zm100 0l-24 41.1h48l-24-41.1z' stroke-width='1' stroke='none' fill='%232c373aff'/><path d='M24 41.1l24 41.1 24-41.1H24z' stroke-width='1' stroke='none' fill='%23726f69ff'/></pattern></defs><rect width='800%' height='800%' transform='translate(0,0)' fill='url(%23a)'/></svg>"); |
| 64 | } |
| 65 | |
| 66 | .app-container { |
| 67 | display: flex; |
| 68 | flex-direction: column; |
| 69 | height: 100vh; |
| 70 | max-width: 1200px; |
| 71 | margin: 0 auto; |
| 72 | background-color: var(--color-a); |
| 73 | box-shadow: 0 0 40px rgba(0, 0, 0, 0.8); |
| 74 | } |
| 75 | |
| 76 | .header { |
| 77 | display: flex; |
| 78 | justify-content: space-between; |
| 79 | align-items: center; |
| 80 | padding: 1rem; |
| 81 | border-bottom: 1px solid var(--color-c); |
| 82 | } |
| 83 | |
| 84 | .title { |
| 85 | font-size: 1.5rem; |
| 86 | font-weight: bold; |
| 87 | } |
| 88 | |
| 89 | .filebrowser-toggle, |
| 90 | .fullscreen-button { |
| 91 | margin-right: 1rem; |
| 92 | } |
| 93 | .filebrowser-toggle, |
| 94 | .fullscreen-button, |
| 95 | .options-button { |
| 96 | background: none; |
| 97 | &:hover { |
| 98 | background: none; |
| 99 | } |
| 100 | } |
| 101 | |
| 102 | .main-content { |
| 103 | position: relative; /* for the loading screen in the file browser*/ |
| 104 | display: flex; |
| 105 | flex: 1; |
| 106 | overflow: hidden; |
| 107 | } |
| 108 | |
| 109 | @media (min-width: 601px) { |
| 110 | .filebrowser-toggle { |
| 111 | display: none; |
| 112 | } |
| 113 | } |
| 114 | |
| 115 | |
| 116 | .spacer { |
| 117 | flex-grow: 1; |
| 118 | } |