Mehdi commited on
Commit
c9ae95e
·
verified ·
1 Parent(s): 3efa8b7

Upload styles/globals.css with huggingface_hub

Browse files
Files changed (1) hide show
  1. styles/globals.css +99 -47
styles/globals.css CHANGED
@@ -2,54 +2,106 @@
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
  }
 
2
  @tailwind components;
3
  @tailwind utilities;
4
 
5
+ @layer base {
6
+ :root {
7
+ --background: 0 0% 100%;
8
+ --foreground: 222.2 84% 4.9%;
9
+ --card: 0 0% 100%;
10
+ --card-foreground: 222.2 84% 4.9%;
11
+ --popover: 0 0% 100%;
12
+ --popover-foreground: 222.2 84% 4.9%;
13
+ --primary: 221.2 83.2% 53.3%;
14
+ --primary-foreground: 210 40% 98%;
15
+ --secondary: 210 40% 96.1%;
16
+ --secondary-foreground: 222.2 84% 4.9%;
17
+ --muted: 210 40% 96.1%;
18
+ --muted-foreground: 215.4 16.3% 46.9%;
19
+ --accent: 210 40% 96.1%;
20
+ --accent-foreground: 222.2 84% 4.9%;
21
+ --destructive: 0 84.2% 60.2%;
22
+ --destructive-foreground: 210 40% 98%;
23
+ --border: 214.3 31.8% 91.4%;
24
+ --input: 214.3 31.8% 91.4%;
25
+ --ring: 221.2 83.2% 53.3%;
26
+ --radius: 0.5rem;
27
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28
 
29
+ .dark {
30
+ --background: 222.2 84% 4.9%;
31
+ --foreground: 210 40% 98%;
32
+ --card: 222.2 84% 4.9%;
33
+ --card-foreground: 210 40% 98%;
34
+ --popover: 222.2 84% 4.9%;
35
+ --popover-foreground: 210 40% 98%;
36
+ --primary: 217.2 91.2% 59.8%;
37
+ --primary-foreground: 222.2 84% 4.9%;
38
+ --secondary: 217.2 32.6% 17.5%;
39
+ --secondary-foreground: 210 40% 98%;
40
+ --muted: 217.2 32.6% 17.5%;
41
+ --muted-foreground: 215 20.2% 65.1%;
42
+ --accent: 217.2 32.6% 17.5%;
43
+ --accent-foreground: 210 40% 98%;
44
+ --destructive: 0 62.8% 30.6%;
45
+ --destructive-foreground: 210 40% 98%;
46
+ --border: 217.2 32.6% 17.5%;
47
+ --input: 217.2 32.6% 17.5%;
48
+ --ring: 224.3 76.3% 94.1%;
49
+ }
50
  }
51
 
52
+ @layer base {
53
+ * {
54
+ @apply border-border;
55
+ }
56
+ body {
57
+ @apply bg-background text-foreground;
58
+ font-family: 'Vazirmatn', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
59
+ }
60
+
61
+ /* Persian Font Support */
62
+ @font-face {
63
+ font-family: 'Vazirmatn';
64
+ src: url('/fonts/Vazirmatn-Regular.woff2') format('woff2');
65
+ font-weight: 400;
66
+ font-style: normal;
67
+ font-display: swap;
68
+ }
69
+
70
+ @font-face {
71
+ font-family: 'Vazirmatn';
72
+ src: url('/fonts/Vazirmatn-Bold.woff2') format('woff2');
73
+ font-weight: 700;
74
+ font-style: normal;
75
+ font-display: swap;
76
+ }
77
+
78
+ /* RTL Support */
79
+ .rtl {
80
+ direction: rtl;
81
+ text-align: right;
82
+ }
83
+
84
+ .ltr {
85
+ direction: ltr;
86
+ text-align: left;
87
+ }
88
+
89
+ /* Custom scrollbar */
90
+ ::-webkit-scrollbar {
91
+ width: 8px;
92
+ height: 8px;
93
+ }
94
+
95
+ ::-webkit-scrollbar-track {
96
+ background: hsl(var(--muted));
97
+ }
98
+
99
+ ::-webkit-scrollbar-thumb {
100
+ background: hsl(var(--primary) / 0.5);
101
+ border-radius: var(--radius);
102
+ }
103
+
104
+ ::-webkit-scrollbar-thumb:hover {
105
+ background: hsl(var(--primary));
106
+ }
107
  }