-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
98 lines (96 loc) · 1.48 KB
/
style.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
/* Maybe reset css? */
body,
html {
margin: 0px;
padding: 0px;
font-family: "Source Sans Pro", sans-serif;
font-size: 16px;
}
ul,
li {
padding: 0px;
margin: 0px;
}
body {
width: 100%;
height: 100vh;
background: #fefefe;
}
.comp-wrapper {
margin: auto;
height: 100vh;
}
.main-card {
border-radius: 4px;
padding: 16px;
width: 450px;
margin: auto;
}
.task-input-wrapper {
display: flex;
}
.task-list-wrapper {
padding: 8px;
}
.task-list li {
list-style: none;
width: 100%;
font-size: 0.8rem;
color: #333;
}
.task-item {
padding: 8px;
box-sizing: border-box;
display: flex;
margin-bottom: 8px;
background: #bdc3c7;
border-radius: 4px;
justify-content: space-between;
}
.task-item-text {
font-size: 1.2rem;
}
.task-item-actions {
text-align: right;
padding: 4px;
}
.task-item-actions span {
padding: 4px 8px;
cursor: pointer;
margin-left: 4px;
border-radius: 4px;
color: white;
font-size: 0.8rem;
}
.delete {
background: red;
}
.complete {
background: #052355;
}
.task-input-wrapper input,
.task-input-wrapper button {
border: none;
outline: none;
height: 32px;
margin: 8px;
font-size: 0.8rem;
border-radius: 4px;
font-weight: 200;
}
.task-input-wrapper button {
cursor: pointer;
background: #2980b9;
color: white;
}
.task-input-wrapper input {
width: 85%;
background: #ececec;
padding: 0px 8px;
}
.title-text {
font-family: "Source Sans Pro", sans-serif;
font-weight: 900;
margin: 0px 8px;
color: #333;
}