From 5729f7e926e4beed78fcb7b25c689aa7b83ff06e Mon Sep 17 00:00:00 2001 From: Vincent Vandemeulebrouck Date: Fri, 22 Dec 2023 02:19:53 +0100 Subject: [PATCH] Bordure des images de profils MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remplacement de la bordure noire inesthétique avec des images de profil sous forme de badge ronds, en utilisant juste une variation de couleur de fond. --- styles/simple.css | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/styles/simple.css b/styles/simple.css index 80d9a24e..619b839e 100644 --- a/styles/simple.css +++ b/styles/simple.css @@ -93,6 +93,7 @@ --background-control-selected: linear-gradient(to bottom, hsla(0, 100%, 25%, 0.5) 5%, hsla(0, 100%, 12%, 0.5) 100%); --background-tooltip: hsla(60, 12%, 85%, 0.95); --background-error:hsla(16, 100%, 50%, 0.8); + --color-profile-border: hsla(0, 0%, 80%, 0.05); } /*@import url("https://fonts.googleapis.com/css2?family=Martel:wght@400;800&family=Roboto:wght@300;400;500&display=swap");*/ @@ -195,11 +196,10 @@ i:is(.fas, .far, .fa-solid, .fa-regular, .fa-sharp ) { flex: 0 0 110px; height: 110px; width: 110px; - margin-right: 0.5rem; - object-fit: scale-down; - object-position: 50% 0; - margin: 0.1rem; + padding: 0.2rem; object-fit: contain; + background-color: var(--color-profile-border); + border: 1px solid var(--color-profile-border); } .system-foundryvtt-reve-de-dragon .rdd-item-sheet-tarot img.profile-img { @@ -963,12 +963,6 @@ section.sheet-body { padding: 0.25rem 0.5rem; } -.sheet header.sheet-header :is(.profile-img, .profile-img-token) { - object-fit: scale-down; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; -} .sheet header.sheet-header h1 { flex: 3; }