1/*
2 * SPDX-FileCopyrightText: Amolith <amolith@secluded.site>
3 *
4 * SPDX-License-Identifier: CC0-1.0
5 */
6
7@font-face {
8 font-family: 'Atkinson Hyperlegible';
9 font-weight: normal;
10 font-style: normal;
11 font-display: swap;
12 src: url("/static/fonts/regular-102a.woff2") format("woff2");
13}
14
15@font-face {
16 font-family: 'Atkinson Hyperlegible';
17 font-weight: normal;
18 font-style: italic;
19 font-display: swap;
20 src: url("/static/fonts/regular-102a.woff2") format("woff2");
21}
22
23@font-face {
24 font-family: 'Atkinson Hyperlegible';
25 font-weight: bold;
26 font-style: normal;
27 font-display: swap;
28 src: url("/static/fonts/bold-102a.woff2") format("woff2");
29}
30
31@font-face {
32 font-family: 'Atkinson Hyperlegible';
33 font-weight: bold;
34 font-style: italic;
35 font-display: swap;
36 src: url("/static/fonts/bolditalic-102a.woff2") format("woff2");
37}
38
39html {
40 margin: auto auto;
41 color: #2f2f2f;
42 background: white;
43 font-family: 'Atkinson Hyperlegible', sans-serif;
44 scroll-behavior: smooth;
45}
46
47a {
48 color: #0640e0;
49}
50
51a:visited {
52 color: #0640e0;
53}
54
55.two_column {
56 display: flex;
57 gap: 30px;
58 flex-direction: row;
59 margin: auto auto;
60 max-width: 1040px;
61 height: 92vh;
62}
63
64.two_column > * > * {
65 margin: 20px;
66}
67
68.projects, .release_notes {
69 overflow: scroll;
70 flex: 0 0 540px;
71}
72
73.release_note.card:not(:target) { display: none; }
74.release_note.card:target { display: block; }
75
76.return_to_project {
77 display: none;
78}
79
80.card {
81 border: 2px solid #2f2f2f;
82 background: #f8f8f8;
83 border-radius: 5px;
84 margin: 20px;
85 padding: 20px 20px 0 20px;
86 box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
87}
88
89.card > h3 {
90 margin-top: 0;
91}
92
93.card > p:first-of-type {
94 margin-bottom: 16px;
95}
96
97.card > p:last-of-type {
98 margin-bottom: 16px;
99}
100
101.close, .delete { float: right; }
102.delete { font-size: 12px; }
103.close > a {
104 text-decoration: none;
105 color: #2f2f2f;
106}
107
108.card > pre, .card > div > pre { overflow: scroll; }
109
110.wrapper {
111 max-width: 500px;
112 margin: auto auto;
113}
114
115header > h1 > span {
116 font-size: 12px;
117 float: right;
118}
119
120@media (prefers-color-scheme: dark) {
121 html {
122 background: #171717;
123 color: #ccc;
124 }
125
126 a {
127 color: #5582ff;
128 }
129
130 a:visited {
131 color: #5582ff;
132 }
133
134 .card {
135 border: 2px solid #424242;
136 background: #1c1c1c;
137 }
138
139 .close > a {
140 color: #ccc;
141 }
142}
143
144@media only screen and (max-width: 1000px) {
145 div[id] {
146 display: block;
147 }
148
149 .two_column {
150 flex-direction: column;
151 }
152
153 .projects, .release_notes {
154 overflow: visible;
155 flex: 0 0 100%;
156 }
157
158 .return_to_project {
159 display: block;
160 }
161
162 .close {
163 display: none;
164 }
165}
166