decorative changes
Browse files- README.md +1 -1
- templates/index.html +9 -6
README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
---
|
2 |
title: StickToYourRoleLeaderboard
|
3 |
-
emoji:
|
4 |
colorFrom: green
|
5 |
colorTo: blue
|
6 |
sdk: docker
|
|
|
1 |
---
|
2 |
title: StickToYourRoleLeaderboard
|
3 |
+
emoji: 🎭
|
4 |
colorFrom: green
|
5 |
colorTo: blue
|
6 |
sdk: docker
|
templates/index.html
CHANGED
@@ -15,9 +15,10 @@
|
|
15 |
font-family: 'Arial', sans-serif;
|
16 |
}
|
17 |
.container {
|
18 |
-
|
|
|
|
|
19 |
background: #fff;
|
20 |
-
padding: 20px;
|
21 |
border-radius: 8px;
|
22 |
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
|
23 |
}
|
@@ -31,11 +32,13 @@
|
|
31 |
table {
|
32 |
border-collapse: separate;
|
33 |
border-spacing: 0 10px;
|
|
|
34 |
}
|
35 |
table thead th {
|
36 |
-
background-color: #
|
37 |
color: white;
|
38 |
border: none;
|
|
|
39 |
}
|
40 |
table tbody tr {
|
41 |
background-color: #fff;
|
@@ -45,7 +48,7 @@
|
|
45 |
background-color: #f1f1f1;
|
46 |
}
|
47 |
table td, table th {
|
48 |
-
padding:
|
49 |
border: none;
|
50 |
}
|
51 |
table th:first-child, table td:first-child {
|
@@ -60,7 +63,7 @@
|
|
60 |
</head>
|
61 |
<body>
|
62 |
<div class="container">
|
63 |
-
<h1 class="mt-5
|
64 |
<div class="table-responsive">
|
65 |
<!-- Render the table HTML here -->
|
66 |
{{ table_html|safe }}
|
@@ -84,7 +87,7 @@
|
|
84 |
{ "orderable": false, "targets": 0 },
|
85 |
{ "searchable": false, "targets": 0 }
|
86 |
],
|
87 |
-
"order": [[
|
88 |
"drawCallback": function(settings) {
|
89 |
var api = this.api();
|
90 |
api.column(0, {order:'applied'}).nodes().each(function(cell, i) {
|
|
|
15 |
font-family: 'Arial', sans-serif;
|
16 |
}
|
17 |
.container {
|
18 |
+
max-width: 1100px; /* Limit the width of the container */
|
19 |
+
margin: auto; /* Center the container */
|
20 |
+
padding: 20px; /* Add some padding */
|
21 |
background: #fff;
|
|
|
22 |
border-radius: 8px;
|
23 |
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
|
24 |
}
|
|
|
32 |
table {
|
33 |
border-collapse: separate;
|
34 |
border-spacing: 0 10px;
|
35 |
+
font-size: 14px;
|
36 |
}
|
37 |
table thead th {
|
38 |
+
background-color: #610b5d;
|
39 |
color: white;
|
40 |
border: none;
|
41 |
+
padding: 6px 10px; /* Reduce padding for header cells */
|
42 |
}
|
43 |
table tbody tr {
|
44 |
background-color: #fff;
|
|
|
48 |
background-color: #f1f1f1;
|
49 |
}
|
50 |
table td, table th {
|
51 |
+
padding: 10px; /* Reduce padding */
|
52 |
border: none;
|
53 |
}
|
54 |
table th:first-child, table td:first-child {
|
|
|
63 |
</head>
|
64 |
<body>
|
65 |
<div class="container">
|
66 |
+
<h1 class="mt-5">Stick To Your Role! Leaderboard</h1>
|
67 |
<div class="table-responsive">
|
68 |
<!-- Render the table HTML here -->
|
69 |
{{ table_html|safe }}
|
|
|
87 |
{ "orderable": false, "targets": 0 },
|
88 |
{ "searchable": false, "targets": 0 }
|
89 |
],
|
90 |
+
"order": [[ 2, 'desc' ]],
|
91 |
"drawCallback": function(settings) {
|
92 |
var api = this.api();
|
93 |
api.column(0, {order:'applied'}).nodes().each(function(cell, i) {
|