-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
121 lines (99 loc) · 1.5 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
117
118
119
120
121
body {
padding: 0;
margin: 0;
box-sizing: border-box;
}
/* * {
outline: 1px solid red;
} */
h1 {
font-size: 40px;
margin: 40px 0 0;
text-align: center;
}
.container {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.display-books {
width: 95%;
margin: 10px auto;
}
p {
margin-bottom: 0;
}
.input-fields {
padding: 10px 0;
}
.display {
display: flex;
justify-content: space-between;
align-items: center;
}
.display:nth-child(odd) {
background-color: lightgray;
}
.remove-btn {
border: 2px solid black;
background-color: #fff;
padding: 0.2rem 0.3rem;
margin: 4px 2px;
}
header {
border: 3px solid black;
margin: 10px 20px;
}
nav {
display: flex;
justify-content: space-between;
align-items: center;
font-size: 20px;
}
nav > a {
margin-left: 40px;
}
.nav-ul {
list-style: none;
display: flex;
gap: 20px;
margin-right: 60px;
}
nav > ul li {
cursor: pointer;
}
nav > ul li:nth-child(even) {
border-left: 2px solid black;
border-right: 2px solid black;
padding: 0 8px;
}
span {
position: absolute;
margin-bottom: 15px;
right: 20px;
}
footer {
border: 2px solid black;
margin: 40px 40px 0 40px;
}
.contact-section {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.section {
display: none;
}
.section.show {
display: flex;
flex-direction: column;
}
.list-books {
display: flex;
flex-direction: column;
}
.list-books.show {
display: none;
}