-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.css
111 lines (93 loc) · 1.54 KB
/
main.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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
body {
background: #5b656f;
font-family: "Roboto", sans-serif;
}
h1 {
font-family: "Gloria Hallelujah", cursive;
text-align: center;
color: #fff;
font-size: 3em;
}
h1, h2 {
margin: 0;
}
p {
margin: 0;
}
.content {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
width: 500px;
max-width: 96%;
}
.white-box {
background: #fff;
border-radius: 3px;
padding: 20px;
min-height: 200px;
max-height: 600px;
overflow: auto;
}
.white-box h2 {
color: #1874cd;
font-size: 1.4em;
}
.button {
-webkit-appearance: none;
border-radius: 0;
border: 0;
background: #1874cd;
color: #fff;
padding: 5px 10px;
height: 30px;
}
.button:hover {
cursor: pointer;
}
.button.delete-all {
margin-top: 10px;
}
.task-list {
font-family: "Roboto", sans-serif;
margin: 20px 0 20px;
font-size: 1.2em;
border: 1px solid #000;
}
.task-list .task {
display: flex;
justify-content: space-between;
flex-direction: row;
flex-wrap: wrap;
padding: 10px;
}
.task-list .task.even {
background: #dedede;
}
.task-list .task.odd {
background: #fff;
}
.task-list .task .delete.button {
margin-left: 15px;
}
.task-list .task .trashed {
vertical-align: middle;
margin-left: 15px;
}
.task-list .task.is-trashed span {
text-decoration: line-through;
}
.add-task .task-name {
display: block;
margin: 10px 0;
}
.add-task .task-name input {
width: 100%;
height: 40px;
border-radius: 3px;
border: 1px solid #d3d3d3;
padding: 5px;
-webkit-appearance: none;
font-size: 20px;
}