diff --git a/CoeursVaillants-2/CoeursVaillants-2.css b/CoeursVaillants-2/CoeursVaillants-2.css index 91243eae52..8d7c952565 100644 --- a/CoeursVaillants-2/CoeursVaillants-2.css +++ b/CoeursVaillants-2/CoeursVaillants-2.css @@ -1,6 +1,12 @@ * { box-sizing: border-box; } +.charsheet { + background-color: white; +} +.sheet-darkmode .charsheet { + background-color: #202020; +} /* ---- DIV ----- */ div{ padding: 0px 0px 0px 0px; @@ -12,7 +18,6 @@ div{ div.sheet-main{ padding: 4px; width: 850px; - background: white; text-align:center; font-family: 'Verdana'; border-width: 1px; @@ -25,22 +30,30 @@ div.sheet-ligne{ text-align: left; vertical-align: middle; margin: 1px 0px 1px 0px; - /* border: 1px solid red; */ } div.sheet-mycol{ display: inline-block; vertical-align: top; - /* border: 1px solid blue; */ } div.sheet-mycolbrd{ display: inline-block; vertical-align: top; - /* border-right: 1px solid black; */ - /* border-radius: 6px; */ text-align: center; padding: 3px; margin-bottom: 3px; } +div.sheet-borderRight { + border-right: 1px solid black; +} +.sheet-darkmode div.sheet-borderRight { + border-right: 1px solid white; +} +div.sheet-borderBottom { + border-bottom: 1px solid black; +} +.sheet-darkmode div.sheet-borderBottom { + border-bottom: 1px solid white; +} div.sheet-libeldesc{ color: black; display: block; @@ -49,6 +62,9 @@ div.sheet-libeldesc{ vertical-align: middle; margin-bottom: 1px; } +.sheet-darkmode div.sheet-libeldesc{ + color: white; +} div.sheet-libel1{ color: black; display: inline-block; @@ -60,6 +76,9 @@ div.sheet-libel1{ text-transform: uppercase; margin-bottom: 4px; } +.sheet-darkmode div.sheet-libel1{ + color: white; +} div.sheet-libel2{ color: black; display: inline-block; @@ -71,6 +90,9 @@ div.sheet-libel2{ text-transform: uppercase; margin-bottom: 4px; } +.sheet-darkmode div.sheet-libel2{ + color: white; +} div.sheet-libel3{ color: black; display: inline-block; @@ -82,10 +104,20 @@ div.sheet-libel3{ text-transform: uppercase; margin-bottom: 2px; } - +.sheet-darkmode div.sheet-libel3{ + color: white; +} /* --------------------- */ /* --------FORMS-------- */ /* --------------------- */ +select { + color: black; + background-color: WhiteSmoke; +} +.sheet-darkmode select { + color: white; + background-color: #383838; +} select.sheet-short { width: 80px; } @@ -97,10 +129,15 @@ input{ padding: 0; margin: 0; color: black; + background-color: WhiteSmoke; font-family: cursive; font-weight: normal; border-radius: 0px; } +.sheet-darkmode input { + color: white; + background-color: #383838; +} input[type="text"]{ padding: 0px 0px 1px 2px; border-width: 0px 0px 1px 0px; @@ -111,7 +148,7 @@ input[type="text"].sheet-biginp{ /* font-weight: bold; */ } input[type="number"]{ - text-align: right; + text-align: center; border-width: 0px 1px 1px 0px; border-style: solid; } @@ -124,10 +161,8 @@ input[type="number"].sheet-inpnum2c{ input[type="number"].sheet-inpnum2cbig{ width: 35px; font-size: 140%; - /* margin-bottom: 4px; */ } input[type="number"].sheet-inpnum2cboxed{ - /* border: 1px solid black; */ width: 35px; } input.sheet-long { @@ -144,9 +179,17 @@ input.sheet-extrashort { width: 40px; } textarea { - resize:none; + resize: none; + box-sizing: border-box; + margin: 0px; font-weight: normal; font-family: cursive; + color: black; + background-color: WhiteSmoke; +} +.sheet-darkmode textarea { + color: white; + background-color: #383838; } textarea.sheet-text2col { width: 400px; @@ -157,6 +200,12 @@ textarea.sheet-text3col { /* --------------------- */ /* --------TEXT--------- */ /* --------------------- */ +.sheet-infoDesc { + color: black; +} +.sheet-darkmode .sheet-infoDesc { + color: white; +} label.sheet-avent2 { font-size:10px; margin-top:0px; @@ -165,113 +214,146 @@ label.sheet-avent2 { /* --------------------- */ /* -------BOUTONS------- */ /* --------------------- */ -/* .sheet-btRoll4 { */ - /* color: #500000; */ - /* background: none; */ - /* border: none; */ - /* font-weight: bolder; */ -/* } */ -/* .ui-dialog .charsheet button[type=roll]:before { */ - /* content: ""; */ -/* } */ -button[type=roll].sheet-btRoll20, -button[type=roll].sheet-btRoll20deminiv, -button[type=roll].sheet-btRoll20niv, -button[type=roll].sheet-btRoll4, -button[type=roll].sheet-btRoll8, -button[type=roll].sheet-btRoll8Big, -button[type=roll].sheet-btDesc, -button[type=roll].sheet-btLien{ +.repcontrol .btn { + color: #383838; + background: WhiteSmoke; + display: inline-block; + text-shadow: none; + box-shadow: none; +} +.sheet-darkmode .repcontrol .btn { + color: WhiteSmoke; + background: #383838; +} + +.ui-dialog button[type=roll].sheet-btRoll20, +.ui-dialog button[type=roll].sheet-btRoll20deminiv, +.ui-dialog button[type=roll].sheet-btRoll20niv, +.ui-dialog button[type=roll].sheet-btRoll4, +.ui-dialog button[type=roll].sheet-btRoll8, +.ui-dialog button[type=roll].sheet-btRoll8Big, +.ui-dialog button[type=roll].sheet-btDesc, +.ui-dialog button[type=roll].sheet-btLien{ color: black; padding: 0; margin: 0; border:none; background:none; opacity: 0.6; + box-shadow: none; + text-shadow: none; } -button[type=roll]:hover{ +.sheet-darkmode .ui-dialog button[type=roll].sheet-btRoll20, +.sheet-darkmode .ui-dialog button[type=roll].sheet-btRoll20deminiv, +.sheet-darkmode .ui-dialog button[type=roll].sheet-btRoll20niv, +.sheet-darkmode .ui-dialog button[type=roll].sheet-btRoll4, +.sheet-darkmode .ui-dialog button[type=roll].sheet-btRoll8, +.sheet-darkmode .ui-dialog button[type=roll].sheet-btRoll8Big, +.sheet-darkmode .ui-dialog button[type=roll].sheet-btDesc, +.sheet-darkmode .ui-dialog button[type=roll].sheet-btLien{ + color: white; +} +.ui-dialog button[type=roll]:hover{ opacity: 1.0; } -button[type=roll].sheet-btRoll20 { +.ui-dialog button[type=roll].sheet-btRoll20 { height: 1.3em; width: 1.3em; line-height: 1.3em; } -button[type=roll].sheet-btRoll20:before { +.ui-dialog button[type=roll].sheet-btRoll20:before { font-size: 1.3em; + content: "T"; } -button[type=roll].sheet-btRoll20deminiv{ +.sheet-darkmode .ui-dialog button[type=roll].sheet-btRoll20:before { + content: "t"; +} +.ui-dialog button[type=roll].sheet-btRoll20deminiv{ height: 1.5em; width: 1.5em; line-height: 1.5em; } -button[type=roll].sheet-btRoll20deminiv:before { +.ui-dialog button[type=roll].sheet-btRoll20deminiv:before { font-size: 1.5em; + content: "t"; } -button[type=roll].sheet-btRoll20niv{ +.sheet-darkmode .ui-dialog button[type=roll].sheet-btRoll20deminiv:before { + content: "T"; +} +.ui-dialog button[type=roll].sheet-btRoll20niv{ height: 1.5em; width: 1.5em; line-height: 1.5em; - /* color: white; */ - /* background-color: black; */ } -button[type=roll].sheet-btRoll20niv:before { +.ui-dialog button[type=roll].sheet-btRoll20niv:before { font-size: 1.5em; - content: "T" !important; + content: "T"; } -button[type=roll].sheet-btRoll4 { +.sheet-darkmode .ui-dialog button[type=roll].sheet-btRoll20niv:before { + content: "t"; +} +.ui-dialog button[type=roll].sheet-btRoll4 { height: 1.4em; width: 1.4em; line-height: 1.4em; } -button[type=roll].sheet-btRoll4:before { +.ui-dialog button[type=roll].sheet-btRoll4:before { font-size: 1.4em; - font-family: dicefontd4 !important; - content: "D" !important; + font-family: dicefontd4; + content: "D"; } -button[type=roll].sheet-btRoll8 { +.sheet-darkmode .ui-dialog button[type=roll].sheet-btRoll4:before { + content: "d"; +} +.ui-dialog button[type=roll].sheet-btRoll8 { height: 1.4em; width: 1.4em; line-height: 1.4em; } -button[type=roll].sheet-btRoll8:before { +.ui-dialog button[type=roll].sheet-btRoll8:before { font-size: 1.4em; - font-family: dicefontd8 !important; - content: "H" !important; + font-family: dicefontd8; + content: "H"; } -button[type=roll].sheet-btRoll8Big { +.sheet-darkmode .ui-dialog button[type=roll].sheet-btRoll8:before { + content: "h"; +} +.ui-dialog button[type=roll].sheet-btRoll8Big { height: 2em; width: 2em; line-height: 2em; } -button[type=roll].sheet-btRoll8Big:before { +.ui-dialog button[type=roll].sheet-btRoll8Big:before { font-size: 2em; - font-family: dicefontd8 !important; - content: "H" !important; + font-family: dicefontd8; + content: "H"; } -button[type=roll].sheet-btDesc{ +.sheet-darkmode .ui-dialog button[type=roll].sheet-btRoll8Big:before { + content: "h"; +} +.ui-dialog button[type=roll].sheet-btDesc{ color: black; height: 18px; width: 18px; line-height: 16px; opacity: 0.4; } -button[type=roll].sheet-btDesc:before{ +.ui-dialog button[type=roll].sheet-btDesc:before{ font-family: "Pictos"; font-size: 1.0em; content: 'i'; } -button[type=roll].sheet-btDesc:hover{ +.ui-dialog button[type=roll].sheet-btDesc:hover{ opacity: 1.0; } -button[type=roll].sheet-btLien:before{ +.ui-dialog button[type=roll].sheet-btLien:before{ font-family: "Pictos"; font-size: 0.9em; content: 'G'; width: 1em; vertical-align: top; } -button[type=roll].sheet-btLien:hover{ +.ui-dialog button[type=roll].sheet-btLien:hover{ opacity: 1.0; } @@ -287,65 +369,100 @@ input.sheet-block_switch:checked ~ div.sheet-block_a { input.sheet-block_switch:checked ~ div.sheet-block_b { display: inline; } -input.sheet-block_switch:not(:checked) ~ span:after { - content:" PNJ"; -} -input.sheet-block_switch:checked ~ span:after { - content:" PNJ"; -} /* --------------------- */ /* ----- TEMPLATES ----- */ /* --------------------- */ .sheet-rolltemplate-jet div { + color: black; + text-align: left; + font-size: 110%; + font-weight: normal; + margin-bottom: 2px; + padding-top: 2px; + padding-bottom: 2px; + padding-left: 10px; +} +.sheet-rolltemplate-darkmode.sheet-rolltemplate-jet div { + color: white; +} + +.sheet-rolltemplate-jet div.sheet-template-main { background: palegoldenrod; border: 1px solid black; border-radius: 10px; padding: 5px; width: 100%; } +.sheet-rolltemplate-darkmode.sheet-rolltemplate-jet div.sheet-template-main { + background: darkred; + border: 1px solid white; +} -.sheet-rolltemplate-jet div > h3{ - color: black; +.sheet-rolltemplate-jet .sheet-template-charName { text-align: center; margin-bottom: 2px; - font-size: 130%; + font-size: 120%; font-weight: bold; } -.sheet-rolltemplate-jet div > h4{ - color: firebrick; +.sheet-rolltemplate-jet .sheet-template-title { + color: darkred; text-align: center; margin-bottom: 5px; - font-size: 120%; + font-size: 110%; font-weight: bold; } - -.sheet-rolltemplate-jet div > h5{ - text-align: center; - font-size: 120%; - font-weight: bold; - margin-bottom: 5px; - padding-top: 3px; - padding-bottom: 3px; +.sheet-rolltemplate-darkmode.sheet-rolltemplate-jet .sheet-template-title { + color: palegoldenrod; } -.sheet-rolltemplate-jet div > h6{ - text-align: left; - font-size: 120%; - font-weight: bold; - margin-bottom: 5px; - padding-top: 3px; - padding-bottom: 3px; - padding-left: 10px; -} - -.sheet-rolltemplate-jet div > div{ - border: none; - padding: 0px; +.sheet-rolltemplate-jet .sheet-template-rollDesc { margin-bottom: 2px; padding-top: 3px; padding-bottom: 3px; padding-left: 5px; - font-weight: bold; -} \ No newline at end of file + font-size: 90%; + font-weight: normal; + font-style: italic; +} + +.sheet-rolltemplate-jet .sheet-template-success { + color: green; +} +.sheet-rolltemplate-darkmode.sheet-rolltemplate-jet .sheet-template-success { + color: greenyellow; +} +.sheet-rolltemplate-jet .sheet-template-failure { + color: red; +} +.sheet-rolltemplate-darkmode.sheet-rolltemplate-jet .sheet-template-failure { + color: pink; +} + +.sheet-rolltemplate-jet .inlinerollresult, +.sheet-rolltemplate-darkmode.sheet-rolltemplate-jet .inlinerollresult { + display: inline-block; + text-align: center; + background: none; + padding: 1px; + border: none; + min-width: 1em; +} + +.sheet-rolltemplate-jet .sheet-noCrit .inlinerollresult.fullcrit, +.sheet-rolltemplate-jet .sheet-noCrit .inlinerollresult.fullfail, +.sheet-rolltemplate-jet .inlinerollresult.importantroll { + border: none; +} + +.sheet-rolltemplate-jet .sheet-enableCrit .inlinerollresult.fullcrit, +.sheet-rolltemplate-jet .sheet-enableCrit .inlinerollresult.fullfail { + border-style: none none solid none; + border-color: darkred; + font-style: italic; +} +.sheet-rolltemplate-darkmode.sheet-rolltemplate-jet .sheet-enableCrit .inlinerollresult.fullcrit, +.sheet-rolltemplate-darkmode.sheet-rolltemplate-jet .sheet-enableCrit .inlinerollresult.fullfail { + border-color: palegoldenrod; +} diff --git a/CoeursVaillants-2/CoeursVaillants-2.html b/CoeursVaillants-2/CoeursVaillants-2.html index 9d3582f2d0..1a2354532e 100644 --- a/CoeursVaillants-2/CoeursVaillants-2.html +++ b/CoeursVaillants-2/CoeursVaillants-2.html @@ -1,11 +1,11 @@ - +
PNJ
-
+
-
+
Nom
@@ -24,11 +24,13 @@
-
-
Niveau
- -
XP
- +
+
Niv
+ +
XP
+ +
/
+
1XP : relancer avec Avantage
@@ -37,12 +39,12 @@
-
-
+
+
-
Carac.
- -
½Niv | Niv
+
Carac.
+ +
½Niv | Niv
VIG
@@ -50,32 +52,32 @@
-
Vigueur
+
Vigueur
DEX
-
Dextérité
+
Dextérité
INT
-
Intelligence
+
Intelligence
CHA
-
Charisme
+
Charisme
-
-
+
+
Défense
@@ -92,21 +94,27 @@
+
+
½Niv | Niv
+
-
½Niv | Niv
-
Seuil de mouvement
+
Seuil de mouvement
-
+
-
Points de Vie
+
Points de Vie
+
+
+
Temp.
Aggr.
-
/
-
temp.
+
/
+ +
Jet PV max
@@ -126,9 +134,13 @@
-
-
Points d'Aventure
- +
+
Points d'Aventure
+
+
+ +
/
+
Jet avec avantage
@@ -141,7 +153,7 @@
-
+
@@ -168,7 +180,7 @@
Jet de Chance
- +
@@ -191,7 +203,7 @@
Vitesse
-
pas
+
pas
Moitié : +1 attaque ou Déf
@@ -201,7 +213,7 @@
-
+
Armes
@@ -215,24 +227,23 @@
-
+
-
Capacités
Utilisations
+
Capacités
Utilisations
- + - - / + /
-
+
Équipement
@@ -244,7 +255,7 @@
Richesses
-
pièces d’or
+
pièces d’or
@@ -269,7 +280,7 @@
Niv
PV+
- +
PV
/