-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbook_detail.CSS
88 lines (83 loc) · 1.85 KB
/
book_detail.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
*{
margin: 0;
padding: 0;
box-sizing: border-box;
/* background-image: url(images/background.jpg); */
}
body{
background-image: url('images/background3.jpg');
}
.temp {
height: 580px;
width: 80%;
display: flex;
position: absolute;
background-color: #bdb6a9ab;
margin-top: 35px;
margin-left: 150px;
border-radius: 20px;
}
.temp img{
height: 500px;
width: 30%;
margin: 4% 20px ;
margin-left: 50px;
opacity: 0; /* Initially set the opacity to 0 to hide the content */
animation: fadeIn 0.8s ease-in-out forwards; ;
}
@keyframes fadeIn {
0% {
opacity: 2;
transform: translateY(60px); /* Optionally, you can add a slight vertical translation */
}
100% {
opacity: 2;
transform: translatex(0px);
}
}
.temp .detail{
opacity: 0; /* Initially set the opacity to 0 to hide the content */
animation: fadeIn 0.8s ease-in-out forwards;
}
@keyframes fadeIn {
0% {
opacity: 0;
transform: translateY(35px); /* Optionally, you can add a slight vertical translation */
}
100% {
opacity: 2;
transform: translatex(0px);
}
}
.temp .detail h1{
font-size: 50px;
font-style: bold;
color: rgb(107, 48, 0);
text-align: left;
margin-top: 80px;
margin-left:5px;
}
.temp .detail h2{
font-size: 15px;
color: #4E1D04;
text-align: left;
margin-top: 10px;
margin-left:5px;
margin-right: 5px;
}
.temp .detail .button{
background-color: rgba(167, 125, 40, 0);
color:rgb(24, 22, 21);
padding: 5px;
margin-top:20px;
border-radius: 10px;
border-color: rgb(162, 105, 0);
}
.temp .detail .button:hover{
cursor: pointer;
background-color: rgb(199, 108, 33);
transform: scale(1.05) smooth; /* Scale on hover */
}
.button:hover::before {
opacity: 10;
}