Spaces:
Build error
Build error
Mehdi commited on
Upload styles/globals.css with huggingface_hub
Browse files- styles/globals.css +23 -88
styles/globals.css
CHANGED
|
@@ -1,120 +1,55 @@
|
|
| 1 |
-
@import 'https://fonts.googleapis.com/css2?family=Vazirmatn:wght@100;200;300;400;500;600;700;800;900&display=swap';
|
| 2 |
-
|
| 3 |
@tailwind base;
|
| 4 |
@tailwind components;
|
| 5 |
@tailwind utilities;
|
| 6 |
|
| 7 |
-
:root {
|
| 8 |
-
--foreground-rgb: 0, 0, 0;
|
| 9 |
-
--background-start-rgb: 214, 219, 220;
|
| 10 |
-
--background-end-rgb: 255, 255, 255;
|
| 11 |
-
}
|
| 12 |
-
|
| 13 |
-
@media (prefers-color-scheme: dark) {
|
| 14 |
-
:root {
|
| 15 |
-
--foreground-rgb: 255, 255, 255;
|
| 16 |
-
--background-start-rgb: 0, 0, 0;
|
| 17 |
-
--background-end-rgb: 0, 0, 0;
|
| 18 |
-
}
|
| 19 |
-
}
|
| 20 |
-
|
| 21 |
* {
|
| 22 |
-
box-sizing: border-box;
|
| 23 |
-
padding: 0;
|
| 24 |
margin: 0;
|
|
|
|
|
|
|
| 25 |
}
|
| 26 |
|
| 27 |
-
html
|
| 28 |
-
|
| 29 |
-
max-width: 100vw;
|
| 30 |
-
overflow-x: hidden;
|
| 31 |
-
font-family: 'Vazirmatn', sans-serif;
|
| 32 |
-
direction: rtl;
|
| 33 |
}
|
| 34 |
|
| 35 |
body {
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
rgb(var(--background-start-rgb));
|
| 43 |
}
|
| 44 |
|
| 45 |
-
a {
|
| 46 |
-
color: inherit;
|
| 47 |
-
text-decoration: none;
|
| 48 |
-
}
|
| 49 |
-
|
| 50 |
-
/* Custom scrollbar */
|
| 51 |
::-webkit-scrollbar {
|
| 52 |
width: 8px;
|
| 53 |
height: 8px;
|
| 54 |
}
|
| 55 |
|
| 56 |
::-webkit-scrollbar-track {
|
| 57 |
-
background: #
|
| 58 |
-
border-radius: 10px;
|
| 59 |
}
|
| 60 |
|
| 61 |
::-webkit-scrollbar-thumb {
|
| 62 |
-
background: #
|
| 63 |
-
border-radius:
|
| 64 |
}
|
| 65 |
|
| 66 |
::-webkit-scrollbar-thumb:hover {
|
| 67 |
-
background: #
|
| 68 |
-
}
|
| 69 |
-
|
| 70 |
-
/* Loading animation */
|
| 71 |
-
@keyframes shimmer {
|
| 72 |
-
0% {
|
| 73 |
-
background-position: -1000px 0;
|
| 74 |
-
}
|
| 75 |
-
100% {
|
| 76 |
-
background-position: 1000px 0;
|
| 77 |
-
}
|
| 78 |
-
}
|
| 79 |
-
|
| 80 |
-
.loading-shimmer {
|
| 81 |
-
animation: shimmer 2s infinite;
|
| 82 |
-
background: linear-gradient(to right, #eff1f3 4%, #e2e2e2 25%, #eff1f3 36%);
|
| 83 |
-
background-size: 1000px 100%;
|
| 84 |
}
|
| 85 |
|
| 86 |
-
|
| 87 |
-
|
| 88 |
-
|
| 89 |
-
|
| 90 |
}
|
| 91 |
|
| 92 |
-
.
|
| 93 |
-
|
| 94 |
-
|
| 95 |
}
|
| 96 |
|
| 97 |
-
|
| 98 |
-
|
| 99 |
-
display: flex;
|
| 100 |
-
align-items: center;
|
| 101 |
-
gap: 3px;
|
| 102 |
-
}
|
| 103 |
-
|
| 104 |
-
.voice-bar {
|
| 105 |
-
width: 3px;
|
| 106 |
-
background: #0ea5e9;
|
| 107 |
-
border-radius: 3px;
|
| 108 |
-
animation: wave 1.2s ease-in-out infinite;
|
| 109 |
-
}
|
| 110 |
-
|
| 111 |
-
.voice-bar:nth-child(1) { animation-delay: 0s; height: 10px; }
|
| 112 |
-
.voice-bar:nth-child(2) { animation-delay: 0.1s; height: 20px; }
|
| 113 |
-
.voice-bar:nth-child(3) { animation-delay: 0.2s; height: 15px; }
|
| 114 |
-
.voice-bar:nth-child(4) { animation-delay: 0.3s; height: 25px; }
|
| 115 |
-
.voice-bar:nth-child(5) { animation-delay: 0.4s; height: 18px; }
|
| 116 |
-
|
| 117 |
-
@keyframes wave {
|
| 118 |
-
0%, 100% { transform: scaleY(0.5); }
|
| 119 |
-
50% { transform: scaleY(1); }
|
| 120 |
}
|
|
|
|
|
|
|
|
|
|
| 1 |
@tailwind base;
|
| 2 |
@tailwind components;
|
| 3 |
@tailwind utilities;
|
| 4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
* {
|
|
|
|
|
|
|
| 6 |
margin: 0;
|
| 7 |
+
padding: 0;
|
| 8 |
+
box-sizing: border-box;
|
| 9 |
}
|
| 10 |
|
| 11 |
+
html {
|
| 12 |
+
scroll-behavior: smooth;
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
}
|
| 14 |
|
| 15 |
body {
|
| 16 |
+
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
|
| 17 |
+
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
|
| 18 |
+
-webkit-font-smoothing: antialiased;
|
| 19 |
+
-moz-osx-font-smoothing: grayscale;
|
| 20 |
+
background-color: #0f172a;
|
| 21 |
+
color: #e2e8f0;
|
|
|
|
| 22 |
}
|
| 23 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
::-webkit-scrollbar {
|
| 25 |
width: 8px;
|
| 26 |
height: 8px;
|
| 27 |
}
|
| 28 |
|
| 29 |
::-webkit-scrollbar-track {
|
| 30 |
+
background: #1e293b;
|
|
|
|
| 31 |
}
|
| 32 |
|
| 33 |
::-webkit-scrollbar-thumb {
|
| 34 |
+
background: #475569;
|
| 35 |
+
border-radius: 4px;
|
| 36 |
}
|
| 37 |
|
| 38 |
::-webkit-scrollbar-thumb:hover {
|
| 39 |
+
background: #64748b;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 40 |
}
|
| 41 |
|
| 42 |
+
@keyframes gradient {
|
| 43 |
+
0% { background-position: 0% 50%; }
|
| 44 |
+
50% { background-position: 100% 50%; }
|
| 45 |
+
100% { background-position: 0% 50%; }
|
| 46 |
}
|
| 47 |
|
| 48 |
+
.animate-gradient {
|
| 49 |
+
background-size: 200% 200%;
|
| 50 |
+
animation: gradient 3s ease infinite;
|
| 51 |
}
|
| 52 |
|
| 53 |
+
.monaco-editor {
|
| 54 |
+
background-color: #1e293b !important;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 55 |
}
|