openfree commited on
Commit
f63c073
·
verified ·
1 Parent(s): 5efb9cd

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +60 -65
index.html CHANGED
@@ -11,46 +11,36 @@
11
  color: #333;
12
  margin: 0;
13
  padding: 0;
14
- overflow-x: scroll;
15
- scrollbar-width: thin;
16
- -ms-overflow-style: -ms-autohiding-scrollbar;
17
  }
18
- .timeline {
19
- display: flex;
20
- flex-direction: row;
21
- padding: 20px;
22
- gap: 10px;
23
  overflow-x: auto;
 
 
 
24
  }
25
- .month {
 
26
  display: flex;
27
- flex-direction: column;
28
- gap: 10px;
29
- width: 300px;
30
- flex: 0 0 300px;
31
- }
32
- .month h3 {
33
- margin: 0;
34
- padding: 10px;
35
- background-color: #6200ea;
36
- color: white;
37
- border-radius: 5px;
38
- text-align: center;
39
  }
 
40
  .event {
41
- background-color: white;
42
- padding: 10px;
43
- border-radius: 5px;
44
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
45
- position: relative;
46
  transition: all 0.3s ease;
47
  }
48
-
49
  .event:has(.tag.best) {
50
  background-color: #fff8e1;
51
  border-left: 4px solid #ffd700;
52
- transform: scale(1.02);
53
- box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
54
  }
55
 
56
  .event:has(.tag.new) {
@@ -58,19 +48,22 @@
58
  border-left: 4px solid #ff4081;
59
  }
60
 
61
- .event:has(.tag.best):hover {
62
- transform: scale(1.03);
63
- box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
64
  }
 
65
  .event h4 {
66
  margin: 0;
67
  font-size: 14px;
68
  }
 
69
  .event p {
70
  margin: 5px 0 0;
71
  font-size: 12px;
72
  color: #666;
73
  }
 
74
  .tag {
75
  display: inline-block;
76
  padding: 2px 5px;
@@ -79,21 +72,38 @@
79
  margin-top: 5px;
80
  margin-right: 3px;
81
  }
 
82
  .tag.best {
83
  background-color: #FFD700;
84
  color: black;
85
  }
 
86
  .tag.new {
87
  background-color: #FF4081;
88
  color: white;
89
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
90
  .event p a {
91
  color: #4caf50;
92
  text-decoration: none;
93
  }
 
94
  .event p a:hover {
95
  text-decoration: underline;
96
  }
 
97
  .github-link {
98
  text-align: center;
99
  padding: 8px;
@@ -101,43 +111,33 @@
101
  color: white;
102
  font-size: 14px;
103
  }
 
104
  .github-link a {
105
  color: white;
106
  text-decoration: none;
107
  }
 
108
  .github-link a:hover {
109
  text-decoration: underline;
110
  }
111
 
112
- body::-webkit-scrollbar {
113
  height: 8px;
114
  }
115
 
116
- body::-webkit-scrollbar-track {
117
  background: #f1f1f1;
118
  }
119
 
120
- body::-webkit-scrollbar-thumb {
121
  background: #888;
122
  border-radius: 4px;
123
  }
124
 
125
- body::-webkit-scrollbar-thumb:hover {
126
  background: #555;
127
  }
128
 
129
- .tag.text { background-color: #9c27b0; color: white; }
130
- .tag.audio { background-color: #ff9800; color: white; }
131
- .tag.vision { background-color: #03a9f4; color: white; }
132
- .tag.multimodal { background-color: #795548; color: white; }
133
- .tag.video { background-color: #E91E63; color: white; }
134
- .tag.image { background-color: #00BCD4; color: white; }
135
- .tag.utility { background-color: #9E9E9E; color: white; }
136
- .tag.predict { background-color: #673AB7; color: white; }
137
- .tag.game { background-color: #4CAF50; color: white; }
138
- .tag.education { background-color: #3F51B5; color: white; }
139
- .tag.announcement { background-color: #607d8b; color: white; }
140
-
141
  .filter-group {
142
  display: flex;
143
  flex-direction: column;
@@ -184,10 +184,6 @@
184
  flex-wrap: wrap;
185
  }
186
 
187
- .category-group .toggle-button {
188
- background-color: #f5f5f5;
189
- }
190
-
191
  .toggle-button[data-filter="best"] { background-color: #FFD700; color: black; }
192
  .toggle-button[data-filter="new"] { background-color: #FF4081; color: white; }
193
  .toggle-button[data-filter="text"] { background-color: #9c27b0; color: white; }
@@ -218,6 +214,15 @@
218
  margin: 0 10px;
219
  color: #ddd;
220
  }
 
 
 
 
 
 
 
 
 
221
  </style>
222
  </head>
223
  <body>
@@ -252,9 +257,9 @@
252
  <span id="new-count">0</span> NEW
253
  </span>
254
  </div>
255
- <div class="timeline">
256
- <div class="month">
257
- <h3>Latest Models</h3>
258
  <div class="event">
259
  <h4>OpenBMB PRIME</h4>
260
  <p>o1 like Eurus 2 7B (<a href="https://huggingface.co/PRIME-RL/Eurus-2-7B-PRIME" target="_blank">link</a>).</p>
@@ -285,9 +290,7 @@
285
  }
286
 
287
  let currentFilters = {
288
- category: 'all',
289
- modality: 'all',
290
- type: 'all'
291
  };
292
 
293
  function filterByCategory(category) {
@@ -313,14 +316,6 @@
313
  event.style.display = matchesCategory ? 'block' : 'none';
314
  });
315
 
316
- const months = document.querySelectorAll('.month');
317
- months.forEach(month => {
318
- const visibleEvents = Array.from(month.querySelectorAll('.event')).filter(event =>
319
- event.style.display !== 'none'
320
- );
321
- month.style.display = visibleEvents.length > 0 ? 'flex' : 'none';
322
- });
323
-
324
  updateCounts();
325
  }
326
 
 
11
  color: #333;
12
  margin: 0;
13
  padding: 0;
 
 
 
14
  }
15
+
16
+ .timeline-container {
17
+ width: 100%;
 
 
18
  overflow-x: auto;
19
+ overflow-y: hidden;
20
+ padding: 20px;
21
+ box-sizing: border-box;
22
  }
23
+
24
+ .timeline {
25
  display: flex;
26
+ flex-direction: row;
27
+ gap: 20px;
28
+ min-width: min-content;
29
+ padding-bottom: 10px;
 
 
 
 
 
 
 
 
30
  }
31
+
32
  .event {
33
+ flex: 0 0 300px;
34
+ background: white;
35
+ border-radius: 8px;
36
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
37
+ padding: 15px;
38
  transition: all 0.3s ease;
39
  }
40
+
41
  .event:has(.tag.best) {
42
  background-color: #fff8e1;
43
  border-left: 4px solid #ffd700;
 
 
44
  }
45
 
46
  .event:has(.tag.new) {
 
48
  border-left: 4px solid #ff4081;
49
  }
50
 
51
+ .event:hover {
52
+ transform: translateY(-5px);
53
+ box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
54
  }
55
+
56
  .event h4 {
57
  margin: 0;
58
  font-size: 14px;
59
  }
60
+
61
  .event p {
62
  margin: 5px 0 0;
63
  font-size: 12px;
64
  color: #666;
65
  }
66
+
67
  .tag {
68
  display: inline-block;
69
  padding: 2px 5px;
 
72
  margin-top: 5px;
73
  margin-right: 3px;
74
  }
75
+
76
  .tag.best {
77
  background-color: #FFD700;
78
  color: black;
79
  }
80
+
81
  .tag.new {
82
  background-color: #FF4081;
83
  color: white;
84
  }
85
+
86
+ .tag.text { background-color: #9c27b0; color: white; }
87
+ .tag.audio { background-color: #ff9800; color: white; }
88
+ .tag.vision { background-color: #03a9f4; color: white; }
89
+ .tag.multimodal { background-color: #795548; color: white; }
90
+ .tag.video { background-color: #E91E63; color: white; }
91
+ .tag.image { background-color: #00BCD4; color: white; }
92
+ .tag.utility { background-color: #9E9E9E; color: white; }
93
+ .tag.predict { background-color: #673AB7; color: white; }
94
+ .tag.game { background-color: #4CAF50; color: white; }
95
+ .tag.education { background-color: #3F51B5; color: white; }
96
+ .tag.announcement { background-color: #607d8b; color: white; }
97
+
98
  .event p a {
99
  color: #4caf50;
100
  text-decoration: none;
101
  }
102
+
103
  .event p a:hover {
104
  text-decoration: underline;
105
  }
106
+
107
  .github-link {
108
  text-align: center;
109
  padding: 8px;
 
111
  color: white;
112
  font-size: 14px;
113
  }
114
+
115
  .github-link a {
116
  color: white;
117
  text-decoration: none;
118
  }
119
+
120
  .github-link a:hover {
121
  text-decoration: underline;
122
  }
123
 
124
+ .timeline-container::-webkit-scrollbar {
125
  height: 8px;
126
  }
127
 
128
+ .timeline-container::-webkit-scrollbar-track {
129
  background: #f1f1f1;
130
  }
131
 
132
+ .timeline-container::-webkit-scrollbar-thumb {
133
  background: #888;
134
  border-radius: 4px;
135
  }
136
 
137
+ .timeline-container::-webkit-scrollbar-thumb:hover {
138
  background: #555;
139
  }
140
 
 
 
 
 
 
 
 
 
 
 
 
 
141
  .filter-group {
142
  display: flex;
143
  flex-direction: column;
 
184
  flex-wrap: wrap;
185
  }
186
 
 
 
 
 
187
  .toggle-button[data-filter="best"] { background-color: #FFD700; color: black; }
188
  .toggle-button[data-filter="new"] { background-color: #FF4081; color: white; }
189
  .toggle-button[data-filter="text"] { background-color: #9c27b0; color: white; }
 
214
  margin: 0 10px;
215
  color: #ddd;
216
  }
217
+
218
+ .section-title {
219
+ text-align: center;
220
+ padding: 15px;
221
+ color: white;
222
+ background-color: #6200ea;
223
+ margin: 0;
224
+ font-size: 18px;
225
+ }
226
  </style>
227
  </head>
228
  <body>
 
257
  <span id="new-count">0</span> NEW
258
  </span>
259
  </div>
260
+ <h2 class="section-title">Latest Models</h2>
261
+ <div class="timeline-container">
262
+ <div class="timeline">
263
  <div class="event">
264
  <h4>OpenBMB PRIME</h4>
265
  <p>o1 like Eurus 2 7B (<a href="https://huggingface.co/PRIME-RL/Eurus-2-7B-PRIME" target="_blank">link</a>).</p>
 
290
  }
291
 
292
  let currentFilters = {
293
+ category: 'all'
 
 
294
  };
295
 
296
  function filterByCategory(category) {
 
316
  event.style.display = matchesCategory ? 'block' : 'none';
317
  });
318
 
 
 
 
 
 
 
 
 
319
  updateCounts();
320
  }
321