-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
154 lines (129 loc) · 2.05 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
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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
* {
margin: 0;
}
header {
border: 3px solid black;
padding: 10px 20px;
align-self: stretch;
}
h2 {
align-self: center;
}
header nav {
display: flex;
justify-content: space-between;
}
nav ul {
list-style: none;
display: flex;
align-items: center;
font-weight: 600;
}
nav a {
text-decoration: none;
color: black;
font-size: 20px;
font-weight: 700;
}
nav ul li {
padding-left: 20px;
padding-right: 20px;
cursor: pointer;
}
nav ul li:nth-child(even) {
border-right: 2px black solid;
border-left: 2px black solid;
}
.book-item {
display: flex;
align-items: center;
justify-content: space-between;
padding-left: 2%;
padding-right: 2%;
margin: 0 auto;
}
.book-item:nth-child(odd) {
background-color: #dcdcdc;
}
.main {
display: flex;
max-width: 100%;
flex-direction: column;
justify-content: center;
align-items: center;
gap: 15px;
padding: 10px;
}
.books-list {
align-self: stretch;
display: flex;
justify-content: center;
flex-direction: column;
align-items: center;
gap: 20px;
}
#books-container {
align-self: stretch;
margin-left: 5%;
margin-right: 5%;
}
hr {
background-color: black;
width: 15%;
height: 2px;
}
.add-book h2 {
align-self: center;
}
form {
margin-top: 40px;
}
form button {
float: right;
background-color: white;
border-right: 3px solid black;
border-bottom: 3px solid black;
}
.book-item button {
background-color: white;
border-right: 5px solid black;
border-bottom: 5px solid black;
margin-top: 2px;
margin-bottom: 2px;
}
form input {
border: 2px solid black;
width: 50vw;
padding: 3px 8px;
}
.section {
display: none;
}
.section.active {
display: flex;
flex-direction: column;
}
.date {
font-weight: 600;
align-self: flex-end;
padding-right: 10px;
}
footer {
border: 3px black solid;
position: absolute;
bottom: 10px;
padding: 5px 20px;
left: 10px;
right: 10px;
font-weight: 600;
}
.contact h2 {
margin-bottom: 40px;
}
.contact p {
margin-bottom: 40px;
font-weight: 600;
}
.contact ul {
font-weight: 600;
}