From 84c8490fc100eaf2e8196e631e74a8ba77d2826a Mon Sep 17 00:00:00 2001 From: ItsMuri <88394932+ItzMuri@users.noreply.github.com> Date: Sat, 4 Nov 2023 18:12:28 +0100 Subject: [PATCH] Update main.css --- html/css/main.css | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/html/css/main.css b/html/css/main.css index e702d3e93..52d632247 100644 --- a/html/css/main.css +++ b/html/css/main.css @@ -154,10 +154,11 @@ input[type="number"]::-webkit-outer-spin-button { display: flex; align-items: center; justify-content: center; - width: calc(20% - 1.5px); + width: calc(20% - 5.5px); margin: 0.5px; height: 10vh; background-color: rgba(0, 0, 0, 0.3); + border-radius: 9px; } .item-slot-img { @@ -177,19 +178,19 @@ input[type="number"]::-webkit-outer-spin-button { .item-slot-key { font-weight: bolder; - color: var(--text-color); + color: white; position: absolute; top: 5px; left: 5px; width: 20px; height: 20px; - background-color: var(--background-color); + background-color: rgb(58, 58, 58); display: flex; align-items: center; justify-content: center; border-radius: 3px; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.1), 0 2px 2px rgba(0, 0, 0, 0.2); - background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1)); + background-image: linear-gradient(to bottom, rgb(255, 255, 255), rgba(255, 255, 255, 0.1)); } .item-slot-key p { @@ -211,13 +212,16 @@ input[type="number"]::-webkit-outer-spin-button { .item-slot-label { position: absolute; white-space: nowrap; - bottom: 0; + bottom: -5px; height: 1.5vh; + gap: 20px; width: 100%; - background-color: rgb(61, 61, 61); + background-color: rgb(58, 58, 58); display: flex; justify-content: center; align-items: center; + + border: 1px solid rgb(124, 124, 124); } .item-slot-label p { @@ -266,6 +270,8 @@ input[type="number"]::-webkit-outer-spin-button { font-weight: bolder; color: white; background-color: var(--background-color); + border-radius: 8px; + border: 2px solid rgb(124, 124, 124); } #item-use p, @@ -287,7 +293,8 @@ input[type="number"]::-webkit-outer-spin-button { align-items: center; text-align: center; background-color: rgb(61, 61, 61); - border-radius: 5px; + border-radius: 8px; + border: 2px solid rgb(124, 124, 124); } .weapon-attachments-container { @@ -321,7 +328,7 @@ input[type="number"]::-webkit-outer-spin-button { .weapon-attachments-container-detail-durability { height: 1.5vh; - width: 10vh; + width: 10vh; background-color: rgba(0, 0, 0, 0.3); border-radius: 1px; }