buyttable
This commit is contained in:
parent
8928e9f43d
commit
898a38f20e
2 changed files with 25 additions and 4 deletions
|
|
@ -223,6 +223,29 @@ a {
|
||||||
color: #000; /* Dark text on hover */
|
color: #000; /* Dark text on hover */
|
||||||
cursor: pointer;
|
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*/
|
/* Responsive button sizing for mobile for .btn class*/
|
||||||
@media (max-width: 768px) {
|
@media (max-width: 768px) {
|
||||||
|
|
@ -231,9 +254,7 @@ a {
|
||||||
font-size: 14px; /* Adjust font size for mobile readability */
|
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 */
|
/* Container for tables to manage overflow */
|
||||||
.table-container {
|
.table-container {
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
|
|
|
||||||
|
|
@ -99,7 +99,7 @@ error_reporting(E_ALL);
|
||||||
|
|
||||||
|
|
||||||
echo "<tr>
|
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>$winratio</td>
|
||||||
<td>$KD_H</td>
|
<td>$KD_H</td>
|
||||||
<td>$KD_ALL</td>
|
<td>$KD_ALL</td>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue