weapon stats are shown in a table, horizontally

This commit is contained in:
IM23a-spirgif
2024-09-26 14:08:49 +02:00
parent e0996327ba
commit 8f5ca38d88
2 changed files with 95 additions and 32 deletions
+24 -1
View File
@@ -361,5 +361,28 @@ textarea {
#abilities input[type="checkbox"] {
margin-right: 5px; /* Adjust the spacing between the checkbox and the label */
}
}
/* Styling for horizontal table */
.weapon-stats-table {
width: 100%;
border-collapse: collapse;
margin: 10px 0;
}
.weapon-stats-table th, .weapon-stats-table td {
border: 1px solid #ddd;
padding: 8px;
text-align: center; /* Center the text */
}
.weapon-stats-table th {
background-color: #f2f2f2;
color: black;
}
/* Horizontal styling specifically for the table */
.horizontal-table tr:first-child th {
text-align: center;
font-weight: bold;
}