forked from anuragverma108/SwapReads
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
106 lines (94 loc) · 1.83 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
body {
font-family: 'Poppins', sans-serif;
background-color: #f0f8ff;
text-align: center;
margin: 50px;
padding: 0;
}
.book-container {
margin-top: 50px;
}
button {
padding: 12px 30px;
font-size: 18px;
font-weight: 600;
background-color: #FF6F61;
color: white;
border: none;
border-radius: 12px;
cursor: pointer;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 10px;
transition: all 0.3s ease;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
margin-bottom: 20px;
}
button:hover {
background-color: #FFB03B;
transform: translateY(-3px);
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.book-info {
margin-top: 20px;
border: 2px solid #FF6F61;
padding: 20px;
border-radius: 12px;
background-color: #fff7f1;
display: none;
text-align: left;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
h2 {
font-size: 28px;
color: #FF6F61;
font-weight: 600;
margin-bottom: 10px;
text-transform: uppercase;
letter-spacing: 2px;
}
p {
font-size: 18px;
color: #333;
line-height: 1.5;
}
button:focus {
outline: none;
box-shadow: 0 0 8px rgba(255, 111, 97, 0.6);
}
.book-info {
animation: fadeIn 0.5s ease;
}
@keyframes fadeIn {
0% {
opacity: 0;
transform: translateY(20px);
}
100% {
opacity: 1;
transform: translateY(0);
}
}
#back-btn {
padding: 12px 30px;
font-size: 18px;
font-weight: 600;
background-color: #FF6F61;
color: white;
border: none;
border-radius: 12px;
cursor: pointer;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 10px;
transition: all 0.3s ease;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
margin-bottom: 20px;
}
#back-btn:hover {
background-color: #FFB03B;
transform: translateY(-3px);
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}