forked from yourfriendfitz/webComponentsTodo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.scss
65 lines (65 loc) · 1.21 KB
/
styles.scss
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
.container {
display: grid;
margin: auto;
padding: 10%;
justify-content: center;
align-items: center;
#todos,
.addTodo {
display: grid;
margin: auto;
justify-content: center;
align-items: center;
width: 320px;
}
.addTodo {
input,
button {
margin: 4px;
box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.2);
}
}
h1 {
text-align: center;
}
ul {
list-style: none;
display: grid;
margin: auto;
justify-content: center;
align-items: center;
padding: 0px;
width: 100%;
}
li {
display: flex;
justify-content: space-between;
align-items: center;
border: black 1px solid;
border-radius: 8px;
width: 320px;
box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.2);
margin: 4px;
button,
h3 {
margin: 8px;
}
h3 {
overflow: hidden;
text-overflow: ellipsis;
}
h3:hover {
overflow: auto;
text-overflow: initial;
}
button {
width: 32px;
background-color: white;
box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.2);
}
.strikethrough {
text-decoration: line-through;
opacity: 0.5;
}
}
}