Skip to content

Commit

Permalink
Merge pull request #13326 from ChocoLanoar/cv2-update
Browse files Browse the repository at this point in the history
[Coeurs Vaillants 2] Sheet update for game launch
  • Loading branch information
NorWhal committed Sep 24, 2024
2 parents e7ab1b1 + e3dd5b8 commit 7ac5204
Show file tree
Hide file tree
Showing 3 changed files with 301 additions and 241 deletions.
25 changes: 15 additions & 10 deletions CoeursVaillants-2/CoeursVaillants-2.css
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,10 @@ div.sheet-libel1{
font-size: 12px;
font-weight: bold;
text-align: left;
vertical-align: middle;
vertical-align: middle;
width: 60px;
font-variant: small-caps;
margin-bottom: 4px;
margin-bottom: 4px;
}
.sheet-darkmode div.sheet-libel1{
color: white;
Expand Down Expand Up @@ -183,7 +183,7 @@ textarea {
box-sizing: border-box;
margin: 0px;
font-weight: normal;
font-family: cursive;
font-family: cursive;
color: black;
background-color: WhiteSmoke;
}
Expand Down Expand Up @@ -236,9 +236,6 @@ input[type="checkbox"].check-buttonExalt + label {
input[type="checkbox"].check-buttonComp + label {
font-size: 14px;
width: 90px;
/* font-weight: bold; */
/* font-variant: small-caps; */
/* width: 110px; */
}
/* --------------------- */
/* --------TEXT--------- */
Expand All @@ -254,6 +251,9 @@ label.sheet-avent2 {
margin-top:0px;
margin-bottom:0px;
}
.sheet-marginCarac {
margin: -4px 0 3px 10px;
}
/* --------------------- */
/* -------BOUTONS------- */
/* --------------------- */
Expand Down Expand Up @@ -400,14 +400,19 @@ label.sheet-avent2 {
/* --------------------- */
/* ----SWITCH PJ/PNJ---- */
/* --------------------- */
div.sheet-block_b {
div.sheet-block_a {
display: none;
}
input.sheet-block_switch:checked ~ div.sheet-block_a {
div.sheet-block_b {
display: none;
}
input.sheet-block_switch:checked ~ div.sheet-block_b {
display: inline;
html input[name*=type_fiche][value=personnage] ~ div.sheet-block_a,
html .charsheet input[name*=type_fiche][value=personnage] ~ div.sheet-block_a {
display: block;
}
html input[name*=type_fiche][value=bestiaire] ~ div.sheet-block_b,
html .charsheet input[name*=type_fiche][value=bestiaire] ~ div.sheet-block_b {
display: block;
}

/* --------------------- */
Expand Down
Loading

0 comments on commit 7ac5204

Please sign in to comment.