-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstylepokedex2.css
259 lines (225 loc) · 6.27 KB
/
stylepokedex2.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
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
background-color: #4b4a4a;
}
.book {
width: 500px; /* Largura total do livro é igual à largura de uma página */
height: 700px;
overflow: hidden;
position: relative;
display: flex;
border: 10px solid transparent; /* define uma borda transparente */
border-image: url('imgs/cinza.png') 10 stretch; /* aplica o gradiente à borda */
box-shadow:
0 0 0 30px rgb(241, 17, 17), /* segunda borda vermelha de 10px */
0 0 0 35px #343434; /* terceira borda azul de 15px */
background-image: url('imgs/Background2.png'); /* Substitua pelo caminho da imagem desejada */
background-size: cover; /* Ajusta a imagem para cobrir todo o fundo */
}
.page {
min-width: 500px; /* Altura mínima para garantir que todas as páginas tenham pelo menos essa altura */
min-height: 700px; /* Altura mínima para garantir que todas as páginas tenham pelo menos essa altura */
width: 500px; /* Largura fixa para todas as páginas */
height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background-image: url('imgs/Background2.png'); /* Substitua pelo caminho da imagem desejada */
background-size: cover; /* Ajusta a imagem para cobrir todo o fundo */
position: absolute;
transition: transform 0.3s;
}
.lastpage {
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background-image: url('imgs/lastpage.png'); /* Substitua pelo caminho da imagem desejada */
background-size: cover; /* Ajusta a imagem para cobrir todo o fundo */
box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
position: absolute;
transition: transform 0.3s;
}
.card {
width: 230px;
border-radius: 20px;
background: #1b233d;
padding: 5px;
overflow: hidden;
box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 20px 0px;
transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.card:hover {
transform: scale(1.05);
}
.card .top-section {
height: 150px;
border-radius: 15px;
display: flex;
flex-direction: column;
background: linear-gradient(45deg, rgb(156, 159, 159) 0%, rgb(236, 238, 238) 100%);
position: relative;
}
.card .top-section .border {
border-bottom-right-radius: 10px;
height: 40px;
width: 130px;
background: white;
background: #1b233d;
position: relative;
transform: skew(-40deg);
box-shadow: -10px -10px 0 0 #1b233d;
}
.card .top-section .border::before {
content: "";
position: absolute;
width: 25px;
height: 15px;
top: 0;
right: -15px;
background: rgba(255, 255, 255, 0);
border-top-left-radius: 10px;
box-shadow: -5px -5px 0 2px #1b233d;
}
.card .top-section::before {
content: "";
position: absolute;
top: 30px;
left: 0;
background: rgba(255, 255, 255, 0);
height: 15px;
width: 15px;
border-top-left-radius: 15px;
box-shadow: -5px -5px 0 2px #1b233d;
}
.card .top-section .icons {
position: absolute;
top: 0;
width: 100%;
height: 30px;
display: flex;
justify-content: space-between;
}
.card .top-section .icons .logo {
height: 100%;
aspect-ratio: 1;
padding: 7px 0 7px 15px;
}
.card .top-section .icons .logo .top-section {
height: 100%;
}
.card .top-section .icons .social-media {
height: 100%;
padding: 8px 15px;
display: flex;
gap: 7px;
}
.card .top-section .icons .social-media .svg {
height: 100%;
fill: #1b233d;
}
.card .top-section .icons .social-media .svg:hover {
fill: white;
}
.card .bottom-section {
margin-top: 15px;
padding: 10px 5px;
}
.card .bottom-section .title {
display: block;
font-size: 17px;
font-weight: bolder;
color: white;
text-align: center;
letter-spacing: 2px;
}
.card .bottom-section .row {
display: flex;
justify-content: space-between;
margin-top: 20px;
}
.card .bottom-section .row .item {
flex: 30%;
text-align: center;
padding: 5px;
color: rgba(170, 222, 243, 0.721);
}
.card .bottom-section .row .item .big-text {
font-size: 12px;
display: block;
}
.card .bottom-section .row .item .regular-text {
font-size: 9px;
}
.card .bottom-section .row .item:nth-child(2) {
border-left: 1px solid rgba(255, 255, 255, 0.126);
border-right: 1px solid rgba(255, 255, 255, 0.126);
}
.imagem {
display: flex; /* Use display flex para centralizar verticalmente e horizontalmente */
justify-content: center; /* Centraliza horizontalmente */
align-items: center; /* Centraliza verticalmente */
height: 100%; /* Define a altura igual à altura do elemento pai */
padding: 2px;
}
.imagem img {
width: 35%;
max-width: 100%; /* Certifica-se de que a imagem não ultrapasse a largura do elemento pai */
max-height: 100%; /* Certifica-se de que a imagem não ultrapasse a altura do elemento pai */
display: block; /* Remove espaço extra abaixo da imagem */
}
.imagem2 {
display: flex; /* Use display flex para centralizar verticalmente e horizontalmente */
justify-content: center; /* Centraliza horizontalmente */
align-items: center; /* Centraliza verticalmente */
height: 80%; /* Define a altura igual à altura do elemento pai */
padding: 2px;
}
.imagem2 img {
width: 25%;
max-width: 100%; /* Certifica-se de que a imagem não ultrapasse a largura do elemento pai */
max-height: 100%; /* Certifica-se de que a imagem não ultrapasse a altura do elemento pai */
display: block; /* Remove espaço extra abaixo da imagem */
}
.btn {
outline: 0;
display: inline-flex;
align-items: center;
justify-content: space-between;
background: #5b939a;
min-width: 200px;
border: 0;
border-radius: 4px;
box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
box-sizing: border-box;
padding: 16px 20px;
color: #fff;
font-size: 12px;
font-weight: 600;
letter-spacing: 1.2px;
text-transform: uppercase;
overflow: hidden;
cursor: pointer;
}
.btn:hover {
opacity: .95;
}
.btn .animation {
border-radius: 100%;
animation: ripple 0.6s linear infinite;
}
@keyframes ripple {
0% {
box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.1), 0 0 0 20px rgba(255, 255, 255, 0.1), 0 0 0 40px rgba(255, 255, 255, 0.1), 0 0 0 60px rgba(255, 255, 255, 0.1);
}
100% {
box-shadow: 0 0 0 20px rgba(255, 255, 255, 0.1), 0 0 0 40px rgba(255, 255, 255, 0.1), 0 0 0 60px rgba(255, 255, 255, 0.1), 0 0 0 80px rgba(255, 255, 255, 0);
}
}