Spaces:
Build error
Build error
Mehdi commited on
Upload styles/globals.css with huggingface_hub
Browse files- styles/globals.css +120 -0
styles/globals.css
ADDED
|
@@ -0,0 +1,120 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
body {
|
| 29 |
+
max-width: 100vw;
|
| 30 |
+
overflow-x: hidden;
|
| 31 |
+
font-family: 'Vazirmatn', sans-serif;
|
| 32 |
+
direction: rtl;
|
| 33 |
+
}
|
| 34 |
+
|
| 35 |
+
body {
|
| 36 |
+
color: rgb(var(--foreground-rgb));
|
| 37 |
+
background: linear-gradient(
|
| 38 |
+
to bottom,
|
| 39 |
+
transparent,
|
| 40 |
+
rgb(var(--background-end-rgb))
|
| 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: #f1f1f1;
|
| 58 |
+
border-radius: 10px;
|
| 59 |
+
}
|
| 60 |
+
|
| 61 |
+
::-webkit-scrollbar-thumb {
|
| 62 |
+
background: #888;
|
| 63 |
+
border-radius: 10px;
|
| 64 |
+
}
|
| 65 |
+
|
| 66 |
+
::-webkit-scrollbar-thumb:hover {
|
| 67 |
+
background: #555;
|
| 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 |
+
/* RTL support for markdown */
|
| 87 |
+
.markdown-body {
|
| 88 |
+
direction: rtl;
|
| 89 |
+
text-align: right;
|
| 90 |
+
}
|
| 91 |
+
|
| 92 |
+
.markdown-body code {
|
| 93 |
+
direction: ltr;
|
| 94 |
+
text-align: left;
|
| 95 |
+
}
|
| 96 |
+
|
| 97 |
+
/* Voice animation */
|
| 98 |
+
.voice-wave {
|
| 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 |
+
}
|