UI enhancements and performance optimizations

This commit is contained in:
Satyam
2026-02-18 12:52:17 +05:30
parent ffbbc61726
commit 36e74e9fbc
10 changed files with 89 additions and 47 deletions
+41
View File
@@ -40,3 +40,44 @@
.read-the-docs {
color: #888;
}
/* --- Hidden Attribution Utilities --- */
.attribution-ghost {
opacity: 0;
font-size: 0;
position: absolute;
width: 0;
height: 0;
overflow: hidden;
user-select: text; /* Allows selection/copying */
pointer-events: none;
white-space: pre;
}
.attribution-reveal {
opacity: 0;
font-size: 8px; /* Tiny but not 0 */
color: transparent; /* Invisible text */
user-select: text;
transition: all 0.3s ease;
}
.attribution-reveal::selection {
background: #22c55e; /* Highlight color reveals it */
color: white; /* Text becomes white on selection */
opacity: 1;
}
.nav-ghost-y5 {
opacity: 0;
font-size: 0;
position: absolute;
top: 0;
left: 0;
width: 1px;
height: 1px;
overflow: hidden;
user-select: text;
pointer-events: none;
z-index: -1;
}