-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
96 lines (92 loc) · 1.29 KB
/
styles.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
94
95
96
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
margin: 45px 60px 45px 90px;
color: #222;
user-select: none;
cursor: default;
}
li {
color: #444;
}
a {
color: inherit;
}
@media (prefers-color-scheme: dark) {
body {
background: #111;
color: #ddd;
}
li {
color: #bbb;
}
}
h1 {
margin: 0;
font-size: xx-large;
}
ul {
margin: 30px 0 0;
padding: 0;
}
li {
margin: 15px 0 0 0;
font-size: large;
list-style: none;
}
h1,
li {
position: relative;
}
h1::before,
li::before {
position: absolute;
right: 100%;
top: 50%;
margin-right: 15px;
transform: translateY(-50%);
}
h1::before {
content: '✌️';
margin-right: 8px;
}
h1.shrug::before {
content: '🤷';
}
li:nth-of-type(1)::before {
content: '📧';
}
li:nth-of-type(2)::before {
content: '💬';
}
li:nth-of-type(3)::before {
content: '📷';
}
li:nth-of-type(4)::before {
content: '🚴♂️';
}
@keyframes shake {
46%,
48%,
50%,
52%,
54% {
rotate: 0deg
}
47% {
rotate: 3deg;
}
49% {
rotate: -6deg;
}
51% {
rotate: 6deg;
}
53% {
rotate: -3deg;
}
}
@media not screen and (prefers-reduced-motion) {
h1::before {
animation: shake 9s infinite;
}
}