-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.css
114 lines (96 loc) · 1.77 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
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
112
113
114
/*
light-green: #F6F7D7
Blue: #3EC1D3
Orange: #FF9A00
Red: #FF165D
*/
html {
padding: 0%;
margin: 0%;
box-sizing: border-box;
}
body {
min-width: 500px;
min-height: 100px;
font-size: 10px;
font-family: 'Lato', sans-serif;
background-color: #F6F7D7;
color: #2A363B;
padding: 0 2rem;
}
.heading {
text-align: center;
font-size: 2rem;
margin: 1rem 0 1.5rem 0;
font-weight: bolder;
}
.input-div {
display: flex;
justify-content: center;
margin: 2rem 0;
}
.task-input {
width: 30rem;
padding: 0.5rem 1rem;
border: none;
outline: none;
background-color: #ff990091;
font-size: 1rem;
}
.tasks-list-div {
display: flex;
flex-direction: column;
}
.task-div {
display: flex;
justify-content: space-between;
margin: .7rem 0rem;
}
.task-div:not(:last-child) {
padding-bottom: 1.5rem;
border-bottom : solid 1px black;
}
.task-text {
justify-self: center;
max-width: 20rem;
word-wrap: break-word;
font-size: 1.3rem;
vertical-align: middle;
line-height: 1.5;
}
.task-completed {
text-decoration: line-through;
font-style: italic;
color: #2a363b80;
}
.task-controls {
display: flex;
align-items: center;
}
.task-clear-div {
display: flex;
justify-content: center;
margin: 2.5rem 0 1.5rem 0;
}
.task-btn {
min-width: 4rem;
border: none;
outline: none;
padding: .7rem .9rem;
background-color: #FF9A00;
}
.task-btn:not(:last-child) {
border-right : solid 1px black;
}
.task-btn:hover, .task-btn:focus {
background-color: #FF165D;
}
.task-input, .task-btn-edit {
border-radius: 7px 0 0 7px;
}
.task-btn-submit, .task-btn-do {
border-radius: 0 7px 7px 0;
}
.task-btn-clear {
border-radius: 7px;
}