-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path100-projects-004-book-list2.css
More file actions
124 lines (106 loc) · 1.91 KB
/
100-projects-004-book-list2.css
File metadata and controls
124 lines (106 loc) · 1.91 KB
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
* {
background-color: #f4f4f4;
margin: 0;
padding: 0;
background-color: #006778;
}
body {
font-family: Arial, sans-serif;
background-color: #006778;
}
.page-wrapper {
border: 8px #006778 solid;
border-radius: 15px;
margin: 10px;
background: #006778;
/*width: 100%;*/
/*height: 100%;*/
min-height: 900px;
}
.container {
display: flex;
flex-direction: column;
align-items: center;
border: 8px #9f792c solid;
border-radius: 15px;
margin: 8px 20px;
padding: 15px;
background-color: #000;
}
.container2 {
min-height: 500px;
background-color: #000;
}
h1 {
display: flex;
justify-content: center;
color: #d7a22a;
background-color: #006778;
font-weight: 700;
font-size: 48px;
width: 100%;
}
form {
display: flex;
flex-direction: column;
background-color: #006778;
color: #444;
padding: 8px;
gap: 5px;
border: 3px #d7a22a solid;
}
label {
display: flex;
flex-direction: column;
width: 150px;
color: #666;
background-color: #ddd;
}
label[for='title'], label[for='author'] {
font-weight: bold;
}
input {
color: #ffffff;
background-color: #000;
width: 300px;
}
input[type=submit] {
cursor: pointer;
}
.button {
color: #000;
background-color: #f4f4f4;
border-radius: 15px;
width: 100px;
align-self: end;
}
#book-list {
list-style: none;
padding: 20px;
margin: 0;
}
.book-item {
background-color: #fff;
margin-bottom: 5px;
padding: 10px;
border: 1px solid #ddd;
position: relative;
}
.delete-btn, .complete-btn {
margin-left: 10px;
padding: 3px;
border: none;
cursor: pointer;
}
.delete-btn {
background-color: #f44336;
color: #fff;
}
.complete-btn {
background-color: #4CAF50;
color: #fff;
}
.book-item.completed {
text-decoration: line-through;
color: #4CAF50;
}