Skip to content

Commit 5307ca3

Browse files
committed
Update hologram.css
1 parent e614e64 commit 5307ca3

File tree

1 file changed

+27
-5
lines changed

1 file changed

+27
-5
lines changed

css/components/hologram.css

Lines changed: 27 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* Hologram Overlay Styles */
1+
/* Base Hologram Overlay Styles */
22
.hologram-overlay {
33
position: fixed;
44
top: 50%;
@@ -9,7 +9,7 @@
99
flex-direction: column;
1010
align-items: center;
1111
justify-content: center;
12-
pointer-events: none; /* Prevent interactions */
12+
pointer-events: none;
1313
}
1414

1515
/* Hologram Title and Subtitle */
@@ -54,13 +54,19 @@
5454

5555
/* Intensity Variants */
5656
.hologram-overlay[data-intensity="low"] .hologram-title,
57-
.hologram-overlay[data-intensity="low"] .hologram-subtitle { text-shadow: 0px 0px 5px rgba(255, 255, 255, 0.3); }
57+
.hologram-overlay[data-intensity="low"] .hologram-subtitle {
58+
text-shadow: 0px 0px 5px rgba(255, 255, 255, 0.3);
59+
}
5860

5961
.hologram-overlay[data-intensity="medium"] .hologram-title,
60-
.hologram-overlay[data-intensity="medium"] .hologram-subtitle { text-shadow: 0px 0px 10px rgba(255, 255, 255, 0.5); }
62+
.hologram-overlay[data-intensity="medium"] .hologram-subtitle {
63+
text-shadow: 0px 0px 10px rgba(255, 255, 255, 0.5);
64+
}
6165

6266
.hologram-overlay[data-intensity="high"] .hologram-title,
63-
.hologram-overlay[data-intensity="high"] .hologram-subtitle { text-shadow: 0px 0px 15px rgba(255, 255, 255, 0.7); }
67+
.hologram-overlay[data-intensity="high"] .hologram-subtitle {
68+
text-shadow: 0px 0px 15px rgba(255, 255, 255, 0.7);
69+
}
6470

6571
/* Color Variants */
6672
.hologram-overlay[data-variant="primary"] .hologram-title,
@@ -98,3 +104,19 @@
98104
color: var(--info);
99105
text-shadow: 0px 0px 10px var(--info-light), 0px 0px 20px var(--info);
100106
}
107+
108+
.hologram-overlay[data-variant="accent"] .hologram-title,
109+
.hologram-overlay[data-variant="accent"] .hologram-subtitle {
110+
color: var(--accent);
111+
text-shadow: 0px 0px 10px var(--accent-light), 0px 0px 20px var(--accent);
112+
}
113+
114+
/* Responsive Adjustments */
115+
@media (max-width: 768px) {
116+
.hologram-title {
117+
font-size: clamp(1.5rem, 4vw, 3rem);
118+
}
119+
.hologram-subtitle {
120+
font-size: clamp(0.875rem, 2vw, 1.5rem);
121+
}
122+
}

0 commit comments

Comments
 (0)