aboutsummaryrefslogtreecommitdiff
path: root/.config/startpage/style.css
blob: f6eea2d1911d0773c1583aa261c3d4e36a355628 (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
@import url(file:///home/loek/.config/startpage/pywal.css);

html, body {
	margin: 0;
	padding: 0;
	background: var(--pywal-color0);
	color: var(--pywal-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: var(--pywal-color8);
	opacity: 0.2;
	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(3, 1fr);
}

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

.columns .column * {
	display: block;
}

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

a::before {
	content: '➜';
	position: absolute;
	left: -30px;
	opacity: 0;
	transition: left .3s, opacity .3s;
}

a:hover {
	left: 15px;
}

a:hover::before {
	left: -15px;
	opacity: 1;
}