-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
93 lines (77 loc) · 1.4 KB
/
style.css
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
:root {
--line-color: rgb(189, 172, 154);
--bg-color: rgb(75, 72, 69);
--panel-color: rgba(188, 169, 151, 0.18);
--theme-color: rgb(158, 141, 125);
--text-color-inverted: rgb(48, 35, 28);
--highlight-color: rgb(185, 166, 148);
}
body {
background-color: var(--bg-color);
color: var(--theme-color);
padding: 0;
margin: 0;
}
main {
margin: auto;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100%;
}
section {
margin-bottom: 1.2rem;
}
a {
color: var(--theme-color);
}
a:visited {
color: inherit;
}
a:hover {
color: var(--highlight-color)
}
#platforms {
background-color: var(--panel-color);
padding: 0.3rem;
border: 2px solid var(--line-color);
flex: 0 1 auto;
}
.plat {
background-color: var(--theme-color);
font-size: 1.5rem;
cursor: pointer;
margin-top: 0.1em;
text-transform: uppercase;
line-height: 1;
}
.plat:first-of-type {
margin-top: 0;
}
.plat:hover {
background-color: var(--highlight-color)
}
.faded {
opacity: 0.2
}
.hidden {
display: none;
}
#platforms a {
color: var(--text-color-inverted);
text-decoration: none;
display: block;
padding: 0.3rem 2rem 0.3rem 0.75rem;
transition: transform 0.5s;
}
#platforms a:first-letter {
font-size: 1.6em;
}
#platforms a:hover {
transform: perspective(1px) translateX(1rem);
}
hr {
border: none;
border-top: 1px solid var(--line-color);
}