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,
33option {
34 display: flex;
35 place-items: center;
36 padding: 0.25rem 0.5rem;
37 border: none;
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
53svg {
54 flex-shrink: 0;
55}
56
57button:has(> svg) {
58 padding: 0;
59 background: none;
60 &:hover {
61 background: none;
62 }
63}
64
65html {
66 min-width: 350px;
67 min-height: 600px;
68 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>");
69}
70
71.app-container {
72 display: flex;
73 flex-direction: column;
74 height: 100vh;
75 max-width: 1200px;
76 margin: 0 auto;
77 background-color: var(--color-a);
78 box-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
79}
80
81.header {
82 display: flex;
83 gap: 1.5rem;
84 justify-content: space-between;
85 align-items: center;
86 padding: 1rem;
87 border-bottom: 1px solid var(--color-c);
88}
89
90.title {
91 font-size: 1.5rem;
92 font-weight: bold;
93}
94
95.main-content {
96 position: relative; /* for the loading screen in the file browser*/
97 display: flex;
98 flex: 1;
99 overflow: hidden;
100}
101
102@media (min-width: 601px) {
103 .filebrowser-toggle {
104 display: none;
105 }
106}
107
108.spacer {
109 flex-grow: 1;
110}
111
112
113input {
114 background: none;
115 border: 1px solid var(--color-c);
116 padding: 0.25rem;
117}