Optitransfer commited on
Commit
233fc4b
·
verified ·
1 Parent(s): 85fa11f

Page styling

Browse files
Files changed (1) hide show
  1. index.html +38 -37
index.html CHANGED
@@ -12,28 +12,20 @@
12
  <meta property="og:url" content="https://huggingface.co/OptiTransferData" />
13
  <title>Optitransfer</title>
14
  <style>
15
- :root {
16
- --bg: #0a0a0a;
17
- --surface: #111113;
18
- --border: #1e1e22;
19
- --text: #e4e4e7;
20
- --muted: #71717a;
21
- --accent: #a1a1aa;
22
  --mono: 'SF Mono', 'Cascadia Code', 'Fira Code', Consolas, monospace;
23
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
24
- }
25
- * { margin: 0; padding: 0; box-sizing: border-box; }
26
- body {
27
  font-family: var(--sans);
28
- background: var(--bg);
29
- color: var(--text);
30
  line-height: 1.6;
31
  -webkit-font-smoothing: antialiased;
32
- }
33
- .container {
34
- max-width: 720px;
35
  margin: 0 auto;
36
- padding: 4rem 2rem;
37
  }
38
  .header {
39
  text-align: center;
@@ -44,12 +36,13 @@
44
  font-weight: 500;
45
  letter-spacing: 0.08em;
46
  text-transform: uppercase;
47
- color: var(--accent);
48
  margin-bottom: 1rem;
49
  }
50
  .header .tagline {
51
  font-size: 1.05rem;
52
- color: var(--muted);
 
53
  font-weight: 400;
54
  max-width: 480px;
55
  margin: 0 auto;
@@ -59,7 +52,7 @@
59
  display: inline-block;
60
  font-family: var(--mono);
61
  font-size: 0.875rem;
62
- color: var(--text);
63
  background: var(--surface);
64
  border: 1px solid var(--border);
65
  padding: 0.6rem 1.5rem;
@@ -80,7 +73,8 @@
80
  font-weight: 600;
81
  letter-spacing: 0.12em;
82
  text-transform: uppercase;
83
- color: var(--muted);
 
84
  margin-bottom: 1.25rem;
85
  padding-bottom: 0.5rem;
86
  border-bottom: 1px solid var(--border);
@@ -91,18 +85,20 @@
91
  gap: 1rem;
92
  text-align: center;
93
  }
 
94
  .stat .number {
95
  font-family: var(--mono);
96
  font-size: 1.5rem;
97
  font-weight: 600;
98
- color: var(--text);
99
  }
100
  .stat .label {
101
  font-size: 0.7rem;
102
  font-weight: 500;
103
  letter-spacing: 0.08em;
104
  text-transform: uppercase;
105
- color: var(--muted);
 
106
  margin-top: 0.25rem;
107
  }
108
  .links {
@@ -116,12 +112,12 @@
116
  border-radius: 8px;
117
  padding: 1.25rem;
118
  text-decoration: none;
119
- color: var(--text);
120
  transition: border-color 0.2s, transform 0.15s;
121
  display: block;
122
  }
123
  .link-card:hover {
124
- border-color: var(--accent);
125
  transform: translateY(-1px);
126
  }
127
  .link-card .label {
@@ -129,7 +125,8 @@
129
  font-weight: 600;
130
  letter-spacing: 0.1em;
131
  text-transform: uppercase;
132
- color: var(--muted);
 
133
  margin-bottom: 0.35rem;
134
  }
135
  .link-card .value { font-size: 0.95rem; }
@@ -143,17 +140,20 @@
143
  border-radius: 8px;
144
  padding: 1rem 1.25rem;
145
  text-decoration: none;
146
- color: var(--text);
147
  transition: border-color 0.2s;
148
  }
149
- a.space:hover { border-color: var(--accent); }
150
  .space .desc { max-width: 560px; }
151
  .space .name { font-weight: 500; font-size: 0.95rem; }
152
- .space .desc { font-size: 0.8rem; color: var(--muted); }
153
- .space .arrow { color: var(--muted); font-size: 1.1rem; }
 
 
154
  .research-list { list-style: none; padding: 0; }
155
  .research-list li {
156
- color: var(--muted);
 
157
  font-size: 0.9rem;
158
  padding: 0.4rem 0;
159
  border-bottom: 1px solid var(--border);
@@ -165,29 +165,30 @@
165
  width: 6px;
166
  height: 6px;
167
  border-radius: 50%;
168
- background: var(--accent);
169
  margin-right: 0.75rem;
170
  vertical-align: middle;
171
  }
172
  .footer {
173
  text-align: center;
174
- color: var(--muted);
 
175
  font-size: 0.8rem;
176
  margin-top: 2rem;
177
  padding-top: 2rem;
178
  border-top: 1px solid var(--border);
179
  }
180
- .footer a { color: var(--accent); text-decoration: none; }
181
  .footer a:hover { text-decoration: underline; }
182
  @media (max-width: 600px) {
183
  .container { padding: 2rem 1rem; }
184
  .stats { grid-template-columns: repeat(2, 1fr); }
185
  .links { grid-template-columns: 1fr; }
186
  }
187
- .section p { color: var(--muted); font-size: 0.95rem; margin-bottom: 0.75rem; }
188
- .section p strong { color: var(--text); font-weight: 500; }
189
  .stats.three { grid-template-columns: repeat(3, 1fr); }
190
- .research-list li strong { color: var(--text); font-weight: 500; }
191
  </style>
192
  </head>
193
  <body>
@@ -293,7 +294,7 @@
293
 
294
  <div class="section">
295
  <h2>Research</h2>
296
- <p>The research behind the releases is on the founder's page, <a href="https://huggingface.co/Optitransfer" style="color:var(--accent)">@Optitransfer</a>.</p>
297
  <div class="spaces">
298
  <a href="https://huggingface.co/Optitransfer/Qwen2.5-7B-Instruct-converge-collective-v1" class="space">
299
  <div>
 
12
  <meta property="og:url" content="https://huggingface.co/OptiTransferData" />
13
  <title>Optitransfer</title>
14
  <style>
15
+ .container, .container * { margin: 0; padding: 0; box-sizing: border-box; }
16
+ /* Hugging Face scopes this stylesheet to the card's wrapper, so :root and body never match: every variable and
17
+ base style lives on .container. Colours inherit from the page so the card reads in the light and dark themes. */
18
+ .container {
19
+ --surface: rgba(127, 127, 127, 0.08);
20
+ --border: rgba(127, 127, 127, 0.28);
 
21
  --mono: 'SF Mono', 'Cascadia Code', 'Fira Code', Consolas, monospace;
22
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
 
 
 
23
  font-family: var(--sans);
 
 
24
  line-height: 1.6;
25
  -webkit-font-smoothing: antialiased;
26
+ max-width: 760px;
 
 
27
  margin: 0 auto;
28
+ padding: 3rem 1.5rem;
29
  }
30
  .header {
31
  text-align: center;
 
36
  font-weight: 500;
37
  letter-spacing: 0.08em;
38
  text-transform: uppercase;
39
+ color: inherit;
40
  margin-bottom: 1rem;
41
  }
42
  .header .tagline {
43
  font-size: 1.05rem;
44
+ color: inherit;
45
+ opacity: 0.68;
46
  font-weight: 400;
47
  max-width: 480px;
48
  margin: 0 auto;
 
52
  display: inline-block;
53
  font-family: var(--mono);
54
  font-size: 0.875rem;
55
+ color: inherit;
56
  background: var(--surface);
57
  border: 1px solid var(--border);
58
  padding: 0.6rem 1.5rem;
 
73
  font-weight: 600;
74
  letter-spacing: 0.12em;
75
  text-transform: uppercase;
76
+ color: inherit;
77
+ opacity: 0.68;
78
  margin-bottom: 1.25rem;
79
  padding-bottom: 0.5rem;
80
  border-bottom: 1px solid var(--border);
 
85
  gap: 1rem;
86
  text-align: center;
87
  }
88
+ .stat { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 1rem 0.5rem; }
89
  .stat .number {
90
  font-family: var(--mono);
91
  font-size: 1.5rem;
92
  font-weight: 600;
93
+ color: inherit;
94
  }
95
  .stat .label {
96
  font-size: 0.7rem;
97
  font-weight: 500;
98
  letter-spacing: 0.08em;
99
  text-transform: uppercase;
100
+ color: inherit;
101
+ opacity: 0.68;
102
  margin-top: 0.25rem;
103
  }
104
  .links {
 
112
  border-radius: 8px;
113
  padding: 1.25rem;
114
  text-decoration: none;
115
+ color: inherit;
116
  transition: border-color 0.2s, transform 0.15s;
117
  display: block;
118
  }
119
  .link-card:hover {
120
+ border-color: inherit;
121
  transform: translateY(-1px);
122
  }
123
  .link-card .label {
 
125
  font-weight: 600;
126
  letter-spacing: 0.1em;
127
  text-transform: uppercase;
128
+ color: inherit;
129
+ opacity: 0.68;
130
  margin-bottom: 0.35rem;
131
  }
132
  .link-card .value { font-size: 0.95rem; }
 
140
  border-radius: 8px;
141
  padding: 1rem 1.25rem;
142
  text-decoration: none;
143
+ color: inherit;
144
  transition: border-color 0.2s;
145
  }
146
+ a.space:hover { border-color: inherit; }
147
  .space .desc { max-width: 560px; }
148
  .space .name { font-weight: 500; font-size: 0.95rem; }
149
+ .space .desc { font-size: 0.8rem; color: inherit;
150
+ opacity: 0.68; }
151
+ .space .arrow { color: inherit;
152
+ opacity: 0.68; font-size: 1.1rem; }
153
  .research-list { list-style: none; padding: 0; }
154
  .research-list li {
155
+ color: inherit;
156
+ opacity: 0.68;
157
  font-size: 0.9rem;
158
  padding: 0.4rem 0;
159
  border-bottom: 1px solid var(--border);
 
165
  width: 6px;
166
  height: 6px;
167
  border-radius: 50%;
168
+ background: currentColor;
169
  margin-right: 0.75rem;
170
  vertical-align: middle;
171
  }
172
  .footer {
173
  text-align: center;
174
+ color: inherit;
175
+ opacity: 0.68;
176
  font-size: 0.8rem;
177
  margin-top: 2rem;
178
  padding-top: 2rem;
179
  border-top: 1px solid var(--border);
180
  }
181
+ .footer a { color: inherit; text-decoration: underline; }
182
  .footer a:hover { text-decoration: underline; }
183
  @media (max-width: 600px) {
184
  .container { padding: 2rem 1rem; }
185
  .stats { grid-template-columns: repeat(2, 1fr); }
186
  .links { grid-template-columns: 1fr; }
187
  }
188
+ .section p { font-size: 0.98rem; margin-bottom: 0.75rem; opacity: 0.9; }
189
+ .section p strong { font-weight: 600; }
190
  .stats.three { grid-template-columns: repeat(3, 1fr); }
191
+ .research-list li strong { font-weight: 600; }
192
  </style>
193
  </head>
194
  <body>
 
294
 
295
  <div class="section">
296
  <h2>Research</h2>
297
+ <p>The research behind the releases is on the founder's page, <a href="https://huggingface.co/Optitransfer" style="text-decoration:underline">@Optitransfer</a>.</p>
298
  <div class="spaces">
299
  <a href="https://huggingface.co/Optitransfer/Qwen2.5-7B-Instruct-converge-collective-v1" class="space">
300
  <div>