-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
193 lines (162 loc) · 2.67 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
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
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
body {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'KG Miss Kindy Chunky', sans-serif;
}
/* ======= Beginning of the navigation and date style */
a {
text-decoration: none;
color: #000;
}
.container {
margin: 0 5vw;
}
.nav-container {
width: 100vw;
margin-left: -5vw;
display: flex;
justify-content: space-between;
align-items: center;
border: 2px solid #000;
}
.logo a {
font-weight: bold;
color: #3b3939;
margin-left: 15px;
cursor: pointer;
}
.nav-container ul {
list-style: none;
display: flex;
}
.nav-container ul li {
padding: 5px;
border-right: 2px solid #000;
cursor: pointer;
}
#contact {
display: none;
}
.nav-links li a:hover {
color: blue;
}
.timeDisplay {
float: right;
}
#add-book {
display: none;
}
/* end of the navigation and date style */
.app-title,
.add-book,
.contact-title {
text-align: center;
}
.app-title h1,
.contact-title h2,
#add-book h2 {
font-size: 42px;
}
#book-display {
margin: 16px 36px;
}
#book-display.active,
#add-book.active,
#contact.active {
display: flex;
flex-direction: column;
}
.book-list {
display: flex;
flex-direction: column;
border: 3px solid #000;
}
/* stylelint-disable-next-line no-descending-specificity */
.book-list li {
list-style: none;
line-height: 2.4;
display: flex;
justify-content: space-between;
padding: 8px 20px;
}
.book-list li:nth-child(odd) {
background-color: rgba(137, 137, 138, 0.5);
}
.item-list {
font-size: 17px;
font-weight: 700;
}
.remove-btn,
.btn {
width: 94px;
height: 34px;
padding: 2px;
font-size: 18px;
font-weight: 600;
box-shadow: 3px 3px;
border: 3px solid #000;
background-color: #fff;
cursor: pointer;
}
.form-div {
display: flex;
flex-direction: column;
align-items: center;
gap: 10px;
margin-top: -50px;
}
.warning {
color: #f31111;
}
.inputField {
width: 365px;
height: 42px;
font-size: 17px;
font-weight: 200;
padding: 0 10px;
border: 3px solid;
outline: none;
}
.inputField::placeholder {
font-weight: 600;
}
.submit-btn {
width: 60px;
margin-left: 330px;
}
.contact-me {
display: flex;
flex-direction: column;
align-items: center;
}
.contact-text,
.contact-list {
font-size: 18px;
}
/* stylelint-disable-next-line no-descending-specificity */
.contact-list li a {
text-decoration: none;
color: #000;
}
footer {
border: 3px solid;
margin: 16px 36px;
position: absolute;
bottom: 0;
left: 0;
right: 0;
}
.footer-info {
display: flex;
gap: 26px;
padding: 8px 20px;
}
.footer-info p {
font-size: 18px;
}
/* stylelint-disable-next-line no-descending-specificity */
.text-2 a:hover {
color: blue;
text-decoration: underline;
}