-
Notifications
You must be signed in to change notification settings - Fork 0
/
Styles.css
116 lines (101 loc) · 1.91 KB
/
Styles.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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'JetBrains Mono', monospace;
display: flex;
flex-direction: column;
gap: 24px;
padding: 14px;
min-height: 100vh;
background-color: #313131;
}
h1 {
text-align: center;
-webkit-text-fill-color: #ffffff;
}
h4 {
-webkit-text-fill-color: #ffffff;
}
form,
section {
display: flex;
flex-direction: column;
gap: 10px;
width: 100%;
max-width: 800px;
margin: 0 auto;
}
/* Text box styles*/
form textarea {
resize: none;
width: 100%;
min-height: 60px;
padding: 10px;
background-color: #ffffff;
border-radius: 6px;
}
form button {
padding: 4px;
cursor: pointer;
}
.todoContainer,
.todo {
display: flex;
flex-direction: column;
gap: 14px;
background-color: #313131;
}
.todo {
padding: 14px;
border: 1px solid lightgray;
border-radius: 4px;
background-color: #ffffff;
}
.btnContainer {
display: flex;
gap: 6px;
margin-left: auto;
}
.iconBtn {
background: transparent;
border: none;
outline: none;
cursor: pointer;
padding: 0 8px;
display: grid;
place-items: center;
aspect-ratio: 1/1;
border-radius: 50%;
}
.iconBtn:hover {
background: rgb(242, 240, 240);
}
/* Add a black background color to the top navigation */
.topnav {
background-color: #ffffff;
overflow: hidden;
}
/* Style the links inside the navigation bar */
.topnav button {
float: right;
color: #c4c4c4;
text-align: center;
padding: 14px 16px;
text-decoration: none;
font-size: 17px;
-webkit-text-fill-color: #313131;
margin: 4px;
}
/* Change the color of links on hover */
.topnav a:hover {
background-color: #ddd;
color: black;
}
/* Add a color to the active/current link */
.topnav a.active {
background-color: #04AA6D;
color: white;
}