-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
73 lines (62 loc) · 1.24 KB
/
index.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
html {
box-sizing: border-box;
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
text-align: center;
font-family: sans-serif;
background: url('https://images.unsplash.com/photo-1677155875750-9eb42b39f4e5?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1170&q=80') center no-repeat;
background-size: cover;
}
*, *::before, *::after {
box-sizing: inherit;
}
.wrapper {
padding: 20px;
max-width: 350px;
background: rgba(255, 255, 255, 0.5);
box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
border-radius: 10px;
border:1px solid rgba(255, 255, 255, 0.18);
backdrop-filter: blur(10px);
}
h2 {
text-align: center;
margin: 0;
font-weight: 200;
}
.piatti {
margin: 0;
padding: 0;
list-style: none;
text-align: left;
}
.piatti li {
border-bottom: 1px solid rgba(0, 0, 0, 0.2);
padding: 10px 0;
font-weight: 100;
display: flex;
}
.piatti label {
flex: 1;
cursor: pointer;
}
.piatti input {
display: none;
}
.piatti input + label::before {
content: '⬜';
margin-right: 10px;
}
.piatti input:checked + label::before {
content: '🍣';
}
.aggiungi-piatto {
margin-top: 20px;
}
.aggiungi-piatto input {
padding: 10px;
outline: 0;
border: 1px solid rgba(0,0,0,0.1);
}