minor CSS adjustment for mobile

This commit is contained in:
IM23a-spirgif
2024-09-28 18:38:48 +02:00
parent 835d5073fa
commit 8d58522441
2 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -1494,7 +1494,7 @@
}, },
{ {
"id": "execute-damage-perk", "id": "execute-damage-perk",
"label": "Execute (+40% Reload Speed)", "label": "Execute (+40% Damage)",
"buffs": [ "buffs": [
{ {
"type": "damage", "type": "damage",
+8 -8
View File
@@ -16,7 +16,7 @@ input[type="text"] {
#modifiers { #modifiers {
display: flex; /* Use flexbox for alignment */ display: flex; /* Use flexbox for alignment */
flex-direction: column; /* Stack items vertically */ flex-direction: column; /* Stack items vertically */
width: 50%; /* Adjust this percentage to control the width */ width: 50%;
} }
#abilities { #abilities {
@@ -28,7 +28,7 @@ body {
background-repeat: no-repeat; background-repeat: no-repeat;
background-attachment: fixed; background-attachment: fixed;
background-size: cover; background-size: cover;
position: relative; /* This allows the z-index on children elements to work */ position: relative;
z-index: -1; /* Send the background behind the content */ z-index: -1; /* Send the background behind the content */
font-family: Arial, sans-serif; font-family: Arial, sans-serif;
margin: 20px; margin: 20px;
@@ -351,15 +351,15 @@ textarea {
/* Adjust spacing between different ability modifiers */ /* Adjust spacing between different ability modifiers */
#abilities label { #abilities label {
display: block; /* Ensures each label takes up its own line */ display: block;
margin-bottom: 10px; /* Adds space between each ability checkbox */ margin-bottom: 10px;
line-height: 1.2; /* Keeps the spacing between wrapped lines consistent */ line-height: 1.2;
white-space: nowrap; /* Allows text to wrap normally */ white-space: nowrap;
} }
/* Optional: Adjust margin between checkbox and text */ /* Optional: Adjust margin between checkbox and text */
#abilities input[type="checkbox"] { #abilities input[type="checkbox"] {
margin-right: 5px; /* Adjust the spacing between the checkbox and the label */ margin-right: 5px;
} }
} }
@@ -373,7 +373,7 @@ textarea {
.weapon-stats-table th, .weapon-stats-table td { .weapon-stats-table th, .weapon-stats-table td {
border: 1px solid #ddd; border: 1px solid #ddd;
padding: 8px; padding: 8px;
text-align: center; /* Center the text */ text-align: center; /* Centers the text */
} }
.weapon-stats-table th { .weapon-stats-table th {