Spaces:
Sleeping
Sleeping
Upload styles/globals.css with huggingface_hub
Browse files- styles/globals.css +132 -0
styles/globals.css
ADDED
|
@@ -0,0 +1,132 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
@tailwind base;
|
| 2 |
+
@tailwind components;
|
| 3 |
+
@tailwind utilities;
|
| 4 |
+
|
| 5 |
+
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Roboto+Mono:wght@300;400&display=swap');
|
| 6 |
+
|
| 7 |
+
:root {
|
| 8 |
+
--font-playfair: 'Playfair Display', serif;
|
| 9 |
+
--font-inter: 'Inter', sans-serif;
|
| 10 |
+
--font-roboto-mono: 'Roboto Mono', monospace;
|
| 11 |
+
}
|
| 12 |
+
|
| 13 |
+
body {
|
| 14 |
+
background-color: #050505;
|
| 15 |
+
color: #ffffff;
|
| 16 |
+
overflow-x: hidden;
|
| 17 |
+
-webkit-font-smoothing: antialiased;
|
| 18 |
+
}
|
| 19 |
+
|
| 20 |
+
/* Custom Scrollbar */
|
| 21 |
+
::-webkit-scrollbar {
|
| 22 |
+
width: 8px;
|
| 23 |
+
}
|
| 24 |
+
::-webkit-scrollbar-track {
|
| 25 |
+
background: #050505;
|
| 26 |
+
}
|
| 27 |
+
::-webkit-scrollbar-thumb {
|
| 28 |
+
background: #333;
|
| 29 |
+
border-radius: 4px;
|
| 30 |
+
}
|
| 31 |
+
::-webkit-scrollbar-thumb:hover {
|
| 32 |
+
background: #555;
|
| 33 |
+
}
|
| 34 |
+
|
| 35 |
+
/* Noise Overlay */
|
| 36 |
+
.noise-overlay {
|
| 37 |
+
position: fixed;
|
| 38 |
+
top: 0;
|
| 39 |
+
left: 0;
|
| 40 |
+
width: 100%;
|
| 41 |
+
height: 100%;
|
| 42 |
+
pointer-events: none;
|
| 43 |
+
z-index: 50;
|
| 44 |
+
opacity: 0.07;
|
| 45 |
+
background-image: url('data:image/svg+xml,%3Csvg viewBox=%220 0 200 200%22 xmlns=%22http://www.w3.org/2000/svg%22%3E%3Cfilter id=%22noiseFilter%22%3E%3CfeTurbulence type=%22fractalNoise%22 baseFrequency=%220.8%22 numOctaves=%223%22 stitchTiles=%22stitch%22/%3E%3C/filter%3E%3Crect width=%22100%25%22 height=%22100%25%22 filter=%22url(%23noiseFilter)%22 opacity=%221%22/%3E%3C/svg%3E');
|
| 46 |
+
}
|
| 47 |
+
|
| 48 |
+
/* Liquid Metal Button Effect */
|
| 49 |
+
.liquid-btn {
|
| 50 |
+
position: relative;
|
| 51 |
+
overflow: hidden;
|
| 52 |
+
transition: all 0.5s ease;
|
| 53 |
+
background: #fff;
|
| 54 |
+
color: #000;
|
| 55 |
+
}
|
| 56 |
+
.liquid-btn::before {
|
| 57 |
+
content: '';
|
| 58 |
+
position: absolute;
|
| 59 |
+
top: 0;
|
| 60 |
+
left: -100%;
|
| 61 |
+
width: 100%;
|
| 62 |
+
height: 100%;
|
| 63 |
+
background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
|
| 64 |
+
transition: 0.5s;
|
| 65 |
+
}
|
| 66 |
+
.liquid-btn:hover::before {
|
| 67 |
+
left: 100%;
|
| 68 |
+
}
|
| 69 |
+
|
| 70 |
+
/* Electric Card Border */
|
| 71 |
+
.electric-border {
|
| 72 |
+
position: relative;
|
| 73 |
+
background: rgba(10, 10, 10, 0.8);
|
| 74 |
+
backdrop-filter: blur(10px);
|
| 75 |
+
}
|
| 76 |
+
.electric-border::after {
|
| 77 |
+
content: '';
|
| 78 |
+
position: absolute;
|
| 79 |
+
bottom: -1px;
|
| 80 |
+
left: 0;
|
| 81 |
+
width: 100%;
|
| 82 |
+
height: 1px;
|
| 83 |
+
background: linear-gradient(90deg, transparent, #fff, transparent);
|
| 84 |
+
opacity: 0.5;
|
| 85 |
+
}
|
| 86 |
+
.electric-border:hover::after {
|
| 87 |
+
opacity: 1;
|
| 88 |
+
box-shadow: 0 0 10px #fff;
|
| 89 |
+
}
|
| 90 |
+
|
| 91 |
+
/* Glitch Text Classes */
|
| 92 |
+
.glitch {
|
| 93 |
+
position: relative;
|
| 94 |
+
}
|
| 95 |
+
.glitch::before,
|
| 96 |
+
.glitch::after {
|
| 97 |
+
content: attr(data-text);
|
| 98 |
+
position: absolute;
|
| 99 |
+
top: 0;
|
| 100 |
+
left: 0;
|
| 101 |
+
width: 100%;
|
| 102 |
+
height: 100%;
|
| 103 |
+
background: #050505;
|
| 104 |
+
}
|
| 105 |
+
.glitch::before {
|
| 106 |
+
left: 2px;
|
| 107 |
+
text-shadow: -1px 0 #00ffff;
|
| 108 |
+
clip: rect(24px, 550px, 90px, 0);
|
| 109 |
+
animation: glitch-anim-2 3s infinite linear alternate-reverse;
|
| 110 |
+
}
|
| 111 |
+
.glitch::after {
|
| 112 |
+
left: -2px;
|
| 113 |
+
text-shadow: -1px 0 #ff00ff;
|
| 114 |
+
clip: rect(85px, 550px, 140px, 0);
|
| 115 |
+
animation: glitch-anim-1 2.5s infinite linear alternate-reverse;
|
| 116 |
+
}
|
| 117 |
+
@keyframes glitch-anim-1 {
|
| 118 |
+
0% { clip: rect(20px, 9999px, 80px, 0); }
|
| 119 |
+
20% { clip: rect(130px, 9999px, 160px, 0); }
|
| 120 |
+
40% { clip: rect(60px, 9999px, 100px, 0); }
|
| 121 |
+
60% { clip: rect(10px, 9999px, 40px, 0); }
|
| 122 |
+
80% { clip: rect(120px, 9999px, 150px, 0); }
|
| 123 |
+
100% { clip: rect(40px, 9999px, 90px, 0); }
|
| 124 |
+
}
|
| 125 |
+
@keyframes glitch-anim-2 {
|
| 126 |
+
0% { clip: rect(120px, 9999px, 150px, 0); }
|
| 127 |
+
20% { clip: rect(10px, 9999px, 50px, 0); }
|
| 128 |
+
40% { clip: rect(90px, 9999px, 110px, 0); }
|
| 129 |
+
60% { clip: rect(30px, 9999px, 70px, 0); }
|
| 130 |
+
80% { clip: rect(60px, 9999px, 100px, 0); }
|
| 131 |
+
100% { clip: rect(140px, 9999px, 170px, 0); }
|
| 132 |
+
}
|