-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
53 lines (44 loc) · 851 Bytes
/
Copy pathstyle.css
File metadata and controls
53 lines (44 loc) · 851 Bytes
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
/*Base: a calm readable page*/
body {
font-family: system-ui, sans-serif;
max-width: 700px;
margin: 0 auto;
padding: 20px;
color: #222;
background: #fafafa;
}
h1 {
text-align: center;
}
/*Each area get's a card look so they're visually distinct*/
section{
background: white;
border: 1px solid #ddd;
border-radius: 9px;
padding: 16px;
margin-bottom: 20px;
}
/*The add-food form: inputs in a row that wraps on a small screens*/
form {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
input, button {
padding: 8px;
font-size: 1rem;
}
button {
cursor: pointer;
}
/*Lists: remove the default bullets and indentation*/
ul {
list-style: none;
padding: 0;
}
#food-list li {
display: flex;
justify-content: space-between;
align-items: center;
padding: 6px 0;
}