-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
178 lines (169 loc) · 3.24 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
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
body{
margin: 0%;
font-family: 'Times New Roman';
background-color: rgb(69, 62, 101);
}
.cm1{
display: flex;
background-color: rgb(33, 32, 32);
height: 100px;
width: 100%;
color: white;
align-items: center;
justify-content: space-between;
}
a{
color: white;
text-decoration: none;
font-size: large;
/* margin: 0px 20px; */
}
/* .login:hover{
color: red;
}
.cata:hover{
color: red;
} */
.titl{
font-size: xxx-large;
font-family: 'Times New Roman';
padding-left: 20px;
}
.cata {
position: relative;
background: none;
border: none;
color: white;
font-size: 18px;
padding: 10px 20px;/
cursor: pointer;
outline: none;
transition: color 0.3s ease;
overflow: hidden;
}
.cata::before {
content: '';
position: absolute;
bottom: 0;
left: -50%;
height: 3px;
width: 100%;
background-color: red; /* Yellow bar */
transition: left 0.7s ease;
z-index: -1;
}
.cata:hover::before {
left: 0;
/* z-index: -1; */
}
.cata:hover {
color: red; /* Optional: Change text color on hover */
z-index: 3;
}
.cata span {
position: relative;
z-index: 2; /* Ensures the text is above the animated bar */
}
.login {
position: relative;
background: none;
border: none;
color: white;
font-size: 18px;
padding: 10px 20px;/
cursor: pointer;
outline: none;
transition: color 0.3s ease;
overflow: hidden;
}
.login::before {
content: '';
position: absolute;
bottom: 0;
left: -50%;
height: 3px;
width: 100%;
background-color: cyan; /* Yellow bar */
transition: left 0.7s ease;
z-index: -1;
}
.login:hover::before {
left: 0;
/* z-index: -1; */
}
.login:hover {
color: cyan; /* Optional: Change text color on hover */
z-index: 3;
}
.login span {
position: relative;
z-index: 2; /* Ensures the text is above the animated bar */
}
.BookDisplay{
display: flex;
justify-content: space-evenly;
align-items: center;
flex-wrap: wrap;
}
.card{
height: 500px;
width: 255px;
border: 1px solid red;
margin: 20px 0;
}
.writing{
border: 1px solid black;
background:white;
height: 198px;
display: flex;
flex-direction: column;
align-items: center;
}
.imgz{
border: 1px solid black;
height: 300px;
background-color: antiquewhite;
}
.buyz{
height: 20px;
width: 30%;
margin: 20px;
background-color: rgb(90,79,207);
color: white;
border: 2px solid #3D34A5;
box-shadow: 0 4px 6px rgba(48, 42, 122, 0.3);
transition: all 0.3s ease;
}
.buyz:hover{
background-color: #473CAB;
border-color: #3D34A5;
box-shadow: 0 6px 10px rgba(48, 42, 122, 0.5);
transform: scale(1.05);
text-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}
.imgs{
height: 300px;
width: 100%;
transition: all 0.3s ease;
}
.imgs:hover{
transform: scale(1.05);
}
.foot{
display: flex;
/* gap: 50px; */
background-color: rgb(33, 32, 32);
height: 40px;
color: white;
padding: 10px;
padding-top: 12px;
padding-bottom: 2px;
/* align-items: center; */
justify-content: space-around;
}
.hove{
transition: all 0.3s ease;
}
.hove:hover{
transform: scale(1.35);
}