-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsnooze.css
More file actions
92 lines (80 loc) · 1.48 KB
/
snooze.css
File metadata and controls
92 lines (80 loc) · 1.48 KB
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
:root {
--lawn: rgb(90, 210, 90);
--moss: rgb(120, 210, 210);
--pulp: rgb(180, 90, 240);
--rain: rgb(90, 150, 240);
--volt: rgb(240, 240, 30);
--wind: rgb(150, 210, 240);
--ink: rgb(30, 30, 20);
}
.hue {
--hue: orange;
background: var(--hue);
color: var(--ink);
}
.lawn { --hue: var(--lawn) }
.moss { --hue: var(--moss) }
.pulp { --hue: var(--pulp) }
.rain { --hue: var(--rain) }
.volt { --hue: var(--volt) }
.wind { --hue: var(--wind) }
::selection {
background: var(--ink);
color: var(--hue);
}
:focus {
box-shadow: 0 0 0 1ch var(--hue);
outline: thick dotted;
}
* { box-sizing: border-box }
h1 {
font: 1.382em sans-serif;
margin: 0;
}
html {
font-family: sans-serif;
font-size: max(3ch, 4vmin);
}
header {
align-self: center;
border-radius: 0% 0% 50% 50%;
display: flow-root;
margin-bottom: 1rem;
padding: 1em;
}
body {
margin: 0;
overflow-wrap: anywhere;
}
form {
align-items: center;
contain: layout;
display: flex;
flex-flow: column;
margin: auto;
}
textarea {
border-radius: 3% 21%;
border-style: inset;
border-width: 0;
box-sizing: border-box;
display: inline-block;
flex-basis: 60vh;
font: inherit;
margin-block: 1rem;
width: min(80vw, 30em);
overflow: auto;
padding: 1rem;
}
button {
border-radius: 50% 50% 0 0;
border-style: none;
display: inline-flex;
flex-basis: 20vh;
font: inherit;
margin: 1rem auto 0;
max-width: 100%;
padding: 1rem;
text-decoration: double underline;
touch-action: manipulation;
}