buyttable

This commit is contained in:
Lanta 2023-11-13 10:55:35 +01:00
parent 8928e9f43d
commit 898a38f20e
2 changed files with 25 additions and 4 deletions

View file

@ -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;

View file

@ -99,7 +99,7 @@ error_reporting(E_ALL);
echo "<tr>
<td><form method='post' action=''><button type='submit' name='selected_player' value='$player_name' class='btn_table'>$player_name</button></form><br></td>
<td><form method='post' action='latestmatches.php'><button type='submit' name='selected_player' value='$player_name' class='btn_table'>$player_name</button></form><br></td>
<td>$winratio</td>
<td>$KD_H</td>
<td>$KD_ALL</td>