Bordure des images de profils
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.
This commit is contained in:
parent
0b66c945b8
commit
5729f7e926
@ -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-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-tooltip: hsla(60, 12%, 85%, 0.95);
|
||||||
--background-error:hsla(16, 100%, 50%, 0.8);
|
--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");*/
|
/*@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;
|
flex: 0 0 110px;
|
||||||
height: 110px;
|
height: 110px;
|
||||||
width: 110px;
|
width: 110px;
|
||||||
margin-right: 0.5rem;
|
padding: 0.2rem;
|
||||||
object-fit: scale-down;
|
|
||||||
object-position: 50% 0;
|
|
||||||
margin: 0.1rem;
|
|
||||||
object-fit: contain;
|
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 {
|
.system-foundryvtt-reve-de-dragon .rdd-item-sheet-tarot img.profile-img {
|
||||||
@ -963,12 +963,6 @@ section.sheet-body {
|
|||||||
padding: 0.25rem 0.5rem;
|
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 {
|
.sheet header.sheet-header h1 {
|
||||||
flex: 3;
|
flex: 3;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user