diff --git a/src/components/PlayerList.vue b/src/components/PlayerList.vue index d83681d..337575b 100644 --- a/src/components/PlayerList.vue +++ b/src/components/PlayerList.vue @@ -12,7 +12,7 @@ average distance - +
{{ slotProps.index+1 }}
{{ slotProps.data.value.username }}
diff --git a/src/views/ServerView.vue b/src/views/ServerView.vue index 050821b..f0e9774 100644 --- a/src/views/ServerView.vue +++ b/src/views/ServerView.vue @@ -1,23 +1,39 @@ +.serverRow, +.serverHeaders { + box-sizing: border-box; + display: grid; + grid-template-columns: 5ch 20ch 6ch 6ch 6ch 10ch 1fr; + background: var(--bg-color); + text-align: left; + cursor: pointer; + margin: 0; + /* border: 2px solid transparent; */ + transition: border .25s; + height: 100px; +} + +.serverRow:nth-child(2n+1) { + background: var(--accent); +} + +.serverRow:nth-child(2n) { + background: var(--bg-color); +} + +.serverRow:hover { + background: var(--current-line); +} + +img { + object-fit: contain; + height:100% +}