diff --git a/Nephilim-Legende/nephilim-legende.css b/Nephilim-Legende/nephilim-legende.css index bd3e72da5d..2e2bb15734 100644 --- a/Nephilim-Legende/nephilim-legende.css +++ b/Nephilim-Legende/nephilim-legende.css @@ -2,7 +2,7 @@ .charsheet { - background-image: radial-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.5)), url("https://raw.githubusercontent.com/Roll20/roll20-character-sheets/Master/Nephilim-Legende/img/Fond-vieux-papier.jpg"); + background-image: radial-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.5)), url("https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Nephilim-Legende/img/Fond-vieux-papier.jpg"); background-size:cover; --brun: RGB(151,129,089); --marron:136, 115, 71; @@ -14,10 +14,10 @@ --colC:RGB(209, 197, 175); --titre: RGB(208,175,152); --titreGris: rgba(48, 59, 56, 0.5); - --astrolabe:url("https://raw.githubusercontent.com/Roll20/roll20-character-sheets/Master/Nephilim-Legende/img/Astrolabe.png"); - --dice:url("https://raw.githubusercontent.com/Roll20/roll20-character-sheets/Master/Nephilim-Legende/img/dices.png"); - --opposition:url("https://raw.githubusercontent.com/Roll20/roll20-character-sheets/Master/Nephilim-Legende/img/opposition.png"); - --arbreKabbale:url("https://raw.githubusercontent.com/Roll20/roll20-character-sheets/Master/Nephilim-Legende/img/arbreKabbale.png"); + --astrolabe:url("https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Nephilim-Legende/img/Astrolabe.png"); + --dice:url("https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Nephilim-Legende/img/dices.png"); + --opposition:url("https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Nephilim-Legende/img/opposition.png"); + --arbreKabbale:url("https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Nephilim-Legende/img/arbreKabbale.png"); min-width:700px; } @@ -433,12 +433,14 @@ div.sheet-tab10 flex-wrap:wrap; } -div.sheet-tab2 > .sheet-col2 > .sheet-degreMetamorphe +div.sheet-tab2 > .sheet-col2 > .sheet-degreMetamorphe, +div.sheet-tab2 > .sheet-col2 > .sheet-equipement { border-left: 2px solid rgb(var(--marron)); } -div.sheet-tab2 > .sheet-col2 > .sheet-degreMetamorphe > h1 +div.sheet-tab2 > .sheet-col2 > .sheet-degreMetamorphe > h1, +div.sheet-tab2 > .sheet-col2 > .sheet-equipement > h1 { background-image: linear-gradient(to right, rgba(var(--blanc), 0) 50%, rgba(var(--blanc), 0.8)), linear-gradient(to right, rgba(var(--marron), 0.8),rgba(var(--marron), 0.8)), var(--astrolabe); background-repeat: no-repeat; @@ -457,7 +459,7 @@ div.sheet-tab5 > .sheet-degreMetamorphe > h1, div.sheet-tab6 > .sheet-col2 > .sheet-degreMetamorphe > h1, div.sheet-tab7 > .sheet-degreMetamorphe > h1 { - background-image: linear-gradient(to right, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.8)), url("https://raw.githubusercontent.com/Roll20/roll20-character-sheets/Master/Nephilim-Legende/img/fondTitreNB.png"), linear-gradient(to right, rgba(48, 59, 56, 0.5),rgba(48, 59, 56, 0.5)); + background-image: linear-gradient(to right, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.8)), url("https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Nephilim-Legende/img/fondTitreNB.png"), linear-gradient(to right, rgba(48, 59, 56, 0.5),rgba(48, 59, 56, 0.5)); background-repeat: no-repeat; background-position-y: 0px, calc(90%), 0px; background-size: auto, 100% auto, auto; @@ -691,7 +693,8 @@ div.sheet-metamorphe > .repcontainer > .repitem > label > input[type="checkbox"] background-color:var(--brun); } -div.sheet-degreMetamorphe +div.sheet-degreMetamorphe, +div.sheet-equipement { margin-top:10px; width:100%; @@ -700,14 +703,15 @@ div.sheet-degreMetamorphe background-image:radial-gradient(rgba(255, 255, 255,0.5), rgba(255, 255, 255, 0.5)); } -div.sheet-degreMetamorphe > h1 +div.sheet-degreMetamorphe > h1, +div.sheet-equipement > h1 { width: 100%; color: white; font-family: "Kodchasan"; text-shadow: 2px 3px 5px black; justify-content: center; - background-image: linear-gradient(to right, rgba(255, 255, 255, 0) 50%,rgba(255, 255, 255, 0.8)), url("https://raw.githubusercontent.com/Roll20/roll20-character-sheets/Master/Nephilim-Legende/img/fondTitre.png"), linear-gradient(to right, rgb(208, 175, 152, 1),rgba(208, 175, 152, 0.5)); + background-image: linear-gradient(to right, rgba(255, 255, 255, 0) 50%,rgba(255, 255, 255, 0.8)), url("https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Nephilim-Legende/img/fondTitre.png"), linear-gradient(to right, rgb(208, 175, 152, 1),rgba(208, 175, 152, 0.5)); background-repeat: no-repeat; background-position-y: 0px, calc(100% + -25%), 0px; background-size: auto, 100% auto, auto; @@ -715,6 +719,18 @@ div.sheet-degreMetamorphe > h1 font-size: 15px; } +div.sheet-equipement > .repcontainer > .repitem > div.sheet-autoex +{ + background-image: linear-gradient(rgba(var(--blanc), 0.5), rgba(var(--blanc), 0.5)); + border-bottom: 1px dotted var(--brun); + border-right: 1px dotted var(--brun); +} + +div.sheet-equipement > .repcontainer > .repitem:not(:first-of-type) > div.sheet-autoex +{ + border-top: 1px dotted var(--brun); +} + div.sheet-degreMetamorphe > input[type="hidden"][value="1"] ~ label:nth-of-type(1), div.sheet-degreMetamorphe > input[type="hidden"][value="2"] ~ label:nth-of-type(1), div.sheet-degreMetamorphe > input[type="hidden"][value="2"] ~ label:nth-of-type(2), @@ -865,7 +881,7 @@ label.sheet-sapience > input[type="number"] div.sheet-kaElement { width: 445px; - background-image: url('https://raw.githubusercontent.com/Roll20/roll20-character-sheets/Master/Nephilim-Legende/img/ka-element.png'); + background-image: url('https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Nephilim-Legende/img/ka-element.png'); background-size: contain; background-repeat: no-repeat; background-position-y: 35px; @@ -1072,7 +1088,7 @@ div.sheet-chutes > h1 width: 100%; font-size: 25px; line-height: 40px; - background-image: linear-gradient(to right, rgba(255, 255, 255, 0) 50%,rgba(255, 255, 255, 0.8)), url('https://raw.githubusercontent.com/Roll20/roll20-character-sheets/Master/Nephilim-Legende/img/fondTitre.png'), linear-gradient(to right, rgb(208, 175, 152, 1),rgba(208, 175, 152, 0.5)); + background-image: linear-gradient(to right, rgba(255, 255, 255, 0) 50%,rgba(255, 255, 255, 0.8)), url('https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Nephilim-Legende/img/fondTitre.png'), linear-gradient(to right, rgb(208, 175, 152, 1),rgba(208, 175, 152, 0.5)); background-repeat: no-repeat; background-position-y: 0px, calc(100% + -25%), 0px; background-size: auto, 100% auto, auto; @@ -1103,7 +1119,7 @@ div.sheet-chutes > div > div width: 100%; flex-wrap: wrap; line-height: 40px; - background-image: linear-gradient(to right, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.8)), url('https://raw.githubusercontent.com/Roll20/roll20-character-sheets/Master/Nephilim-Legende/img/fondTitreNB.png'), linear-gradient(to right, rgba(48, 59, 56, 0.5),rgba(48, 59, 56, 0.5)); + background-image: linear-gradient(to right, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.8)), url('https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Nephilim-Legende/img/fondTitreNB.png'), linear-gradient(to right, rgba(48, 59, 56, 0.5),rgba(48, 59, 56, 0.5)); background-repeat: no-repeat; background-position-y: 0px, calc(90%), 0px; background-size: auto, 100% auto, auto; @@ -1279,7 +1295,7 @@ div.sheet-stase > div:first-of-type, div.sheet-adoption > div:first-of-type { width: 100%; - background-image: linear-gradient(to right, rgba(255, 255, 255, 0.8),rgba(255, 255, 255, 0) 50%), url('https://raw.githubusercontent.com/Roll20/roll20-character-sheets/Master/Nephilim-Legende/img/fondTitre.png'), linear-gradient(to right, rgb(208, 175, 152, 1),rgba(208, 175, 152, 0.5)); + background-image: linear-gradient(to right, rgba(255, 255, 255, 0.8),rgba(255, 255, 255, 0) 50%), url('https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Nephilim-Legende/img/fondTitre.png'), linear-gradient(to right, rgb(208, 175, 152, 1),rgba(208, 175, 152, 0.5)); background-repeat: no-repeat; background-position-y: 0px, calc(100% + -25%), 0px; background-size: auto, 100% auto, auto; @@ -1290,7 +1306,7 @@ div.sheet-adoption > div:first-of-type div.sheet-metamorphe > div:first-of-type { width: 100%; - background-image: linear-gradient(to right, rgba(255, 255, 255, 0) 50%,rgba(255, 255, 255, 0.8)), url("https://raw.githubusercontent.com/Roll20/roll20-character-sheets/Master/Nephilim-Legende/img/fondTitre.png"), linear-gradient(to right, rgb(208, 175, 152, 1),rgba(208, 175, 152, 0.5)); + background-image: linear-gradient(to right, rgba(255, 255, 255, 0) 50%,rgba(255, 255, 255, 0.8)), url("https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Nephilim-Legende/img/fondTitre.png"), linear-gradient(to right, rgb(208, 175, 152, 1),rgba(208, 175, 152, 0.5)); background-repeat: no-repeat; background-position-y: 0px, calc(100% + -25%), 0px; background-size: auto, 100% auto, auto; @@ -1669,7 +1685,7 @@ div.sheet-epoquesIncarnation > h1 width: calc((100% / 3) - 10px); font-size: 18px; line-height: 40px; - background-image: linear-gradient(to right, rgba(255, 255, 255, 0) 50%,rgba(255, 255, 255, 0.8)), url("https://raw.githubusercontent.com/Roll20/roll20-character-sheets/Master/Nephilim-Legende/img/fondTitre.png"), linear-gradient(to right, rgb(208, 175, 152, 1),rgba(208, 175, 152, 0.5)); + background-image: linear-gradient(to right, rgba(255, 255, 255, 0) 50%,rgba(255, 255, 255, 0.8)), url("https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Nephilim-Legende/img/fondTitre.png"), linear-gradient(to right, rgb(208, 175, 152, 1),rgba(208, 175, 152, 0.5)); background-repeat: no-repeat; background-position-y: 0px, calc(100% + -25%), 0px; background-size: auto, 100% auto, auto; @@ -1682,6 +1698,7 @@ div.sheet-quetesEsoteriques > h1, div.sheet-savoirsEsoteriques > h1, div.sheet-armes > h1, div.sheet-artefacts > h1, +div.sheet-alchimie > h1, div.sheet-armures > h1, div.sheet-arcadia > h1, h1.sheet-titreMagie, @@ -1693,7 +1710,7 @@ div.sheet-fraternite > h1:first-of-type width: calc(100% - 10px); font-size: 18px; line-height: 40px; - background-image: linear-gradient(to right, rgba(255, 255, 255, 0) 50%,rgba(255, 255, 255, 0.8)), url("https://raw.githubusercontent.com/Roll20/roll20-character-sheets/Master/Nephilim-Legende/img/fondTitre.png"), linear-gradient(to right, rgb(208, 175, 152, 1),rgba(208, 175, 152, 0.5)); + background-image: linear-gradient(to right, rgba(255, 255, 255, 0) 50%,rgba(255, 255, 255, 0.8)), url("https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Nephilim-Legende/img/fondTitre.png"), linear-gradient(to right, rgb(208, 175, 152, 1),rgba(208, 175, 152, 0.5)); background-repeat: no-repeat; background-position-y: 0px, calc(100% + -25%), 0px; background-size: auto, 100% auto, auto; @@ -1717,7 +1734,7 @@ div.sheet-fraternite > h1:not(:first-of-type) font-size: 18px; flex-wrap: wrap; line-height: 40px; - background-image: linear-gradient(to right, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.8)), url("https://raw.githubusercontent.com/Roll20/roll20-character-sheets/Master/Nephilim-Legende/img/fondTitreNB.png"), linear-gradient(to right, rgba(48, 59, 56, 0.5),rgba(48, 59, 56, 0.5)); + background-image: linear-gradient(to right, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.8)), url("https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Nephilim-Legende/img/fondTitreNB.png"), linear-gradient(to right, rgba(48, 59, 56, 0.5),rgba(48, 59, 56, 0.5)); background-repeat: no-repeat; background-position-y: 0px, calc(90%), 0px; background-size: auto, 100% auto, auto; @@ -1733,12 +1750,16 @@ div.sheet-quetesEsoteriques > .repcontainer, div.sheet-savoirsEsoteriques > .repcontainer, div.sheet-armes > .repcontainer, div.sheet-artefacts > .repcontainer, +div.sheet-alchimie > .repcontainer, +div.sheet-equipement > .repcontainer, div.sheet-armures > .repcontainer, div.sheet-arcadia > .repcontainer, div.sheet-quetesEsoteriques > .repcontainer > .repitem, div.sheet-savoirsEsoteriques > .repcontainer > .repitem, div.sheet-armes > .repcontainer > .repitem, div.sheet-artefacts > .repcontainer > .repitem, +div.sheet-alchimie > .repcontainer > .repitem, +div.sheet-equipement > .repcontainer > .repitem, div.sheet-armures > .repcontainer > .repitem, div.sheet-arcadia > .repcontainer > .repitem { @@ -2448,7 +2469,8 @@ div.sheet-armures > .repcontainer > .repitem > input[type="number"] margin-right:25px; } -div.sheet-artefacts +div.sheet-artefacts, +div.sheet-alchimie { width:100%; flex-wrap:wrap; @@ -2456,12 +2478,16 @@ div.sheet-artefacts margin-top:10px; } -div.sheet-artefacts > .repcontainer > .repitem +div.sheet-artefacts > .repcontainer > .repitem, +div.sheet-alchimie > .repcontainer > .repitem, +div.sheet-equipement > .repcontainer > .repitem { justify-content:space-between; } -div.sheet-artefacts > .repcontainer > .repitem:not(:first-of-type) +div.sheet-artefacts > .repcontainer > .repitem:not(:first-of-type), +div.sheet-alchimie > .repcontainer > .repitem:not(:first-of-type), +div.sheet-equipement > .repcontainer > .repitem:not(:first-of-type) { margin-top:5px; } @@ -2503,6 +2529,18 @@ div.sheet-artefacts > .repcontainer > .repitem > div.sheet-autoex > textarea border:1px dotted black; } +div.sheet-alchimie > .repcontainer > .repitem > div.sheet-autoex +{ + background-image: linear-gradient(rgba(var(--blanc), 0.5), rgba(var(--blanc), 0.5)); + border: 1px dotted var(--brun); +} + +div.sheet-equipement > .repcontainer > .repitem > div > textarea, +div.sheet-alchimie > .repcontainer > .repitem > div > textarea +{ + background:transparent; +} + div.sheet-arcadia { width:100%; @@ -2515,7 +2553,7 @@ div.sheet-arcadia > div:first-of-type font-family: "Kodchasan"; width: 100%; height: 40px; - background-image: linear-gradient(to right, rgba(255, 255, 255, 0) 50%,rgba(255, 255, 255, 0.8)), url("https://raw.githubusercontent.com/Roll20/roll20-character-sheets/Master/Nephilim-Legende/img/fondTitre.png"), linear-gradient(to right, rgb(208, 175, 152, 1),rgba(208, 175, 152, 0.5)); + background-image: linear-gradient(to right, rgba(255, 255, 255, 0) 50%,rgba(255, 255, 255, 0.8)), url("https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Nephilim-Legende/img/fondTitre.png"), linear-gradient(to right, rgb(208, 175, 152, 1),rgba(208, 175, 152, 0.5)); background-repeat: no-repeat; background-position-y: 0px, calc(100% + -25%), 0px; padding-left: 10px; @@ -2782,7 +2820,7 @@ div.sheet-cercleMagie flex-wrap: wrap; line-height: 45px; height:45px; - background-image: linear-gradient(to right, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.8)), url("https://raw.githubusercontent.com/Roll20/roll20-character-sheets/Master/Nephilim-Legende/img/fondTitreNB.png"), linear-gradient(to right, rgba(48, 59, 56, 0.2),rgba(48, 59, 56, 0.2)); + background-image: linear-gradient(to right, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.8)), url("https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Nephilim-Legende/img/fondTitreNB.png"), linear-gradient(to right, rgba(48, 59, 56, 0.2),rgba(48, 59, 56, 0.2)); background-repeat: no-repeat; background-size: auto, 100% auto, auto; justify-content: flex-start; @@ -2848,6 +2886,7 @@ div.sheet-kOrdonnance div.sheet-vIEL > h1, div.sheet-kMonde > h1, div.sheet-kOrdonnance > h1, +div.sheet-alchimieSConstruct > h1, div.sheet-materiaePrimae > h1, div.sheet-constructs > h1, div.sheet-formules > h1 @@ -2857,7 +2896,7 @@ div.sheet-formules > h1 font-size: 18px; flex-wrap: wrap; line-height: 40px; - background-image: linear-gradient(to right, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.8)), url("https://raw.githubusercontent.com/Roll20/roll20-character-sheets/Master/Nephilim-Legende/img/fondTitreNB.png"), linear-gradient(to right, rgba(48, 59, 56, 0.5),rgba(48, 59, 56, 0.5)); + background-image: linear-gradient(to right, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.8)), url("https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Nephilim-Legende/img/fondTitreNB.png"), linear-gradient(to right, rgba(48, 59, 56, 0.5),rgba(48, 59, 56, 0.5)); background-repeat: no-repeat; background-position-y: 0px, calc(90%), 0px; background-size: auto, 100% auto, auto; @@ -2909,18 +2948,21 @@ div.sheet-formules > .repcontainer > .repitem > div:last-of-type > label > span div.sheet-sorts > span:nth-of-type(1) { - width:calc(100% - 65px - 65px - 65px - 65px - 65px - 25px - 25px - 25px - 45px); + width:calc(100% - 65px - 65px - 65px - 130px - 130px - 25px - 25px - 25px - 45px); } div.sheet-sorts > span:nth-of-type(2), div.sheet-sorts > span:nth-of-type(3), -div.sheet-sorts > span:nth-of-type(4), -div.sheet-sorts > span:nth-of-type(5), -div.sheet-sorts > span:nth-of-type(6) +div.sheet-sorts > span:nth-of-type(4) { width:65px; } +div.sheet-sorts > span:nth-of-type(5) +{ + width:130px; +} + div.sheet-sorts > span:nth-of-type(2), div.sheet-sorts > span:nth-of-type(4) { @@ -2931,7 +2973,7 @@ div.sheet-sorts > span:nth-of-type(4) div.sheet-sorts > span:nth-of-type(6) { - width:63px; + width:128px; border-left:2px solid var(--brun); } @@ -2972,6 +3014,15 @@ div.sheet-formules > .repcontainer > .repitem justify-content:space-between; } +div.sheet-sorts > .repcontainer > .repitem:not(:last-of-type), +div.sheet-invocations > .repcontainer > .repitem:not(:last-of-type), +div.sheet-formules > .repcontainer > .repitem:not(:last-of-type) +{ + padding-bottom:5px; + margin-bottom:5px; + border-bottom:5px double var(--brun); +} + div.sheet-sorts > .repcontainer > .repitem > input[type="text"], div.sheet-sorts > .repcontainer > .repitem > input[type="number"], div.sheet-sorts > .repcontainer > .repitem > div > label > input[type="number"], @@ -3073,7 +3124,7 @@ div.sheet-formules > .repcontainer > .repitem > label:nth-of-type(1) > input[typ div.sheet-sorts > .repcontainer > .repitem > input[type="text"]:nth-of-type(1) { - width:calc(100% - 65px - 65px - 65px - 65px - 65px - 25px - 25px - 25px - 45px - 30px); + width:calc(100% - 65px - 65px - 65px - 130px - 130px - 25px - 25px - 25px - 45px - 30px); padding-left:5px; font-weight:bold; } @@ -3082,10 +3133,15 @@ div.sheet-sorts > .repcontainer > .repitem > select:nth-of-type(1), div.sheet-sorts > .repcontainer > .repitem > select:nth-of-type(2), div.sheet-sorts > .repcontainer > .repitem > input[type="number"]:nth-of-type(2), div.sheet-sorts > .repcontainer > .repitem > input[type="text"]:nth-of-type(2), +div.sheet-sorts > .repcontainer > .repitem > input[type="text"]:nth-of-type(3) +{ + width:65px; +} + div.sheet-sorts > .repcontainer > .repitem > input[type="text"]:nth-of-type(3), div.sheet-sorts > .repcontainer > .repitem > input[type="text"]:nth-of-type(4) { - width:65px; + width:130px; } div.sheet-sorts > .repcontainer > .repitem > input[type="number"]:nth-of-type(2) @@ -3288,7 +3344,7 @@ div.sheet-cercleArbreKabbale > span div.sheet-cercleArbreKabbale > span:nth-of-type(1) { - background-image: linear-gradient(to right, rgba(255, 255, 255, 0) 50%,rgba(255, 255, 255, 0.8)), url("https://raw.githubusercontent.com/Roll20/roll20-character-sheets/Master/Nephilim-Legende/img/fond3.png"); + background-image: linear-gradient(to right, rgba(255, 255, 255, 0) 50%,rgba(255, 255, 255, 0.8)), url("https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Nephilim-Legende/img/fond3.png"); background-repeat: no-repeat; background-position-y: -270px; background-position-x: right; @@ -3298,7 +3354,7 @@ div.sheet-cercleArbreKabbale > span:nth-of-type(1) div.sheet-cercleArbreKabbale > span:nth-of-type(2) { - background-image: linear-gradient(to right, rgba(255, 255, 255, 0) 50%,rgba(255, 255, 255, 0.8)), url("https://raw.githubusercontent.com/Roll20/roll20-character-sheets/Master/Nephilim-Legende/img/fond3.png"); + background-image: linear-gradient(to right, rgba(255, 255, 255, 0) 50%,rgba(255, 255, 255, 0.8)), url("https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Nephilim-Legende/img/fond3.png"); background-repeat: no-repeat; background-position-y: -270px; background-position-x: right; @@ -3308,7 +3364,7 @@ div.sheet-cercleArbreKabbale > span:nth-of-type(2) div.sheet-cercleArbreKabbale > span:nth-of-type(3) { - background-image: linear-gradient(to right, rgba(255, 255, 255, 0) 50%,rgba(255, 255, 255, 0.8)), url("https://raw.githubusercontent.com/Roll20/roll20-character-sheets/Master/Nephilim-Legende/img/fond3.png"); + background-image: linear-gradient(to right, rgba(255, 255, 255, 0) 50%,rgba(255, 255, 255, 0.8)), url("https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Nephilim-Legende/img/fond3.png"); background-repeat: no-repeat; background-position-y: -220px; background-position-x: right; @@ -3775,7 +3831,7 @@ div.sheet-oeuvres > label:nth-of-type(1) background-repeat: no-repeat; background-position-y: 0px, 100%, -1px; background-position-x: 0px, -190px; - background-image: linear-gradient(to right, rgba(255, 255, 255, 0) 50%,rgba(255, 255, 255, 0.8)), url("https://raw.githubusercontent.com/Roll20/roll20-character-sheets/Master/Nephilim-Legende/img/fond3.png"), linear-gradient(to right, rgba(0, 0, 0, 0.7),rgb(0, 0, 0)); + background-image: linear-gradient(to right, rgba(255, 255, 255, 0) 50%,rgba(255, 255, 255, 0.8)), url("https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Nephilim-Legende/img/fond3.png"), linear-gradient(to right, rgba(0, 0, 0, 0.7),rgb(0, 0, 0)); } div.sheet-oeuvres > label:nth-of-type(2) @@ -3783,7 +3839,7 @@ div.sheet-oeuvres > label:nth-of-type(2) background-repeat: no-repeat; background-position-y: 0px, 100%, -1px; background-position-x: 0px, -190px; - background-image: linear-gradient(to right, rgba(255, 255, 255, 0) 50%,rgba(255, 255, 255, 0.8)), url("https://raw.githubusercontent.com/Roll20/roll20-character-sheets/Master/Nephilim-Legende/img/fond3.png"), linear-gradient(to right, rgba(234, 235, 236, 0.7),rgb(234, 235, 236)); + background-image: linear-gradient(to right, rgba(255, 255, 255, 0) 50%,rgba(255, 255, 255, 0.8)), url("https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Nephilim-Legende/img/fond3.png"), linear-gradient(to right, rgba(234, 235, 236, 0.7),rgb(234, 235, 236)); border-left: 2px solid var(--titreGris); border-right: 2px solid var(--titreGris); } @@ -3794,7 +3850,7 @@ div.sheet-oeuvres > label:nth-of-type(3) background-repeat: no-repeat; background-position-y: 0px, 100%, -1px; background-position-x: 0px, -190px; - background-image: linear-gradient(to right, rgba(255, 255, 255, 0) 50%,rgba(255, 255, 255, 0.8)), url("https://raw.githubusercontent.com/Roll20/roll20-character-sheets/Master/Nephilim-Legende/img/fond3.png"), linear-gradient(to right, rgba(194, 072, 049, 0.7),rgb(194, 072, 049)); + background-image: linear-gradient(to right, rgba(255, 255, 255, 0) 50%,rgba(255, 255, 255, 0.8)), url("https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Nephilim-Legende/img/fond3.png"), linear-gradient(to right, rgba(194, 072, 049, 0.7),rgb(194, 072, 049)); } div.sheet-oeuvres > label > span @@ -3850,6 +3906,56 @@ label.sheet-alchimieVoie > select background: transparent; } +div.sheet-alchimieSConstruct +{ + width:100%; + justify-content:space-around; + flex-wrap:wrap; +} + +div.sheet-alchimieSConstruct label +{ + width: 150px; + height: 25px; + cursor: pointer; + border: 1px solid var(--titre); + margin: 2px; +} + +div.sheet-alchimieSConstruct label > input[type="checkbox"] +{ + position: absolute; + width: 25px; + height: 25px; + opacity: 0; +} + +div.sheet-alchimieSConstruct label > span +{ + width:100%; +} + +div.sheet-alchimieSConstruct label > span::before +{ + display: flex; + width: 100%; + content: attr(title); + height: 25px; + line-height: 25px; + font-weight: bold; + justify-content: center; + box-shadow: 1px 1px 3px black; + background: var(--titre); +} + + +div.sheet-alchimieSConstruct label > input[type="checkbox"]:checked ~ span::before +{ + box-shadow: inset 1px 1px 3px black; + background: RGB(119, 89, 59); + color: white; +} + div.sheet-materiaePrimae { width:100%; @@ -3908,6 +4014,15 @@ div.sheet-constructs > h1 margin-bottom:10px; } +div.sheet-constructs > input[type="hidden"].sheet-cornue[value="0"] ~ div.sheet-cornue, +div.sheet-constructs > input[type="hidden"].sheet-athanor[value="0"] ~ div.sheet-athanor, +div.sheet-constructs > input[type="hidden"].sheet-aludel[value="0"] ~ div.sheet-aludel, +div.sheet-constructs > input[type="hidden"].sheet-forge[value="0"] ~ div.sheet-forge, +div.sheet-constructs > input[type="hidden"].sheet-alambic[value="0"] ~ div.sheet-alambic +{ + display:none; +} + div.sheet-constructs > div { width: 445px; @@ -3917,7 +4032,7 @@ div.sheet-constructs > div div.sheet-constructs > div:nth-of-type(1) { - background-image: url('https://raw.githubusercontent.com/Roll20/roll20-character-sheets/Master/Nephilim-Legende/img/Cornue.png'), url('https://raw.githubusercontent.com/Roll20/roll20-character-sheets/Master/Nephilim-Legende/img/ka-element-sans-homme.png'); + background-image: url('https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Nephilim-Legende/img/Cornue.png'), url('https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Nephilim-Legende/img/ka-element-sans-homme.png'); background-size: 220px, contain; background-repeat: no-repeat; background-position-x: calc(50% + 5px), 0px; @@ -3926,7 +4041,7 @@ div.sheet-constructs > div:nth-of-type(1) div.sheet-constructs > div:nth-of-type(2) { - background-image: url('https://raw.githubusercontent.com/Roll20/roll20-character-sheets/Master/Nephilim-Legende/img/athanor.png'), url('https://raw.githubusercontent.com/Roll20/roll20-character-sheets/Master/Nephilim-Legende/img/ka-element-sans-homme.png'); + background-image: url('https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Nephilim-Legende/img/athanor.png'), url('https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Nephilim-Legende/img/ka-element-sans-homme.png'); background-size: 150px, contain; background-repeat: no-repeat; background-position-x: calc(50% + 3px), 0px; @@ -3935,7 +4050,7 @@ div.sheet-constructs > div:nth-of-type(2) div.sheet-constructs > div:nth-of-type(3) { - background-image: url('https://raw.githubusercontent.com/Roll20/roll20-character-sheets/Master/Nephilim-Legende/img/aludel.png'), url('https://raw.githubusercontent.com/Roll20/roll20-character-sheets/Master/Nephilim-Legende/img/ka-element-sans-homme.png'); + background-image: url('https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Nephilim-Legende/img/aludel.png'), url('https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Nephilim-Legende/img/ka-element-sans-homme.png'); background-size: 80px, contain; background-repeat: no-repeat; background-position-x: calc(50% - 5px), center; @@ -3944,7 +4059,7 @@ div.sheet-constructs > div:nth-of-type(3) div.sheet-constructs > div:nth-of-type(4) { - background-image: url('https://raw.githubusercontent.com/Roll20/roll20-character-sheets/Master/Nephilim-Legende/img/Creuset-alchimique.png'), url('https://raw.githubusercontent.com/Roll20/roll20-character-sheets/Master/Nephilim-Legende/img/ka-element-sans-homme.png'); + background-image: url('https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Nephilim-Legende/img/Creuset-alchimique.png'), url('https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Nephilim-Legende/img/ka-element-sans-homme.png'); background-size: 150px, contain; background-repeat: no-repeat; background-position-x: calc(50% + -5px), 0px; @@ -3953,7 +4068,7 @@ div.sheet-constructs > div:nth-of-type(4) div.sheet-constructs > div:nth-of-type(5) { - background-image: url('https://raw.githubusercontent.com/Roll20/roll20-character-sheets/Master/Nephilim-Legende/img/Alambic.png'), url('https://raw.githubusercontent.com/Roll20/roll20-character-sheets/Master/Nephilim-Legende/img/ka-element-sans-homme.png'); + background-image: url('https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Nephilim-Legende/img/Alambic.png'), url('https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Nephilim-Legende/img/ka-element-sans-homme.png'); background-size: 135px, contain; background-repeat: no-repeat; background-position-x: calc(50% + -13px), 0px; @@ -4414,7 +4529,7 @@ div.sheet-fraternite > .repcontainer > .repitem > .itemcontrol > .btn .sheet-rolltemplate-formule, .sheet-rolltemplate-initiative { - background-image: radial-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.5)), url("https://raw.githubusercontent.com/Roll20/roll20-character-sheets/Master/Nephilim-Legende/img/Fond-vieux-papier.jpg"); + background-image: radial-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.5)), url("https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Nephilim-Legende/img/Fond-vieux-papier.jpg"); background-size: cover, cover, cover; display:flex; justify-content:space-between; @@ -4505,9 +4620,7 @@ div.sheet-fraternite > .repcontainer > .repitem > .itemcontrol > .btn } .sheet-rolltemplate-sort > div:first-of-type > span:last-of-type, -.sheet-rolltemplate-invocation > div:first-of-type > span:last-of-type, -.sheet-rolltemplate-opposition > div:first-of-type > span:last-of-type, -.sheet-rolltemplate-formule > div:first-of-type > span:last-of-type +.sheet-rolltemplate-invocation > div:first-of-type > span:last-of-type { width:calc(50% - 5px); justify-content:flex-start; @@ -4519,6 +4632,20 @@ div.sheet-fraternite > .repcontainer > .repitem > .itemcontrol > .btn margin-left:5px; } +.sheet-rolltemplate-opposition > div:first-of-type > span:last-of-type, +.sheet-rolltemplate-formule > div:first-of-type > span:last-of-type +{ + width:100%; + justify-content:flex-start; + font-weight:bold; + font-size:15px; + font-style:italic; + color:black; + word-wrap:anywhere; + margin-left:5px; + justify-content:center; +} + .sheet-rolltemplate-base > div:first-of-type > span:last-of-type, .sheet-rolltemplate-sort > div:first-of-type > span:last-of-type, .sheet-rolltemplate-invocation > div:first-of-type > span:last-of-type, diff --git a/Nephilim-Legende/nephilim-legende.html b/Nephilim-Legende/nephilim-legende.html index 9b843a108c..9d299e53b4 100644 --- a/Nephilim-Legende/nephilim-legende.html +++ b/Nephilim-Legende/nephilim-legende.html @@ -312,7 +312,7 @@ var metamorphose = 0; - if(ka_element = "kaair") + if(ka_element == "kaair") metamorphose = KADA; if(ka_element == "kafeu") @@ -369,7 +369,7 @@ var metamorphose = 0; - if(ka_element = "kaair") + if(ka_element == "kaair") metamorphose = KADA; if(ka_element == "kafeu") @@ -396,7 +396,7 @@ }); }); - on("change:repeating_alch-form:alch-form-art change:repeating_alch-form:alch-form-ka-1 change:repeating_alch-form:alch-form-ka-2 change:repeating_alch-form:alch-form-subs change:repeating_alch-form:alch-form-degre change:repeating_alch-form:alch-oeuvre-noir change:repeating_alch-form:alch-oeuvre-blanc change:repeating_alch-form:alch-oeuvre-rouge change:kaeau change:kafeu change:katerre change:kaair change:kalune change:alch-athanor-kafeu change:alch-athanor-kaeau change:alch-athanor-katerre change:alch-athanor-kalune change:alch-athanor-kaair change:alch-aludel-kafeu change:alch-aludel-kaeau change:alch-aludel-katerre change:alch-aludel-kalune change:alch-aludel-kaair change:alch-alambic-kafeu change:alch-alambic-kaeau change:alch-alambic-katerre change:alch-alambic-kalune change:alch-alambic-kaair change:alch-cornue-kafeu change:alch-cornue-kaeau change:alch-cornue-katerre change:alch-cornue-kalune change:alch-cornue-kaair change:alch-creuset-kafeu change:alch-creuset-kaeau change:alch-creuset-katerre change:alch-creuset-kalune change:alch-creuset-kaair sheet:opened", function() + on("change:repeating_alch-form:alch-form-art change:repeating_alch-form:alch-form-ka-1 change:repeating_alch-form:alch-form-ka-2 change:repeating_alch-form:alch-form-subs change:repeating_alch-form:alch-form-degre change:repeating_alch-form:alch-oeuvre-noir change:repeating_alch-form:alch-oeuvre-blanc change:repeating_alch-form:alch-oeuvre-rouge change:kaeau change:kafeu change:katerre change:kaair change:kalune change:alch-athanor-kafeu change:alch-athanor-kaeau change:alch-athanor-katerre change:alch-athanor-kalune change:alch-athanor-kaair change:alch-aludel-kafeu change:alch-aludel-kaeau change:alch-aludel-katerre change:alch-aludel-kalune change:alch-aludel-kaair change:alch-alambic-kafeu change:alch-alambic-kaeau change:alch-alambic-katerre change:alch-alambic-kalune change:alch-alambic-kaair change:alch-cornue-kafeu change:alch-cornue-kaeau change:alch-cornue-katerre change:alch-cornue-kalune change:alch-cornue-kaair change:alch-creuset-kafeu change:alch-creuset-kaeau change:alch-creuset-katerre change:alch-creuset-kalune change:alch-creuset-kaair change:alch-oeuvre-noir change:alch-oeuvre-blanc change:alch-oeuvre-rouge sheet:opened", function() { getSectionIDs("repeating_alch-form", function(idarray) { @@ -426,14 +426,23 @@ var alch_oeuvre = values["repeating_alch-form_"+id+"_alch-form-art"]; var alch_oeuvre_value = parseInt(values[alch_oeuvre], 10)||0; var degre = parseInt(values["repeating_alch-form_"+id+"_alch-form-degre"], 10)||0; - - var total = (ka_element_value1 + ka_element_value2 + alch_oeuvre_value) - degre; - console.log("KA1 : "+ka_element_value1); - console.log("KA2 : "+ka_element_value2); - console.log("Oeuvre : "+alch_oeuvre_value); - console.log("Degré : "+degre); + var totalKa = 0; + + if(alch_oeuvre == "alch-oeuvre-blanc") + { + if(ka_element1 != "0" && ka_element2 != "0") + totalKa = Math.min(ka_element_value1, ka_element_value2); + else if(ka_element1 == "0" && ka_element2 != "0") + totalKa = ka_element_value2; + else if(ka_element1 != "0" && ka_element2 == "0") + totalKa = ka_element_value1; + } + else + totalKa = ka_element_value1 + ka_element_value2; + var total = (totalKa + alch_oeuvre_value) - degre; + setAttrs({ ["repeating_alch-form_"+id+"_alch-form-current"]: total }); @@ -610,7 +619,7 @@
- + + +
+

Équipements

+
+
+ + +
+
+
@@ -1676,7 +1695,10 @@ + + +
@@ -1766,6 +1788,16 @@
+ +
+

Objets d'alchimie synthétisés

+
+
+ + +
+
+
@@ -2244,12 +2276,40 @@ + +
+

Constructs utilisables

+ + + + + + + + + +

Jauge de Materiae Primae

- Feu + Feu
- Air + Air
- Terre + Terre
- Eau + Eau
- Lune + Lune