Crossberry commited on
Commit
c6e48e3
·
verified ·
1 Parent(s): d5de1f9

Style add

Browse files
Files changed (1) hide show
  1. style.css +110 -2
style.css CHANGED
@@ -1,16 +1,124 @@
 
1
  @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  body {
4
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
 
 
 
5
  }
6
-
7
  .gradient-text {
8
- background: linear-gradient(90deg, #2EA44F 0%, #0366D6 100%);
9
  -webkit-background-clip: text;
10
  background-clip: text;
11
  color: transparent;
12
  }
13
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14
  .octocat-float {
15
  animation: float 6s ease-in-out infinite;
16
  }
 
1
+
2
  @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
3
 
4
+ :root {
5
+ --primary: #24292e;
6
+ --primary-light: #2f363d;
7
+ --primary-dark: #1b1f23;
8
+ --secondary: #6a737d;
9
+ --accent: #2ea44f;
10
+ --accent-dark: #22863d;
11
+ --white: #ffffff;
12
+ --gray-50: #f9fafb;
13
+ --gray-100: #f3f4f6;
14
+ --gray-200: #e5e7eb;
15
+ --gray-300: #d1d5db;
16
+ --gray-400: #9ca3af;
17
+ --gray-500: #6b7280;
18
+ --gray-600: #4b5563;
19
+ --gray-700: #374151;
20
+ --gray-800: #1f2937;
21
+ --gray-900: #111827;
22
+ }
23
+
24
  body {
25
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
26
+ line-height: 1.5;
27
+ color: var(--gray-800);
28
+ background-color: var(--gray-50);
29
  }
 
30
  .gradient-text {
31
+ background: linear-gradient(90deg, var(--accent) 0%, #0366D6 100%);
32
  -webkit-background-clip: text;
33
  background-clip: text;
34
  color: transparent;
35
  }
36
 
37
+ /* Buttons */
38
+ .btn {
39
+ display: inline-flex;
40
+ align-items: center;
41
+ justify-content: center;
42
+ padding: 0.75rem 1.5rem;
43
+ border-radius: 0.375rem;
44
+ font-weight: 500;
45
+ text-align: center;
46
+ transition: all 0.15s ease;
47
+ cursor: pointer;
48
+ }
49
+
50
+ .btn-primary {
51
+ background-color: var(--accent);
52
+ color: var(--white);
53
+ border: 1px solid transparent;
54
+ }
55
+
56
+ .btn-primary:hover {
57
+ background-color: var(--accent-dark);
58
+ transform: translateY(-1px);
59
+ }
60
+
61
+ .btn-outline {
62
+ background-color: transparent;
63
+ color: var(--accent);
64
+ border: 1px solid var(--accent);
65
+ }
66
+
67
+ .btn-outline:hover {
68
+ background-color: rgba(46, 164, 79, 0.1);
69
+ }
70
+
71
+ /* Cards */
72
+ .card {
73
+ background-color: var(--white);
74
+ border-radius: 0.5rem;
75
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
76
+ overflow: hidden;
77
+ transition: all 0.3s ease;
78
+ }
79
+
80
+ .card:hover {
81
+ transform: translateY(-5px);
82
+ box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
83
+ }
84
+
85
+ /* Animations */
86
+ @keyframes fadeIn {
87
+ from { opacity: 0; transform: translateY(10px); }
88
+ to { opacity: 1; transform: translateY(0); }
89
+ }
90
+
91
+ .fade-in {
92
+ animation: fadeIn 0.5s ease forwards;
93
+ }
94
+
95
+ /* Utility classes */
96
+ .text-primary {
97
+ color: var(--primary);
98
+ }
99
+
100
+ .bg-primary {
101
+ background-color: var(--primary);
102
+ }
103
+
104
+ .max-w-screen-xl {
105
+ max-width: 1280px;
106
+ }
107
+
108
+ .mx-auto {
109
+ margin-left: auto;
110
+ margin-right: auto;
111
+ }
112
+
113
+ .px-4 {
114
+ padding-left: 1rem;
115
+ padding-right: 1rem;
116
+ }
117
+
118
+ .py-8 {
119
+ padding-top: 2rem;
120
+ padding-bottom: 2rem;
121
+ }
122
  .octocat-float {
123
  animation: float 6s ease-in-out infinite;
124
  }