Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Coeurs Vaillants 2] Sheet update for game launch #13326

Merged
merged 2 commits into from
Sep 24, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 23 additions & 7 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 @@ -254,6 +254,9 @@ label.sheet-avent2 {
margin-top:0px;
margin-bottom:0px;
}
.sheet-marginCarac {
margin: -4px 0 3px 10px;
}
/* --------------------- */
/* -------BOUTONS------- */
/* --------------------- */
Expand Down Expand Up @@ -400,15 +403,28 @@ 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: inline; */
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;
}

/* input.sheet-block_switch:checked ~ div.sheet-block_a { */
/* display: none; */
/* } */
/* input.sheet-block_switch:checked ~ div.sheet-block_b { */
/* display: inline; */
/* } */

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