CSS fixes

This commit is contained in:
LeRatierBretonnien 2023-11-26 14:07:55 +01:00
parent ea8c82256c
commit 4a2ca5fab5
4 changed files with 13 additions and 45 deletions

View File

@ -127,11 +127,6 @@ Hooks.once("ready", function () {
registerUsageCount('fvtt-hawkmoon-cyd') registerUsageCount('fvtt-hawkmoon-cyd')
welcomeMessage() welcomeMessage()
// CSS patch for v9
if (game.version) {
let sidebar = document.getElementById("sidebar");
sidebar.style.width = "min-content";
}
}); });
/* -------------------------------------------- */ /* -------------------------------------------- */

View File

@ -40,7 +40,6 @@
--debug-box-shadow-blue: inset 0 0 2px blue; --debug-box-shadow-blue: inset 0 0 2px blue;
--debug-box-shadow-green: inset 0 0 2px green; --debug-box-shadow-green: inset 0 0 2px green;
} }
/*@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");*/
/* Global styles & Font */ /* Global styles & Font */
.window-app { .window-app {
@ -527,7 +526,6 @@ section.sheet-body:after {
h1, h2, h3, h4 { h1, h2, h3, h4 {
font-weight: bold; font-weight: bold;
} }
ul, ol { ul, ol {
margin: 0; margin: 0;
padding: 0; padding: 0;
@ -828,7 +826,6 @@ ul, li {
#sidebar { #sidebar {
font-size: 1rem; font-size: 1rem;
background-position: 100%; background-position: 100%;
color: rgba(220,220,220,0.75);
} }
/* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/
@ -946,22 +943,11 @@ ul, li {
height: 15%; height: 15%;
font-size: 15px; font-size: 15px;
padding: 10px; padding: 10px;
padding-bottom: 20px; /*padding-bottom: 20px;*/
padding-top: .2rem; padding-top: .2rem;
padding-bottom: .2rem; padding-bottom: .2rem;
} }
.div-river-full {
height: 5rem;
align-items: flex-start;
}
.div-river {
align-content: center;
margin-left: 8px;
align-content:space-around;
justify-content: space-around;
}
.div-center { .div-center {
align-self: center; align-self: center;
@ -999,13 +985,10 @@ ul, li {
} }
#sidebar #sidebar-tabs i{ #sidebar #sidebar-tabs i{
width: 25px;
height: 25px;
display: inline-block; display: inline-block;
background-position:center; background-position:center;
background-size:cover; background-size:cover;
text-shadow: 1px 1px 0 rgba(0,0,0,0.75); text-shadow: 1px 1px 0 rgba(0,0,0,0.75);
} }
/*#sidebar #sidebar-tabs i.fa-comments:before, #sidebar #sidebar-tabs i.fa-fist-raised:before, #sidebar #sidebar-tabs i.fa-users:before, #sidebar #sidebar-tabs i.fa-map:before, #sidebar #sidebar-tabs i.fa-suitcase:before, #sidebar #sidebar-tabs i.fa-book-open:before, #sidebar #sidebar-tabs i.fa-th-list:before, #sidebar #sidebar-tabs i.fa-music:before, #sidebar #sidebar-tabs i.fa-atlas:before, #sidebar #sidebar-tabs i.fa-cogs:before {content: "";} /*#sidebar #sidebar-tabs i.fa-comments:before, #sidebar #sidebar-tabs i.fa-fist-raised:before, #sidebar #sidebar-tabs i.fa-users:before, #sidebar #sidebar-tabs i.fa-map:before, #sidebar #sidebar-tabs i.fa-suitcase:before, #sidebar #sidebar-tabs i.fa-book-open:before, #sidebar #sidebar-tabs i.fa-th-list:before, #sidebar #sidebar-tabs i.fa-music:before, #sidebar #sidebar-tabs i.fa-atlas:before, #sidebar #sidebar-tabs i.fa-cogs:before {content: "";}
@ -1277,24 +1260,6 @@ ul, li {
padding-left: 2rem; padding-left: 2rem;
} }
.drop-equipment-effect,
.drop-power-effect,
.drop-perk-effect,
.drop-ability-effect,
.drop-effect-specaffected,
.drop-effect-spec,
.drop-ability-weapon,
.drop-ability-armor,
.drop-race-perk,
.drop-spec-perk,
.drop-ability-power,
.drop-ability-spec,
.drop-spec-power,
.drop-abilities,
.drop-optionnal-abilities,
.drop-specialperk1,
.drop-perk2,
.drop-spec1 ,
.drop-spec2 { .drop-spec2 {
background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%);
background-color: #7d5d3b00; background-color: #7d5d3b00;
@ -1450,9 +1415,17 @@ ul, li {
.argent-total-text { .argent-total-text {
margin-left: 4px; margin-left: 4px;
} }
h4.entry-name.document-name {
.compendium h4.entry-name.document-name {
color: black; color: black;
} }
.page-title {
color: black;
}
textarea {
font-family: "Charlemagne";
font-size: 0.8rem;
}
.fxmaster { .fxmaster {
background: #443e37E0; background: #443e37E0;
background-color: #443e37E0; background-color: #443e37E0;

View File

@ -1,7 +1,7 @@
{ {
"id": "fvtt-hawkmoon-cyd", "id": "fvtt-hawkmoon-cyd",
"description": "Hawkmoon RPG for FoundryVTT (CYD system - French)", "description": "Hawkmoon RPG for FoundryVTT (CYD system - French)",
"version": "11.0.6", "version": "11.0.7",
"authors": [ "authors": [
{ {
"name": "Uberwald/LeRatierBretonnien", "name": "Uberwald/LeRatierBretonnien",
@ -35,7 +35,7 @@
"gridUnits": "m", "gridUnits": "m",
"license": "LICENSE.txt", "license": "LICENSE.txt",
"manifest": "https://www.uberwald.me/gitea/public/fvtt-hawkmoon-cyd/raw/branch/master/system.json", "manifest": "https://www.uberwald.me/gitea/public/fvtt-hawkmoon-cyd/raw/branch/master/system.json",
"download": "https://www.uberwald.me/gitea/public/fvtt-hawkmoon-cyd/archive/fvtt-hawkmoon-cyd-11.0.6.zip", "download": "https://www.uberwald.me/gitea/public/fvtt-hawkmoon-cyd/archive/fvtt-hawkmoon-cyd-11.0.7.zip",
"languages": [ "languages": [
{ {
"lang": "fr", "lang": "fr",