kbigdelysh commited on
Commit
42e4dfb
·
1 Parent(s): 20409f8

Enhance styling and typography in index.html

Browse files

- Update font to 'IBM Plex Sans' for improved readability
- Adjust line height, font sizes, and letter spacing for better visual hierarchy
- Increase maximum width of main content area and logo size
- Refine button styles and spacing for a more polished appearance
- Modify table padding and font sizes for consistency
- Update image sizes for Colab button and logo

Files changed (1) hide show
  1. index.html +38 -25
index.html CHANGED
@@ -4,36 +4,45 @@
4
  <meta charset="utf-8" />
5
  <meta name="viewport" content="width=device-width, initial-scale=1" />
6
  <title>RapidFire AI — LLM Fine-Tuning Workbench</title>
 
 
 
7
  <style>
8
  body {
9
- font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
10
- line-height: 1.6;
11
  color: #ffffff;
12
  background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #f5576c 100%);
13
  min-height: 100vh;
14
  margin: 0;
15
  padding: 2rem 1rem;
16
  transition: background 0.3s, color 0.3s;
 
 
17
  }
18
  main {
19
- max-width: 900px;
20
  margin: 0 auto;
21
  padding: 2rem;
22
  }
23
  h1 {
24
- font-size: 2rem;
25
- margin-bottom: 1rem;
26
  color: #ffffff;
 
 
27
  }
28
  h3 {
29
- font-size: 1.3rem;
30
  font-weight: 700;
31
- margin-top: 1.5rem;
32
- margin-bottom: 0.75rem;
33
  color: #ffffff;
 
34
  }
35
  p {
36
- margin-bottom: 1rem;
 
37
  }
38
  a {
39
  color: #a0d8ff;
@@ -48,28 +57,29 @@
48
  padding-left: 2rem;
49
  }
50
  ul li {
51
- margin-bottom: 0.5rem;
 
52
  }
53
  strong {
54
  font-weight: 600;
55
  }
56
  .logo {
57
  display: block;
58
- max-width: 300px;
59
  height: auto;
60
- margin: 0 auto 2rem auto;
61
  }
62
  .github-button {
63
  display: inline-flex;
64
  align-items: center;
65
- padding: 0.25rem 0.5rem;
66
  background-color: rgba(255, 255, 255, 0.2);
67
  color: #ffffff;
68
  text-decoration: none;
69
  border-radius: 4px;
70
  border: 1px solid rgba(255, 255, 255, 0.3);
71
- font-weight: 400;
72
- font-size: 0.875rem;
73
  transition: background-color 0.2s, border-color 0.2s;
74
  }
75
  .github-button:hover {
@@ -79,15 +89,17 @@
79
  color: #ffffff;
80
  }
81
  .github-button svg {
82
- margin-right: 0.35rem;
 
 
83
  }
84
  .github-button .repo-name {
85
  background-color: #0969da;
86
  color: #ffffff;
87
- padding: 0.15rem 0.4rem;
88
  border-radius: 3px;
89
- margin-left: 0.35rem;
90
- font-size: 0.875rem;
91
  }
92
  .colab-section {
93
  margin: 2rem 0;
@@ -108,7 +120,7 @@
108
  text-decoration: none;
109
  }
110
  .colab-button img {
111
- height: 40px;
112
  display: block;
113
  }
114
  .notebooks-table {
@@ -122,15 +134,16 @@
122
  .notebooks-table th {
123
  background-color: rgba(0, 0, 0, 0.3);
124
  color: #ffffff;
125
- padding: 1rem;
126
  text-align: left;
127
  font-weight: 600;
128
- font-size: 1rem;
129
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
130
  }
131
  .notebooks-table td {
132
- padding: 1rem;
133
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
 
134
  }
135
  .notebooks-table tr:last-child td {
136
  border-bottom: none;
@@ -139,7 +152,7 @@
139
  background-color: rgba(255, 255, 255, 0.05);
140
  }
141
  .notebooks-table .colab-button img {
142
- height: 32px;
143
  }
144
 
145
  @media (prefers-color-scheme: dark) {
@@ -190,7 +203,7 @@
190
 
191
  <div class="colab-section">
192
  <h3>📓 Try it now:</h3>
193
- <p style="margin-bottom: 1.5rem; font-size: 1rem;">
194
  Try RapidFire AI in the Google Colab Notebook with no local installation—get started in under 3 minutes!
195
  </p>
196
 
 
4
  <meta charset="utf-8" />
5
  <meta name="viewport" content="width=device-width, initial-scale=1" />
6
  <title>RapidFire AI — LLM Fine-Tuning Workbench</title>
7
+ <link rel="preconnect" href="https://fonts.googleapis.com">
8
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
9
+ <link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&display=swap" rel="stylesheet">
10
  <style>
11
  body {
12
+ font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
13
+ line-height: 1.7;
14
  color: #ffffff;
15
  background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #f5576c 100%);
16
  min-height: 100vh;
17
  margin: 0;
18
  padding: 2rem 1rem;
19
  transition: background 0.3s, color 0.3s;
20
+ font-size: 18px;
21
+ letter-spacing: 0.01em;
22
  }
23
  main {
24
+ max-width: 1000px;
25
  margin: 0 auto;
26
  padding: 2rem;
27
  }
28
  h1 {
29
+ font-size: 2.5rem;
30
+ margin-bottom: 1.5rem;
31
  color: #ffffff;
32
+ font-weight: 700;
33
+ letter-spacing: -0.02em;
34
  }
35
  h3 {
36
+ font-size: 1.75rem;
37
  font-weight: 700;
38
+ margin-top: 2rem;
39
+ margin-bottom: 1rem;
40
  color: #ffffff;
41
+ letter-spacing: -0.01em;
42
  }
43
  p {
44
+ margin-bottom: 1.25rem;
45
+ font-size: 1.1rem;
46
  }
47
  a {
48
  color: #a0d8ff;
 
57
  padding-left: 2rem;
58
  }
59
  ul li {
60
+ margin-bottom: 0.75rem;
61
+ font-size: 1.05rem;
62
  }
63
  strong {
64
  font-weight: 600;
65
  }
66
  .logo {
67
  display: block;
68
+ max-width: 400px;
69
  height: auto;
70
+ margin: 0 auto 3rem auto;
71
  }
72
  .github-button {
73
  display: inline-flex;
74
  align-items: center;
75
+ padding: 0.35rem 0.7rem;
76
  background-color: rgba(255, 255, 255, 0.2);
77
  color: #ffffff;
78
  text-decoration: none;
79
  border-radius: 4px;
80
  border: 1px solid rgba(255, 255, 255, 0.3);
81
+ font-weight: 500;
82
+ font-size: 1rem;
83
  transition: background-color 0.2s, border-color 0.2s;
84
  }
85
  .github-button:hover {
 
89
  color: #ffffff;
90
  }
91
  .github-button svg {
92
+ margin-right: 0.4rem;
93
+ width: 18px;
94
+ height: 18px;
95
  }
96
  .github-button .repo-name {
97
  background-color: #0969da;
98
  color: #ffffff;
99
+ padding: 0.2rem 0.5rem;
100
  border-radius: 3px;
101
+ margin-left: 0.4rem;
102
+ font-size: 0.95rem;
103
  }
104
  .colab-section {
105
  margin: 2rem 0;
 
120
  text-decoration: none;
121
  }
122
  .colab-button img {
123
+ height: 48px;
124
  display: block;
125
  }
126
  .notebooks-table {
 
134
  .notebooks-table th {
135
  background-color: rgba(0, 0, 0, 0.3);
136
  color: #ffffff;
137
+ padding: 1.25rem;
138
  text-align: left;
139
  font-weight: 600;
140
+ font-size: 1.15rem;
141
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
142
  }
143
  .notebooks-table td {
144
+ padding: 1.25rem;
145
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
146
+ font-size: 1.05rem;
147
  }
148
  .notebooks-table tr:last-child td {
149
  border-bottom: none;
 
152
  background-color: rgba(255, 255, 255, 0.05);
153
  }
154
  .notebooks-table .colab-button img {
155
+ height: 38px;
156
  }
157
 
158
  @media (prefers-color-scheme: dark) {
 
203
 
204
  <div class="colab-section">
205
  <h3>📓 Try it now:</h3>
206
+ <p style="margin-bottom: 1.5rem;">
207
  Try RapidFire AI in the Google Colab Notebook with no local installation—get started in under 3 minutes!
208
  </p>
209