From fa8afd1dc1c0a976ece9c2da95e65bd6f2d3c4e8 Mon Sep 17 00:00:00 2001 From: Le-Pelican <62449142+Le-Pelican@users.noreply.github.com> Date: Mon, 29 Aug 2022 19:04:26 +0200 Subject: [PATCH] =?UTF-8?q?[Mal=C3=A9fices=204e=20ed]=20Mises=20=C3=A0=20j?= =?UTF-8?q?our=20et=20ajouts=20(#10987)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bonjour Mises à jour : - Modification de la mise en page, plus courte - Champs Nom et Prénom modifiés au profit de Nom (en lien avec le nom du personnage de la feuille = character_name) - Modification de l'aspect des boutons pour les tests (dé pour les jets, carte pour le tirage de tarot) - Correction orthographe (Losirs->Loisirs) Ajouts : - Ajout d'une case à cocher pour passer à l'aspect Feuille du MJ - Feuille du MJ (possibilité d'ajouter les portraits des personnages en saisissant l'URL de l'image). Bien cordialement Le Pelican --- Malefices 4e ed/maleficesv4.css | 116 ++++++++-- Malefices 4e ed/maleficesv4.html | 362 ++++++++++++++++++++++++++++--- Malefices 4e ed/maleficesv4.png | Bin 335181 -> 505047 bytes 3 files changed, 436 insertions(+), 42 deletions(-) diff --git a/Malefices 4e ed/maleficesv4.css b/Malefices 4e ed/maleficesv4.css index 7b817e5cb9..c506c492df 100644 --- a/Malefices 4e ed/maleficesv4.css +++ b/Malefices 4e ed/maleficesv4.css @@ -4,39 +4,64 @@ .charsheet { background-image:url("https://mj.lepelican2000.fr/wp-content/uploads/2022/07/fond.png"); background-repeat: no-repeat; - background-size: 100% 100% ; - box-sizing: content-box; + background-size: 100% 100%; + background-position:center top; +/* box-sizing: content-box; */ background-color:#D0D0D0; width: 1050px; /*max-height : 2000px;*/ - /*min-width:1050px;*/ - height:1400px; + min-width:1050px; + max-width:1050px; + /*height:1400px;*/ border: 5px solid #000000; } -div.sheet-options{ - color:white; +.charsheet button[type="roll"].sheet-d20:before{ + content: ' '; } -div.sheet-showoptions { - display:none; +.charsheet button[type="roll"].sheet-d20:hover{ + background-position: 0; } -input.sheet-affoptions:checked ~ div.sheet-showoptions{ - display:inline; +.charsheet button[type="roll"].sheet-d20{ + background-image: url("https://mj.lepelican2000.fr/wp-content/uploads/2022/08/D20.png"); + background-size: 26px 26px; + background-repeat: no-repeat; + width: 26px; + height: 26px; + border-style: none; + background-color: transparent; + margin-left: 5px; +} + +.charsheet button[type="roll"].sheet-carte:before{ + content: ' '; +} + +.charsheet button[type="roll"].sheet-carte:hover{ + background-position: 0; +} + +.charsheet button[type="roll"].sheet-carte{ + /*background-image: url("https://mj.lepelican2000.fr/wp-content/uploads/2022/08/cartes2.png"); */ + background-image: url("https://www.arkhane-asylum.fr/wp-content/uploads/2018/11/m_final_b-353x500.jpg"); + background-size: 20px 30px; + background-repeat: no-repeat; + width: 20px; + height: 30px; + border-style: none; + background-color: transparent; + margin-left: 5px; } -div.sheet-showV3, -input.sheet-optionV5:checked ~ div.sheet-showV5{ - display:inline; +div.sheet-option{ + color:gray; } -div.sheet-showV5, -input.sheet-optionV5:checked ~ div.sheet-showV3 { - display:none; -} + @@ -51,9 +76,30 @@ input.sheet-optionV5:checked ~ div.sheet-showV3 { margin-left:5%; } +.sheet-ligne3{ + width:90%; + margin-left:5%; + margin-top:10px; +} + +.sheet-ligne4{ + width:100%; + margin-left:0%; + margin-bottom:10px; + border-bottom: 2px solid black; +} + +.sheet-ligne5{ + width:100%; + margin-left:0%; +} + + img { max-height: 300px; + margin:auto; + padding:auto; } @@ -131,6 +177,20 @@ input.sheet-civil { } +input.sheet-portrait { + display:inline; + border-top:0px; + border-left:0px; + border-right:0px; + border-bottom:1px; + border-bottom-style:groove; + border-color:black; + color:black; + background:none; + vertical-align:middle; + +} + input.sheet-bio { font-size:20px; font-weight:bold; @@ -212,6 +272,11 @@ select.sheet-lames { font-family:"IM Fell DW Pica"; } +select.sheet-lamesmj { + width:100px; + font-family:"IM Fell DW Pica"; +} + div.sheet-jeu { margin:auto; display:inline; @@ -390,3 +455,20 @@ input.sheet-tab:checked+span::before { font-size:1.8em; } + +div.sheet-showPJ, +input.sheet-mjsheet:checked ~ div.sheet-showMJ{ + display:inline; +} + +div.sheet-showMJ, +input.sheet-mjsheet:checked ~ div.sheet-showPJ { + display:none; +} + +input.sheet-mjsheet { + opacity:30%; +} + + + diff --git a/Malefices 4e ed/maleficesv4.html b/Malefices 4e ed/maleficesv4.html index 6efe8a310f..c77415e019 100644 --- a/Malefices 4e ed/maleficesv4.html +++ b/Malefices 4e ed/maleficesv4.html @@ -1,8 +1,13 @@ +
