From b27e90128240201e2db97773c42b03bb414a65a1 Mon Sep 17 00:00:00 2001 From: Vijay Janapa Reddi Date: Mon, 2 Dec 2024 20:58:28 -0500 Subject: [PATCH] Cleanup html/script/css code --- index.html | 150 +++++++++++++++++++++++++---------------------------- 1 file changed, 71 insertions(+), 79 deletions(-) diff --git a/index.html b/index.html index dda5906..828ca08 100644 --- a/index.html +++ b/index.html @@ -38,34 +38,49 @@ min-width: 300px; padding: 10px; /* Add some spacing around the logo */ } - /* Style for sort button */ - .sortable { - cursor: pointer; - position: relative; - display: inline-block; - padding-right: 20px; /* Space for arrow */ - } - .sortable::after { - content: "▼"; - position: absolute; - right: 5px; - top: 50%; - transform: translateY(-50%); - font-size: 12px; - transition: transform 0.3s ease; - } - .sortable:checked::after { - transform: translateY(-50%) rotate(180deg); - } - /* Hide the input */ - .sortable-input { - display: none; - } - /* Style for highlighting sorted column */ - th.sorted { - background-color: var(--primary-color); - color: white; - } + /* Style for sort button */ + .sortable { + cursor: pointer; + position: relative; + display: inline-block; + padding-right: 20px; /* Space for arrow */ + } + .sortable::after { + content: "▼"; + position: absolute; + right: 5px; + top: 50%; + transform: translateY(-50%); + font-size: 12px; + transition: transform 0.3s ease; + } + .sortable:checked::after { + transform: translateY(-50%) rotate(180deg); + } + /* Hide the input */ + .sortable-input { + display: none; + } + /* Style for highlighting sorted column */ + th.sorted { + background-color: var(--primary-color); + color: white; + } + th { + position: relative; + cursor: pointer; + } + .arrow { + margin-left: 8px; + font-size: 12px; + color: gray; + } + th.sorted-asc .arrow { + color: black; + } + th.sorted-desc .arrow { + color: black; + } /* Leaderboard container with enhanced styles and shadow */ .leaderboard-container { max-width: 1200px; /* Limit container width */ @@ -291,43 +306,24 @@ } - - - - - - -
@@ -475,17 +467,17 @@

Leaderboard

- - - - - - - - - - - +
Model NameInput SizeRAM (KiB)Flash (KiB)MACs (MM)Test Accuracy
+ + + + + + + + + + @@ -580,8 +572,8 @@

🙋‍♂️ Contribute

Share your results with us and contribute to the leaderboard, or you can issue a PR at this link! -

- +

+

🏆 Challenge

Stay tuned for an upcoming competition in conjunciton with the Edge AI Foundation!

Model NameInput SizeRAM (KiB)Flash (KiB)MACs (MM)Test Accuracy
mcunet-320kb-1mb_vww