-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
125 lines (103 loc) · 1.84 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
115
116
117
118
119
120
121
122
123
124
125
body {
display: flex;
flex-direction: column;
min-height: 100px;
background-color: #bdd5ea;
font-family: 'Times New Roman', Times, serif;
}
header {
padding: 20px;
max-width: 800px;
width: 100;
margin: 0 auto;
}
h1 {
font-size: 33px;
font-family: 'Times New Roman', Times, serif;
text-align: center;
margin-bottom: 40px;
}
#new-task-form {
display: flex;
}
#NTinput {
flex: content;
background-color: #f7f7ff;
padding: 10px;
width: 200px;
text-align: center;
font-size: 20px;
border: 2px bold black;
border-radius: 8px;
}
#NTsubmit {
flex: 1 1 0%;
background-color: #f0e6d1;
padding: 10px;
width: 100px;
text-align: center;
font-size: 20px;
border: 2px bold black;
border-radius: 8px;
margin: 0 auto;
cursor: pointer;
transition: 0.4s;
}
#NTsubmit:hover {
opacity: 0.8;
}
#NTsubmit:active {
opacity: 0.6;
}
main {
flex: 1 1 0%;
padding: 10px;
max-width: 800px;
width: 340px;
margin: 0 auto;
}
.task-list {
padding: 10px;
}
h2 {
font-size: 28px;
}
#tasks .task {
display: flex;
justify-content: space-between;
}
#tasks .task .content .text {
color: black;
font-size: 16px;
width: 170px;
transition: 0.4s;
border: 2px solid black;
border-radius: 4px;
}
#tasks .task .content .text:not(:read-only) {
color: #560bad;
}
#tasks .task .actions {
display: flex;
margin: 2px;
}
.task .actions button {
cursor: pointer;
height: 24px;
border: 1px solid black;
border-radius: 4px;
text-transform: uppercase;
transition: 0.4s;
}
.task .actions button:hover {
opacity: 0.8;
}
.task .actions button:active {
opacity: 0.6;
}
.task .actions .edit {
background-color: #4895ef;
}
.task .actions .delete {
background-color: #fe5f55;
}