-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
150 lines (125 loc) · 2.04 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
* {
font-family: Verdana, Geneva, Tahoma, sans-serif;
}
.heading {
text-align: center;
}
input[type="text"] {
border: 1px solid black;
border-radius: 2px;
margin-bottom: 10px;
padding: 4px 6px;
width: 100%;
box-sizing: border-box;
}
.book-list {
border: 3px solid black;
margin-bottom: 10px;
height: 60vh;
overflow-y: scroll;
}
.book-list div {
display: flex;
flex-direction: row;
justify-content: space-between;
box-sizing: border-box;
padding: 2px 5px;
}
.book-list div:nth-child(odd) {
background-color: rgba(200, 200, 200, 0.4);
}
button {
all: unset;
border: 3px solid black;
padding: 4px 12px;
}
form {
margin: 20px auto;
display: flex;
flex-direction: column;
box-sizing: border-box;
width: 50%;
}
button.btn {
display: flex;
align-self: flex-end;
width: 40px;
}
nav {
outline: 1px solid black;
justify-content: space-between;
padding: 2px 30px;
}
nav,
.main-links {
display: flex;
flex-direction: row;
box-sizing: border-box;
}
nav p {
font-weight: bold;
}
.main-links {
padding: 2px 10px;
}
.main-links li {
list-style: none;
padding: 0 20px;
}
.main-links li .middle {
border-left: 1px solid black;
border-right: 1px solid black;
padding: 0 20px;
}
.main-links li a {
text-decoration: none;
color: black;
}
div#date {
display: flex;
flex-direction: row;
justify-content: flex-end;
margin-top: 10px;
margin-bottom: 20px;
}
footer {
border: 1px solid black;
padding: 15px 20px;
position: relative;
box-sizing: border-box;
bottom: 0;
text-align: center;
}
/* add book page style */
.add-book {
padding: 50px 0;
text-align: center;
margin-bottom: 30px;
height: 50vh;
}
.add-book h1 {
margin-bottom: 50px;
}
/* contact info style */
.contact-info {
padding: 50px 15%;
margin-bottom: 30px;
height: 50vh;
}
.contact-info h2 {
text-align: center;
margin-bottom: 30px;
}
.contact-info ul li {
padding: 5px 0;
}
/* dynamically assigned styles */
li a.active {
color: blue;
}
.hide {
display: none;
}
.reveal {
display: block;
}