aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/css/Rankings.css
diff options
context:
space:
mode:
authorArda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>2025-10-22 01:52:05 +0400
committerGitHub <noreply@github.com>2025-10-22 00:52:05 +0300
commitb1fd0cdeff287e4cf0ec180ff9fee804cb2c8b8d (patch)
treebd3a114b2ad3e3b69d86940b1c787a0ace4c89d2 /frontend/src/css/Rankings.css
parentfeat/backend: add newrelic integration (#274) (diff)
downloadlphub-b1fd0cdeff287e4cf0ec180ff9fee804cb2c8b8d.tar.gz
lphub-b1fd0cdeff287e4cf0ec180ff9fee804cb2c8b8d.tar.bz2
lphub-b1fd0cdeff287e4cf0ec180ff9fee804cb2c8b8d.zip
feat/frontend: add general mobile support (#275)
Diffstat (limited to 'frontend/src/css/Rankings.css')
-rw-r--r--frontend/src/css/Rankings.css33
1 files changed, 32 insertions, 1 deletions
diff --git a/frontend/src/css/Rankings.css b/frontend/src/css/Rankings.css
index edc5a00..b644ecd 100644
--- a/frontend/src/css/Rankings.css
+++ b/frontend/src/css/Rankings.css
@@ -27,7 +27,8 @@
27 transition: all 0.1s; 27 transition: all 0.1s;
28} 28}
29 29
30.nav-container button:hover, .nav-container button.selected { 30.nav-container button:hover,
31.nav-container button.selected {
31 background-color: #202232; 32 background-color: #202232;
32} 33}
33 34
@@ -105,3 +106,33 @@
105 border-radius: 200px; 106 border-radius: 200px;
106 transform: translateX(10px); 107 transform: translateX(10px);
107} 108}
109
110@media screen and (max-width: 768px) {
111
112 .nav-1 div,
113 .nav-2 div {
114 width: 95%;
115 }
116
117 .nav-container button {
118 font-size: 18px;
119 padding: 8px 0px;
120 }
121
122 .ranks-container {
123 width: calc(95% - 20px);
124 }
125
126 .rankings-leaderboard {
127 font-size: 16px;
128 }
129
130 .leaderboard-entry {
131 grid-template-columns: 15% 50% 35%;
132 font-size: 14px;
133 }
134
135 .leaderboard-entry img {
136 height: 28px;
137 }
138} \ No newline at end of file