style.css
⎇
Raw
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
15html,
16button,
17select {
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
31button,
32select {
33 display: flex;
34 place-items: center;
35 padding: 0.25rem 0.5rem;
36 border: none;
37 border-radius: 4px;
38 background-color: var(--color-d);
39 color: oklch(0.26 0 0);
40
41 &:hover {
42 background-color: oklch(from var(--color-d) 0.85 c h);
43 }
44}
45
46button {
47 cursor: pointer;
48 &:disabled {
49 cursor: default;
50 }
51}
52
53button:has(> svg) {
54 padding: 0;
55 background: none;
56 &:hover {
57 background: none;
58 }
59}
60
61html {
62 min-width: 400px;
63 min-height: 600px;
64 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>");
65}
66
67.app-container {
68 display: flex;
69 flex-direction: column;
70 height: 100vh;
71 max-width: 1200px;
72 margin: 0 auto;
73 background-color: var(--color-a);
74 box-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
75}
76
77.header {
78 display: flex;
79 justify-content: space-between;
80 align-items: center;
81 padding: 1rem;
82 border-bottom: 1px solid var(--color-c);
83}
84
85.title {
86 font-size: 1.5rem;
87 font-weight: bold;
88}
89
90.filebrowser-toggle,
91.fullscreen-button {
92 margin-right: 1rem;
93}
94.filebrowser-toggle,
95.fullscreen-button,
96.options-button {
97 background: none;
98 &:hover {
99 background: none;
100 }
101}
102
103.main-content {
104 position: relative; /* for the loading screen in the file browser*/
105 display: flex;
106 flex: 1;
107 overflow: hidden;
108}
109
110@media (min-width: 600px) {
111 .filebrowser-toggle {
112 display: none;
113 }
114}
115
116
117.spacer {
118 flex-grow: 1;
119}