-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
111 lines (102 loc) · 2.78 KB
/
Copy pathstyle.css
File metadata and controls
111 lines (102 loc) · 2.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
body {
background-color: #000;
min-height: 100vh;
margin: 0;
padding: 20px;
display: flex;
flex-direction: column;
align-items: center;
perspective: 2000px;
overflow-y: auto;
overflow-x: hidden;
}
.audio-container, .pdf-container {
background: linear-gradient(160deg, #444 0%, #111 60%, #000 100%);
padding: 25px;
margin: 20px;
width: 1000px;
text-align: center;
transform-style: preserve-3d;
transform: translateZ(50px);
box-shadow:
0 20px 50px rgba(0, 0, 0, 0.5),
0 10px 20px rgba(0, 0, 0, 0.3),
inset 0 0 20px rgba(255, 255, 255, 0.1);
border-radius: 15px;
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
transition: all 0.3s ease;
box-sizing: border-box;
}
/* Contenedor específico para el PDF/imagen */
.pdf-container {
padding: 0;
overflow-x: hidden;
overflow-y: auto;
display: flex;
align-items: flex-start;
justify-content: center;
max-width: 1000px;
background: linear-gradient(160deg, #444 0%, #111 60%, #000 100%);
box-shadow:
0 30px 80px 0 rgba(0,0,0,0.85),
0 1.5px 6px 0 rgba(80,80,80,0.25),
0 0.5px 1.5px 0 rgba(255,255,255,0.08) inset;
border-radius: 15px;
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
transition: transform 0.3s cubic-bezier(.25,.8,.25,1), box-shadow 0.3s cubic-bezier(.25,.8,.25,1);
z-index: 2;
}
/* Efecto 3D/zoom solo en la caja de audio */
.audio-container:hover {
transform: scale(1.08) translateY(-40px);
box-shadow:
0 80px 180px 0 rgba(0,0,0,0.95),
0 20px 40px 0 rgba(80,80,80,0.25),
0 1px 3px 0 rgba(255,255,255,0.12) inset;
}
/* Efecto 3D/zoom solo en la caja de PDF/imagen */
.pdf-container:hover {
transform: scale(1.08) translateY(-40px);
box-shadow:
0 80px 180px 0 rgba(0,0,0,0.95),
0 20px 40px 0 rgba(80,80,80,0.25),
0 1px 3px 0 rgba(255,255,255,0.12) inset;
}
audio {
border-radius: 10px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
width: 100%;
}
/* Imagen ajustada exactamente al ancho de la caja */
.pdf-viewer {
border-radius: 15px;
width: 100%;
max-width: 100%;
height: auto;
object-fit: cover;
display: block;
background-color: transparent;
object-position: top;
margin: 0 auto;
}
.separator {
border: none;
height: 1px;
background: linear-gradient(
90deg,
transparent,
rgba(255, 255, 255, 0.3),
transparent
);
width: 60%;
margin: 15px auto;
}
.audio-container:hover, .pdf-container:hover {
transform: translateZ(75px) scale(1.02);
box-shadow:
0 25px 60px rgba(0, 0, 0, 0.6),
0 15px 30px rgba(0, 0, 0, 0.4),
inset 0 0 30px rgba(255, 255, 255, 0.15);
}