File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -788,3 +788,75 @@ body {
788788 position : relative;
789789 z-index : 1 ; /* keeps text above overlay */
790790}
791+ .scroll-top {
792+ position : fixed;
793+ bottom : 20px ;
794+ right : 20px ;
795+ background-color : # 8B4513 ; /* brown */
796+ color : white; /* arrow color stays white for contrast */
797+ border : none;
798+ padding : 10px 14px ;
799+ border-radius : 50% ;
800+ cursor : pointer;
801+ font-size : 18px ;
802+ display : none;
803+ z-index : 1000 ;
804+ box-shadow : 0 4px 6px rgba (0 , 0 , 0 , 0.2 );
805+ }
806+
807+ .scroll-top : hover {
808+ background-color : # A0522D ; /* slightly lighter brown on hover */
809+ }
810+ /* General mobile tweaks */
811+ @media (max-width : 768px ) {
812+ body {
813+ font-size : 14px ;
814+ }
815+
816+ .row {
817+ flex-direction : column; /* stack rows vertically */
818+ gap : 8px ;
819+ }
820+
821+ .card {
822+ width : 100% ; /* full width on small screens */
823+ margin-bottom : 16px ;
824+ }
825+
826+ .row .wrap {
827+ flex-wrap : wrap;
828+ }
829+
830+ .row .wrap span , .row .wrap .badge {
831+ margin-bottom : 4px ;
832+ }
833+
834+ # options .btn {
835+ width : 100% ; /* options take full width */
836+ margin-bottom : 8px ;
837+ }
838+
839+ .hero-actions a , .btn {
840+ font-size : 14px ;
841+ padding : 8px 12px ;
842+ }
843+
844+ table , tbody , tr , td {
845+ display : block; /* stack leaderboard/admin table */
846+ width : 100% ;
847+ }
848+
849+ tr {
850+ margin-bottom : 12px ;
851+ border-bottom : 1px solid # ccc ;
852+ }
853+
854+ td {
855+ text-align : left;
856+ padding : 6px 0 ;
857+ }
858+
859+ .progress {
860+ width : 100% ;
861+ }
862+ }
You can’t perform that action at this time.
0 commit comments