aboutsummaryrefslogtreecommitdiffstats
path: root/style.css
blob: 4bf992981f0ae48b29c3fe86473b7d13f82b95f5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
@import url('https://fonts.googleapis.com/css2?family=Raleway&display=swap');
@import url('https://circuits.aleteoryx.me/oi.css');

html {
	--foreforeground: #3788ae;
	--foreground: #082f41;
	--background: #03141c;
	color: white;
	background: black;
	/*padding: 1cm;*/
	font-size: 12pt;
	font-family: 'Raleway', sans-serif;

	width: 100vw;

	overflow-x: hidden;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
body > * {
	width: max(60vw, 8cm);
	--body-width: max(60vw, 8cm);
}

hr {
	border: 0.5mm solid var(--foreforeground);
	background: var(--foreforeground);
	width: 100%;
	height: 0%;
}

.hide {display: none;}

input, button, details{
	color: white;
	background: var(--foreground);
	padding: 1rem;

	border: none;
	border-radius: 0.5cm;
	font-size: 13pt;
	margin: 0.5rem;
}

input::placeholder {
	color: var(--foreforeground);
}

details :is(input, button) {
	background: var(--background);
}

details {
	padding: 1rem;
	background: var(--foreground);
}

body {
	height: calc(100% - 2cm);
	margin: 1cm;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	
	width: max(60vw, 8cm);

	background: var(--background);

	padding: 1cm;
	box-shadow: 0 0 5mm inset black;
}

a:link {
	color: white;
}
a:visited {
	color: var(--foreforeground);
}

kbd {
  background: white;
  color: black;
  padding: 0.5mm;
  border-radius: 1mm;
  box-shadow: inset black -0.25mm -0.25mm 1mm;
}

summary,
button,
:is(input[type=radio], input[type=checkbox]),
:is(input[type=radio], input[type=checkbox]) + label  {
	cursor: pointer;
}

section#changelog {
	height: 60vh;
	overflow-y: auto;
	overflow-x: hidden;

	box-shadow: inset 0mm 0mm 5mm #000;

}

section#changelog > article {
	margin: 5mm;
	margin-bottom 0;
	box-shadow: 0mm 0mm 2.5mm #000;
	padding: 2.5mm;
	background: var(--foreground);
}

#logo {
	width: 5cm;
	height: 5cm;
	
	position: relative;
	z-index: 0;

	border-radius: 26px;
	animation: logo 5s infinite ease;
	overflow: hidden;
	padding: none;
}
#logo > img {
	width: 5cm;
	z-index: -2;
	margin: none;
	position: relative;
}

@keyframes logo {
	0% {
		box-shadow: 0mm 0mm 1cm white, 0mm 0mm 0mm white;
	}
	50% {
		box-shadow: 0mm 0mm 5mm white, 0mm 0mm 1cm var(--foreforeground);
	}
	100% {
		box-shadow: 0mm 0mm 1cm white, 0mm 0mm 0mm white;
	}
}

ul.links > li::marker {
	font-family: "Icons";
	font-size: 2.5mm;
	content: "\e064   ";
}

#projects {
	display: grid;
	box-shadow: inset 0mm 0mm 5mm black;
	padding: 1cm;
	background: #020d12;
	grid-gap: 1cm;
	justify-content: center;
}

#projects > a {
	border: solid white 1mm;
	padding: 0;
	background-size: cover;
	background-position: center center;
	overflow: hidden;
	box-shadow: inset 0 0 3mm black , 0 0 3mm black;
	position: relative;
	color: white;
}

#projects > a * {
	margin: 0mm;
}
#projects > a > div {
	background-color: #0008;
	backdrop-filter: blur(5px);
	width: 100%;
	margin: 0;
	padding: 0.5cm;
	position: absolute;
	bottom: -1px;
	z-index: 100;
}

@media (orientation:portrait) {
	#projects {
		grid-template-columns: 100%;
		grid-auto-rows: var(--body-width);
	}
	#projects > a {
		display: block;
		min-height: var(--body-width);
	}
}

@media (orientation:landscape) {
	#projects {
		--widhei: calc(var(--body-width) / 2 - 2cm);
		grid-template-columns: var(--widhei) var(--widhei);
	}
	#projects > a {
		display: block;
		height: calc(var(--widhei) - 2cm);
	}
}

code {
	background: #041720;
	padding: 0.5mm;
	border-radius: 0.5mm;
}