diff --git a/public/s/css/f0ck.css b/public/s/css/f0ck.css
index 2972b5f..3a235f6 100644
--- a/public/s/css/f0ck.css
+++ b/public/s/css/f0ck.css
@@ -1222,3 +1222,21 @@ div.logwrap {
div.logwrap > p {
line-height: 0;
}
+
+/* ranking */
+table.table {
+ border-collapse: collapse;
+ margin: 25px 0;
+ min-width: 400px;
+}
+table.table thead tr {
+ text-align: left;
+ font-weight: bolder;
+ border-bottom: 1px solid var(--accent);
+}
+table.table th, table.table td {
+ padding: 7px 15px;
+}
+table.table tbody tr:nth-of-type(even) {
+ background-color: #232323;
+}
diff --git a/views/ranking.html b/views/ranking.html
index 697380d..ffdca9c 100644
--- a/views/ranking.html
+++ b/views/ranking.html
@@ -1,20 +1,25 @@
@include(main/header)
-
-
- rank |
- username |
- # tags placed |
-
+Ranking lol
+
+
+
+ rank |
+ username |
+ # tags placed |
+
+
+
@for(let i = 0; i < list.length; i++)
-
- {{ i + 1 }} |
- {!! list[i].user !!} |
- {{ list[i].count }} |
-
+
+ {{ i + 1 }} |
+ {!! list[i].user !!} |
+ {{ list[i].count }} |
+
@endfor
+
-
+
total | {{ stats.total }} |
tagged | {{ stats.tagged }} |
untagged | {{ stats.untagged }} |