-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
117 lines (98 loc) · 1.78 KB
/
Copy pathstyles.css
File metadata and controls
117 lines (98 loc) · 1.78 KB
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
body {
font-family: Arial, sans-serif;
background-color: rgb(247, 128, 101);
color: #333;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
}
.contenedor {
text-align: center;
width: 30%;
max-width: fit-content;
}
#logo {
text-align: center;
width: 50%;
max-width: max-content;
}
.tarjeta {
background: #fff;
box-shadow: 0 6px 8px rgba(0, 0, 0, 0.1);
border-radius: 3%;
padding: 5%;
margin-bottom: 3%;
text-align: center;
transition: box-shadow 0.3s ease;
}
.tarjeta:hover {
box-shadow: 0px 8px 12px rgba(0, 0, 0, 0.3);
background-color: #f8f8f8;
}
.imagen-personaje {
width: 40%;
object-fit: contain;
margin-bottom: 5%;
}
.nombre {
font-size: 1.2rem;
font-weight: bold;
margin-top: 10px;
}
.cita {
font-size: 1rem;
font-style: italic;
color: #666;
margin: 3% 0;
}
.boton {
background-color: #db2f32;
color: #ffffff;
border: none;
padding: 4% 6%;
margin-bottom: 5%;
border-radius: 50px;
font-size: 1rem;
cursor: pointer;
transition: background-color 0.3s ease;
box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.2);
transition: box-shadow 0.3s ease;
}
.boton:hover {
background-color: #b62729;
box-shadow: 0px 8px 12px rgba(0, 0, 0, 0.3);
}
@media (max-width: 768px) {
.contenedor {
width: 80%;
}
#logo {
width: 70%;
}
.imagen-personaje {
width: 60%;
}
.tarjeta {
padding: 10%;
}
.boton {
padding: 4% 8%;
}
}
@media (max-width: 480px) {
.contenedor {
width: 90%; }
#logo {
width: 80%; }
.imagen-personaje {
width: 80%;
}
.tarjeta {
padding: 15%;
}
.boton {
padding: 4% 8%;
}
}