aboutsummaryrefslogtreecommitdiff
path: root/.config/startpage/style.css
blob: 51fa31d4a00657eba8e9785b9ccb868d0dafb5bb (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
:root {
	--color0:  #121213;
	--color1:  #DE9DAC;
	--color2:  #9DDEAF;
	--color3:  #DEDD9D;
	--color4:  #9DACDE;
	--color5:  #AF9DDE;
	--color6:  #9DCCDE;
	--color7:  #f4e0d8;
	--color8:  #393b3b;
	--color9:  #F7AFC0;
	--color10: #AFF7C3;
	--color11: #F7F6AF;
	--color12: #AFC0F7;
	--color13: #C3AFF7;
	--color14: #AFE3F7;
	--color15: #f9ece8;
}

html, body {
	margin: 0;
	padding: 0;
	background: var(--color0);
	color: var(--color15);
	font-family: "JetBrainsMono NF";
}

* {
	cursor: normal;
	user-select: none;
}

h1 {
	margin: 0;
}

.center {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	white-space: nowrap;
}

.term {
	width: 500px;
	padding: 16px;
	position: relative;
}

.term::before {
	content: '';
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background-color: #0c0c0c;
	z-index: -2;
	border-radius: 8px;
}

h3 {
	font-size: 14px;
	font-weight: 800;
	margin: 0 0 8px 0;
}

.columns {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
}

.columns .column {
	display: inline-block;
}

.columns .column * {
	display: block;
}

a {
	font-size: 14px;
	font-weight: normal;
	text-decoration: none;
	color: var(--color15);
	position: relative;
	padding: 0;
	transition: padding .3s;
}

a:hover {
	padding-left: 15px;
}

a::before {
	content: '>';
	position: absolute;
	left: -20px;
	opacity: 0;
	transform: scaleX(0);
	transition-property: left, transform, opacity;
	transition-duration: .3s;
}

a:hover::before {
	left: 0px;
	transform: scaleX(1);
	opacity: 1;
}