From 898a38f20e73b8f9124feec098a1b562c9020ce5 Mon Sep 17 00:00:00 2001 From: Lanta Date: Mon, 13 Nov 2023 10:55:35 +0100 Subject: [PATCH] buyttable --- includes/styles.css | 27 ++++++++++++++++++++++++--- last_stats.php | 2 +- 2 files changed, 25 insertions(+), 4 deletions(-) diff --git a/includes/styles.css b/includes/styles.css index 85055a8..de8b21b 100644 --- a/includes/styles.css +++ b/includes/styles.css @@ -223,6 +223,29 @@ a { color: #000; /* Dark text on hover */ cursor: pointer; } +.btn:active { + transform: translateY(1px); /* Slight Pressed-In effect on Click */ +} + + +.btn_table { + font-family: 'Courier New', monospace; + background: #222; /* Dark background for buttons */ + color: #33ff33; /* Bright green text */ + border: 1px solid #33ff33; /* Border to match text color */ + padding: 0px 0pxpx; + text-transform: uppercase; + transition: background-color 0.3s ease, color 0.3s ease; +} + +.btn_table:hover { + background: #33ff33; /* Bright green background on hover */ + color: #000; /* Dark text on hover */ + cursor: pointer; +} +.btn_table:active { + transform: translateY(1px); /* Slight Pressed-In effect on Click */ +} /* Responsive button sizing for mobile for .btn class*/ @media (max-width: 768px) { @@ -231,9 +254,7 @@ a { font-size: 14px; /* Adjust font size for mobile readability */ } } -.btn:active { - transform: translateY(1px); /* Slight Pressed-In effect on Click */ -} + /* Container for tables to manage overflow */ .table-container { overflow-x: auto; diff --git a/last_stats.php b/last_stats.php index db406c1..eba4d26 100644 --- a/last_stats.php +++ b/last_stats.php @@ -99,7 +99,7 @@ error_reporting(E_ALL); echo " -

+

$winratio $KD_H $KD_ALL