-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathcover.css
91 lines (82 loc) · 1.63 KB
/
cover.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
html, body {
background-repeat: no-repeat;
background-size: contain;
background-position: center center;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
-webkit-box-pack: center;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-box-align: center;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
*, *:before, *:after {
box-sizing: border-box;
position: relative;
}
.container {
max-width: 550px;
padding: 0;
margin: 0 auto;
min-height: 200px;
display: inline;
-webkit-perspective: 800px;
perspective: 800px;
-webkit-perspective-origin: 50% 50%;
perspective-origin: 50% 50%;
}
.book {
position: relative;
margin-left: 37%;
width: 100px;
height: 130px;
background: #f8b899;
border-radius: 0 15px 15px 0;
}
.book::after {
position: absolute;
left: 75px;
width: 12px;
height: 135px;
background: #eaa583;
content: "";
}
.title {
margin-top: 20px;
font-size: 2em;
max-width: 18ch;
text-align: center;
font-family: 'Roboto Slab', serif;
color: #222;
}
span {
border-bottom-color: #ff2e01;
border-bottom: 3px solid #f8b899;
-webkit-transition: .3s;
transition: .3s;
}
span:hover {
background-color: #f8b899;
}
p {
text-align: center;
}
a {
text-decoration: none;
font-weight: bold;
color: #333;
}