mindchain commited on
Commit
170e433
·
verified ·
1 Parent(s): d8bc360

Upload src/index.css with huggingface_hub

Browse files
Files changed (1) hide show
  1. src/index.css +52 -71
src/index.css CHANGED
@@ -2,93 +2,74 @@
2
  @tailwind components;
3
  @tailwind utilities;
4
 
5
- * {
6
- box-sizing: border-box;
7
- margin: 0;
8
- padding: 0;
9
- }
10
-
11
- body {
12
- font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
13
- background-color: #111827;
14
- color: #f3f4f6;
15
- line-height: 1.6;
16
- }
17
 
18
- pre {
19
- white-space: pre-wrap;
20
- word-wrap: break-word;
21
  }
22
 
23
- code {
24
- font-family: 'Fira Code', 'Monaco', 'Consolas', monospace;
25
- }
 
26
 
27
- /* Scrollbar styling */
28
- ::-webkit-scrollbar {
29
- width: 8px;
30
- height: 8px;
31
- }
32
 
33
- ::-webkit-scrollbar-track {
34
- background: #1f2937;
35
- }
36
 
37
- ::-webkit-scrollbar-thumb {
38
- background: #4b5563;
39
- border-radius: 4px;
40
- }
41
 
42
- ::-webkit-scrollbar-thumb:hover {
43
- background: #6b7280;
44
- }
45
 
46
- /* Custom animations */
47
- @keyframes fadeIn {
48
- from {
49
- opacity: 0;
50
- transform: translateY(10px);
51
  }
52
- to {
53
- opacity: 1;
54
- transform: translateY(0);
55
  }
56
- }
57
 
58
- .animate-fade-in {
59
- animation: fadeIn 0.3s ease-out;
60
- }
61
 
62
- /* Gradient text */
63
- .gradient-text {
64
- background: linear-gradient(135deg, #6366f1, #a855f7);
65
- -webkit-background-clip: text;
66
- -webkit-text-fill-color: transparent;
67
- background-clip: text;
68
  }
69
 
70
- /* Code block styling */
71
- pre code {
72
- display: block;
73
- padding: 1rem;
74
- overflow-x: auto;
75
- }
76
 
77
- /* Button hover effects */
78
- button {
79
- transition: all 0.2s ease;
80
- }
81
 
82
- button:hover {
83
- transform: translateY(-1px);
84
- }
85
 
86
- /* Card hover effects */
87
- .card-hover {
88
- transition: all 0.2s ease;
89
- }
90
 
91
- .card-hover:hover {
92
- transform: translateY(-2px);
93
- box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
94
  }
 
2
  @tailwind components;
3
  @tailwind utilities;
4
 
5
+ @layer base {
6
+ body {
7
+ @apply bg-slate-950 text-slate-100 antialiased;
8
+ }
 
 
 
 
 
 
 
 
9
 
10
+ ::selection {
11
+ @apply bg-indigo-500/30;
12
+ }
13
  }
14
 
15
+ @layer components {
16
+ .card {
17
+ @apply bg-slate-900/80 backdrop-blur-sm border border-slate-800 rounded-2xl;
18
+ }
19
 
20
+ .card-hover {
21
+ @apply transition-all duration-300 hover:border-slate-700 hover:shadow-xl hover:shadow-indigo-500/5;
22
+ }
 
 
23
 
24
+ .btn {
25
+ @apply px-4 py-2 rounded-xl font-medium transition-all duration-200;
26
+ }
27
 
28
+ .btn-primary {
29
+ @apply bg-gradient-to-r from-indigo-600 to-purple-600 text-white hover:from-indigo-500 hover:to-purple-500 shadow-lg shadow-indigo-500/25;
30
+ }
 
31
 
32
+ .btn-secondary {
33
+ @apply bg-slate-800 text-slate-200 hover:bg-slate-700 border border-slate-700;
34
+ }
35
 
36
+ .code-block {
37
+ @apply bg-slate-950 border border-slate-800 rounded-xl p-4 font-mono text-sm overflow-x-auto;
 
 
 
38
  }
39
+
40
+ .gradient-text {
41
+ @apply bg-gradient-to-r from-indigo-400 via-purple-400 to-pink-400 bg-clip-text text-transparent;
42
  }
 
43
 
44
+ .glow {
45
+ @apply relative;
46
+ }
47
 
48
+ .glow::before {
49
+ content: '';
50
+ @apply absolute -inset-1 bg-gradient-to-r from-indigo-600 to-purple-600 rounded-2xl blur-lg opacity-25;
51
+ }
 
 
52
  }
53
 
54
+ @layer utilities {
55
+ .scrollbar-thin {
56
+ scrollbar-width: thin;
57
+ scrollbar-color: #475569 #1e293b;
58
+ }
 
59
 
60
+ .scrollbar-thin::-webkit-scrollbar {
61
+ @apply w-2 h-2;
62
+ }
 
63
 
64
+ .scrollbar-thin::-webkit-scrollbar-track {
65
+ @apply bg-slate-900 rounded-full;
66
+ }
67
 
68
+ .scrollbar-thin::-webkit-scrollbar-thumb {
69
+ @apply bg-slate-700 rounded-full;
70
+ }
 
71
 
72
+ .scrollbar-thin::-webkit-scrollbar-thumb:hover {
73
+ @apply bg-slate-600;
74
+ }
75
  }