forked from dchester/yhtml
-
Notifications
You must be signed in to change notification settings - Fork 0
/
example.css
65 lines (65 loc) · 948 Bytes
/
example.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
* {
box-sizing: border-box;
}
body {
margin: auto;
font-family: Arial, sans-serif;
background: #f3f5f8;
padding: 32px;
}
todo-app {
display: block;
margin: auto;
max-width: 500px;
}
todo-app .add-item input {
padding: 0.5em 0.8em;
margin: 12px 0;
font-size: larger;
width: 100%;
}
todo-app > footer {
margin-top: 48px;
font-size: smaller;
text-align: center;
}
todo-item {
display: flex;
padding: 8px 0;
border-bottom: 1px solid #eee;
gap: 8px;
}
todo-item .title {
flex: 1;
}
todo-item input[type="text"] {
width: 100%;
}
card {
background: white;
border-radius: 8px;
box-shadow: 0 2px 12px #1112;
display: block;
padding: 32px;
}
h1 {
margin: 0;
}
button.flat {
appearance: none;
background: none;
border: none;
}
button.selected {
filter: invert(1);
}
todo-list > footer {
justify-content: space-between;
margin-top: 24px;
}
.flex {
display: flex;
}
.muted {
opacity: 0.5;
}