generated from webmural/well
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwave.css
89 lines (75 loc) · 1.22 KB
/
wave.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
:any-link {
color: inherit;
background: none;
box-shadow: 0 0 1ex 1em var(--tape-hex, seashell);
border-radius: 0 30% 30% 0;
}
::selection {
color: skyblue;
background: #111;
}
:focus {
outline: thick groove;
}
[class] {
box-sizing: border-box;
}
.dill {
min-height: 100vh;
margin: auto;
}
@media (prefers-color-scheme: dark) {
.local {
--tape-white: thistle;
--tape-hex: slateblue;
--tape-pink: salmon;
--tape-blue: deepskyblue;
}
}
@media all,(prefers-color-scheme: light) {
.local {
--tape-hex: violet;
--tape-pink: sandybrown;
--tape-white: silver;
--tape-pink: salmon;
}
}
.wave {
flex-basis: 100%;
padding: 1ex;
}
.surf {
display: table;
margin-block-end: 1em;
}
html {
font-family: sans-serif;
font-size: max(3ex, 3vw + 3vh);
}
body {
margin: auto;
overflow-wrap: anywhere;
}
.doll {
display: flex;
flex-flow: column;
padding: 1em;
align-items: center;
justify-items: center;
justify-content: center;
}
@media (orientation: landscape) {
.roll {
writing-mode: sideways-lr;
}
}
@media (orientation: portrait) {
.rill {
writing-mode: sideways-lr;
}
}
@media (prefers-reduced-motion) {
[class] {
transition: none;
}
}