mvaloatto commited on
Commit
305b068
1 Parent(s): 9b770c7

Upload 13 files

Browse files
img/ico_datasets.png CHANGED
img/ico_followers.png CHANGED
img/ico_hf.png CHANGED
img/ico_models.png CHANGED
img/ico_spaces.png CHANGED
img/ico_x.png CHANGED
img/logo_xhf_beta.png CHANGED
index.html CHANGED
The diff for this file is too large to render. See raw diff
 
scripts.js CHANGED
@@ -1,12 +1,19 @@
1
  const tabs = document.querySelectorAll('.tabs input[type="radio"]');
2
  const tabContents = document.querySelectorAll('.tab-content');
 
3
 
4
  function showTab(tabIndex) {
5
  tabContents.forEach(content => {
6
  content.classList.remove('active');
7
  });
 
 
 
 
 
8
  tabs[tabIndex].checked = true;
9
  tabContents[tabIndex].classList.add('active');
 
10
  }
11
 
12
  tabs.forEach((tab, index) => {
@@ -16,4 +23,4 @@ tabs.forEach((tab, index) => {
16
  });
17
 
18
  // Show initial tab
19
- showTab(0);
 
1
  const tabs = document.querySelectorAll('.tabs input[type="radio"]');
2
  const tabContents = document.querySelectorAll('.tab-content');
3
+ const tabLabels = document.querySelectorAll('.tabs label'); // Assuming you have labels
4
 
5
  function showTab(tabIndex) {
6
  tabContents.forEach(content => {
7
  content.classList.remove('active');
8
  });
9
+
10
+ tabLabels.forEach(label => {
11
+ label.classList.remove('active'); // Remove 'active' from all labels
12
+ });
13
+
14
  tabs[tabIndex].checked = true;
15
  tabContents[tabIndex].classList.add('active');
16
+ tabLabels[tabIndex].classList.add('active'); // Add 'active' to the clicked label
17
  }
18
 
19
  tabs.forEach((tab, index) => {
 
23
  });
24
 
25
  // Show initial tab
26
+ showTab(0);
styles.css CHANGED
@@ -78,11 +78,11 @@ a:active {
78
  }
79
 
80
  .link:hover {
81
- color: ##FFD21E;
82
  }
83
 
84
  .link:active {
85
- color: ##FFD21E;
86
  }
87
 
88
  .button {
@@ -102,7 +102,7 @@ a:active {
102
  }
103
 
104
  .button:hover {
105
- background-color: #090d14;
106
  }
107
 
108
  table {
@@ -110,6 +110,7 @@ table {
110
  border-collapse: collapse;
111
  margin: auto;
112
  font-weight: 200;
 
113
  }
114
 
115
  td, th {
@@ -121,6 +122,13 @@ td, th {
121
  font-weight: 200;
122
  }
123
 
 
 
 
 
 
 
 
124
 
125
  p {
126
  font-size: 16px;
@@ -201,7 +209,7 @@ section::after {
201
  .notes {
202
  padding: 32px;
203
  border-radius: 5px;
204
- box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
205
  background-color: #0d131f;
206
  position: relative;
207
  overflow: hidden;
@@ -236,7 +244,7 @@ section::after {
236
 
237
  .tabs {
238
  display: flex;
239
- justify-content: space-between;
240
  margin-bottom: 10px;
241
  background-color: #0d131f;
242
  border-radius: 5px;
@@ -258,6 +266,19 @@ section::after {
258
  transition-duration: 0.4s;
259
  }
260
 
 
 
 
 
 
 
 
 
 
 
 
 
 
261
  .tabs label:before{
262
  content: '';
263
  position: absolute;
@@ -267,24 +288,25 @@ section::after {
267
  left: 0;
268
  z-index: -3;
269
  margin: -10px;
270
- background-color: #0d131f;
271
  border-radius: 5px;
272
  }
273
 
274
  .tabs label:after{
275
- background-color: #090d14;
276
  border-radius: 5px;
277
  }
278
 
279
  .tabs label:hover {
280
- background-color: #090d14;
281
  border-radius: 5px;
282
  }
283
 
284
- .tabs label:active {
285
- background-color: #090d14;
286
  border-radius: 5px;
287
  }
 
288
 
289
  .tab-content {
290
  display: none;
 
78
  }
79
 
80
  .link:hover {
81
+ color: #FFD21E;
82
  }
83
 
84
  .link:active {
85
+ color: #FFD21E;
86
  }
87
 
88
  .button {
 
102
  }
103
 
104
  .button:hover {
105
+ background-color: #080b12;
106
  }
107
 
108
  table {
 
110
  border-collapse: collapse;
111
  margin: auto;
112
  font-weight: 200;
113
+ Overflow-x:scroll;
114
  }
115
 
116
  td, th {
 
122
  font-weight: 200;
123
  }
124
 
125
+ table.alternate tr:nth-child(odd) {
126
+ background-color: #111827;
127
+ }
128
+
129
+ table.alternate tr:nth-child(even) {
130
+ background-color: #131b2b;
131
+ }
132
 
133
  p {
134
  font-size: 16px;
 
209
  .notes {
210
  padding: 32px;
211
  border-radius: 5px;
212
+ box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
213
  background-color: #0d131f;
214
  position: relative;
215
  overflow: hidden;
 
244
 
245
  .tabs {
246
  display: flex;
247
+ justify-content: space-around;
248
  margin-bottom: 10px;
249
  background-color: #0d131f;
250
  border-radius: 5px;
 
266
  transition-duration: 0.4s;
267
  }
268
 
269
+ .tabs label:hover {
270
+ background-color: #080b12;
271
+ border-radius: 5px;
272
+ }
273
+
274
+ /* Style for active tab */
275
+ .tabs label.active {
276
+ background-color: #080b12; /* Active tab background color */
277
+ border-radius: 5px;
278
+ box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
279
+ }
280
+
281
+ /*
282
  .tabs label:before{
283
  content: '';
284
  position: absolute;
 
288
  left: 0;
289
  z-index: -3;
290
  margin: -10px;
291
+
292
  border-radius: 5px;
293
  }
294
 
295
  .tabs label:after{
296
+
297
  border-radius: 5px;
298
  }
299
 
300
  .tabs label:hover {
301
+ background-color: #080b12;
302
  border-radius: 5px;
303
  }
304
 
305
+ .tabs {
306
+ background-color: #080b12;
307
  border-radius: 5px;
308
  }
309
+ */
310
 
311
  .tab-content {
312
  display: none;