aboutsummaryrefslogtreecommitdiff
path: root/styles/global.css
blob: f70b6bdc411d3f6371bb30732922e798c9d035d1 (plain)
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
:root {
	--background: var(--gray-900);
	--foreground: var(--gray-100);

	--accent: #7E3AA6;

	--error: #A63A4D;
	--disk-b-alt: #582D35;

	--confirm: #3AA699;
	--disk-a-alt: #244743;

	/* shade */
	--gray-100: #141619;
	--gray-200: #1F242D;
	--gray-300: #293140;
	--gray-600: #757D92;
	--gray-700: #A9AFC0;
	--gray-800: #CED2DC;
	--gray-900: #E3E6EE;

	/* box-shadow */
	--drop-level-2: 0px 8px 32px 0px  rgba(0, 0, 0, 0.3);
	--drop-level-1: 0px 8px 12px -4px rgba(0, 0, 0, 0.15);

	/* border-radius */
	--tight-corner: 6px;
	--loose-corner: 8px;

	/* margin/padding */
	--spacing-small:  6px;
	--spacing-medium: 12px;
	--spacing-large:  24px;
}

@media (prefers-color-scheme: dark) {
	:root {
		--background: var(--gray-900);
		--foreground: #FFFFF3;

		--accent: #AD34F3;

		--error: #FF4365;
		--disk-b-alt: #F49BA1;

		--confirm: #00D9C0;
		--disk-a-alt: #86F3F3;

		--gray-100: #CED2DC;
		--gray-200: #A9AFC0;
		--gray-300: #757D92;
		--gray-700: #293140;
		--gray-800: #1F242D;
		--gray-900: #141619;
	}
}

/* html { */
/* 	--text: #FCFFFD; */
/* 	--page-background: var(--text); */

/* 	--background: #5D737E; */
/* 	--text-alt: var(--background); */
/* 	--background-alt: #81949E; */

/* 	--disk-a: #E16D82; */
/* 	--disk-a-text: #FDC0C4; */
/* 	--disk-b: #71D9CC; */
/* 	--disk-b-text: #C0FDEB; */
/* } */

/* default margin */
html, body {
	margin: 0;
	padding: 0;
}

/* subsection font size */
h2 { font-size: 20px; }

/* subsubsection font size */
h3 {
	font-size: .9rem;
	padding-bottom: 6px;
}

/* navbar fix */
body { padding-left: 48px; }

/* font */
html { font-family: "Inter", sans-serif; }

/* color */
:root, html, body {
	background-color: var(--background);
	color: var(--foreground);
}

/* link fix */
a {
	color: var(--text);
	text-decoration: none;
}

/* centering misschien */
.CenteredPageInner { text-align: center; }
.CenteredPageInner > * { text-align: left; }

/* line height reset */
h1, h2, h3, p, b, i, span, td, th {
	margin: 0;
	line-height: 1.2;
}

/* table groottes met percentages werkt nu */
table { table-layout: fixed; }

/* table styles */
td, th { padding: 4px; }

input {
	color: var(--foreground);
	background-color: transparent;
	font-family: inherit;
	border: 0;
	font-size: 1rem; /* why? */
}

input::placeholder {
	font-style: italic;
	opacity: 1;
	color: var(--gray-600);
}

/* remove chrome's ugly :focus outline */
:focus { outline: none; }

/* scroll balken */
::-webkit-scrollbar { width: 0 !important; }

/* material-ui default state */
svg.MuiSvgIcon-root { transition: none !important; }