generated from webmural/swoon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathswoon.css
91 lines (76 loc) · 1.18 KB
/
swoon.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
html {
font: max(3ch, 5vmax + 3vmin) sans-serif;
}
body {
display: flex;
flex-flow: anywhere;
align-items: center;
justify-content: center;
box-sizing: border-box;
overflow-wrap: anywhere;
margin: 0;
min-height: 100vh;
}
body > * {
box-sizing: border-box;
padding: 1ch;
}
h1 {
font-weight: unset;
justify-content: center;
animation: 60s ease-in-out swoon infinite;
margin: auto;
}
p {
margin: auto;
}
a {
display: inline-flex;
padding: 1vmin;
}
b {
text-shadow:
0 -3vh 0,
0 -2vh 0,
0 -1vh 0;
}
body {
display: flex;
flex-flow: column;
margin: auto;
}
main {
align-items: center;
display: flex;
flex-flow: row;
justify-content: center;
min-height: 100vh;
}
:root {
background: #ee1;
color: indigo;
background-image: radial-gradient(#ee1, gainsboro);
}
:any-link {
background: darkviolet;
color: #ee1;
}
::selection {
background: hotpink;
color: indigo;
}
@keyframes swoon {
from {
text-shadow: 0 -1vh 0 mediumpurple;
}
to {
text-shadow: 0 -1vh 0 darkviolet;
}
}
:focus-within {
box-shadow: 0 0 0 50vw deepskyblue;
}
:focus {
box-shadow: 0 0 0 30vmax mediumpurple;
outline: thick outset;
}