-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbookhomepageCSS.css
More file actions
executable file
·192 lines (182 loc) · 3.97 KB
/
bookhomepageCSS.css
File metadata and controls
executable file
·192 lines (182 loc) · 3.97 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
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
/* for author link opacity */
/* Chrome, Safari, Opera */
@-webkit-keyframes mymove {
100% {opacity: 0.6;}
}
/* Standard syntax */
@keyframes mymove {
100% {opacity: 0.6;}
}
/* for new books link opacity */
/* Chrome, Safari, Opera */
@-webkit-keyframes mymove2 {
100% {opacity: 0.8;}
}
/* Standard syntax */
@keyframes mymove2 {
100% {opacity: 0.8;}
}
body {
background-image: url("Images/white-floral.jpg");
background-repeat: repeat;
background-attachment: fixed;
margin: 0px;}
main {
overflow: auto;
width: 1000px;
margin: 0px auto;
background-color: rgba(165, 42, 42, 0.5);}
/* header */
header {
max-width: 1539px;
min-width: 1000px;
margin: 0px auto;}
header h1 {
background-color: rgb(255, 238, 212);
padding: 20px;
text-align: center;
margin: 0px;}
div#hgroup {
background-image: url("Images/old-floral.jpg");
background-repeat: no-repeat;
font-family: Georgia;
padding: 10px 50px;}
header h2 {
font-style: italic;
font-size: 20px;
margin: 10px 0px;}
h2.quote {
width: 600px;
margin: 0px auto;
font-size: 18px;}
header h3 {
font-weight: normal;
font-size: 16px;
margin: 10px 0px;}
h3.quote {
text-align: right;}
/* aside */
aside {
float: left;
width: 300px;}
nav {
background-color: PeachPuff;
padding: 20px;
margin: 15px;}
nav#favebook blockquote {
margin: 15px;}
/* nav figures */
nav figure {
text-align: center;}
/* appled to all sections */
div#content {
float: left;
width: 700px;}
div#content h2 {
font-size: 30px;}
section{
background-color: MistyRose;
padding: 20px;
margin: 15px;}
/* author section */
section#author {
overflow: auto;}
section#author figure {
float: left;
margin: 10px;}
section#author figcaption {
font-size: 10px;}
section#author h2 {
margin: 20px 0px 0px 75px;
width: 250px;
float: left;
font-size: 30px;}
section#author blockquote {
float: left;
font-family: Georgia;
font-size: 24px;
font-style: italic;
width: 350px;
margin: 0px;
margin-left: 10px;}
section#author blockquote p {
margin: 0px 50px;}
section#author blockquote img {
width: 40px;
height: 32px;
position: relative;}
img#left {
top: 30px;}
img#right {
left: 285px;
bottom: 25px;}
section#author p#desc {
font-size: 18px;
float: left;
width: 320px;
margin: 30px 20px;
padding: 20px 0px;
border-top: 1px solid Silver;
border-bottom: 1px solid Silver;}
section#author a {
text-decoration: none;
color: Black;
float:left;}
section#author:hover {
-webkit-animation: mymove 0.5s; /* Chrome, Safari, Opera */
animation: mymove 0.5s;
-webkit-animation-fill-mode: forwards; /* Chrome, Safari, Opera */
animation-fill-mode: forwards;}
/* new books section */
/* section.single-item img {
float: left;
margin: 25px 50px;} */
section.single-item {
padding: 0px;
padding-left: 30px;
padding-bottom: 10px;}
section.single-item div {
background-image: url("Images/parchment.jpg");
background-repeat: no-repeat;}
section.single-item h1 {
position: relative;
top: 15px; /*fixme*/
left: 30px;}
section.single-item h4 {
position: relative;
left: 30px;
padding-bottom: 15px;}
section.single-item a {
text-decoration: none;
font-family: Georgia;
color: black;}
/*section.single-item div:hover {
-webkit-animation: mymove2 0.5s; //Chrome, Safari, Opera
animation: mymove2 0.5s;
-webkit-animation-fill-mode: forwards; // Chrome, Safari, Opera
animation-fill-mode: forwards;} */
div.new {
background-color: MistyRose;
margin: 15px;}
h2.new {
padding: 15px;
padding-top: 30px;
margin: 0px;
text-align: center;}
/* to-read section */
section#to-read {
overflow: auto;}
section#to-read figure {
margin: 15px 30px;
width: 150px;
height: 260px;
float: left;}
section#to-read p {
font-size: 18px;}
/* footer */
footer {
clear: left;
margin: 15px;
border-top: 1px solid DimGray;}
footer h4 {
margin-top: 15px;}