Files
jasonslanga 37b9b2fffc On branch bluebeardsbride.0.2 (#5202)
Changes to be committed:
	modified:   BlueBeards_Bride.css
	modified:   BlueBeards_Bride.html
	new file:   fonts/LHFCarnivaleRegular.ttf
2019-06-24 17:29:59 -05:00

946 lines
23 KiB
CSS

@font-face {
font-family: myCarnivale;
src: url(https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Bluebeard%27s%20Bride/fonts/LHFCarnivaleRegular.ttf);
}
h1 {
font-family: myCarnivale;
font-weight: normal;
}
.sheet-tooltip .sheet-tooltiptext {
visibility: hidden;
position: absolute;
z-index: 1;
color: black;
background-color: #ccc;
padding: 3px 5px;
border-radius: 5px;
top: 25px;
right: 35px;
}
.sheet-tooltip .sheet-tooltiptext::after {
content: " ";
position: absolute;
top: 50%;
right: 100%; /* To the left of the tooltip */
margin-top: -5px;
border-width: 5px 10px;
border-style: solid;
border-color: transparent #ccc transparent transparent;
}
.sheet-tooltip:hover .sheet-tooltiptext {
visibility: visible;
}
/*==============================================================================
sheet-bluebeard: wrapper for the entire sheet
*/
div.sheet-bluebeard {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: flex-end;
background-color: #102940;
background-color: black;
background-color: #222;
color: white;
padding: 15px;
}
div.sheet-bluebeard h1,
div.sheet-bluebeard h2,
div.sheet-bluebeard h3
div.sheet-bluebeard input
div.sheet-bluebeard button {
color: white;
}
/*==============================================================================
Show/Hide Pages of the Character Sheet
*/
input.attr_showpages {
opacity: 0;
position: relative;
margin: 8px;
left: 176px; margin-left: -176px;
width: 160px; height: 35px;
}
input.attr_showpages + span {
display: inline-block;
margin: 5px;
border: 3px double #999;
padding: 5px;
width: 150px; height: 25px;
font-family: myCarnivale Serif;
font-weight: bold;
font-size: 20px;
text-align: right;
vertical-align: middle;
color: #999;
background-image: url(https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Bluebeard%27s%20Bride/images/keyhole.png);
background-repeat: no-repeat;
}
input.attr_showpages:hover + span {
border: 3px double black;
color: black;
background-color: #999;
}
input.attr_showpages:checked:hover + span {
background-color: white;
border-color: black;
color: black;
}
input.attr_showpages:checked + span {
border-color: white;
color:white;
}
div.sheet-thepages {
clear: both;
border-top: 2px solid white;
margin-top: 5px;
display: none; /* hide pages by default */
}
input.attr_showsisters:checked ~ div.sheet-thesisters,
input.attr_showmoves:checked ~ div.sheet-themoves,
input.attr_showbride:checked ~ div.sheet-thebride,
input.attr_showhelp:checked ~ div.sheet-help{
display:block;
}
/*==============================================================================
The Sisters Page
*/
div.sheet-hasring {
}
input.attr_hasringhidden {
display: none;
}
span.attr_hasring {
/* width: 75px; */
border: none;
background: transparent;
font-weight: bold;
font-family: Serif;
font-size: 115%;
text-align: center;
color: white;
}
input.attr_showbonds, input.attr_showwedding {
opacity: 0;
z-index: 1;
position: relative;
width: 135px; height: 35px;
left: 144px; margin-left: -146px;
}
input.attr_showbonds + span,
input.attr_showwedding + span {
display: inline-block;
margin: 5px;
border: 1px solid #999;
padding: 5px;
width: 125px; height: 25px;
color: #999;
font-family: Serif;
font-size: 16px;
font-weight: bold;
text-align: center;
vertical-align: middle;
}
input.attr_showbonds:checked + span,
input.attr_showwedding:checked + span {
color: white;
border: 1px solid white;
}
input.attr_showbonds:hover + span,
input.attr_showwedding:hover + span {
color: black;
border: 1 px solid black;
background-color: #999;
}
input.attr_showbonds:checked:hover + span,
input.attr_showwedding:checked:hover + span {
background-color: white;
}
input.attr_showbonds:checked ~ .repcontainer[data-groupname="repeating_sisters"] .sheet-bonds,
input.attr_showwedding:checked ~ .repcontainer[data-groupname="repeating_sisters"] .sheet-weddingprep {
display: block;
}
input.attr_showbonds:checked ~ .repcontainer[data-groupname="repeating_sisters"] input.attr_shattered:checked ~ .sheet-bonds,
input.attr_showwedding:checked ~ .repcontainer[data-groupname="repeating_sisters"] input.attr_shattered:checked ~ .sheet-weddingprep {
display: none;
}
/* layout the sisters in rows */
.repcontainer[data-groupname="repeating_sisters"] {
clear: both;
display: flex;
flex-direction: row;
flex-wrap: wrap;
margin-top: 10px;
}
.repcontainer[data-groupname="repeating_sisters"] > .repitem {
flex: 1 0 auto;
}
/* container for a single sister */
.sheet-sister {
width: 350px;
border: 10px double white;
padding: 10px;
padding-bottom: 30px;
margin: 6px;
font-family: Serif;
font-size: 14px;
background-image: url(https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Bluebeard%27s%20Bride/images/topright.png),
url(https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Bluebeard%27s%20Bride/images/bottomcenter.png);
background-position: top right, center bottom;
background-repeat: no-repeat, no-repeat;
}
.sheet-sister hr {
border-top: 2px dotted white;
width: 85%;
margin-top: 10px;
margin-bottom: 5px;
}
.sheet-sister h1 {
text-align: center;
}
/* has ring checkbox */
input.attr_sisterhasring {
position: absolute;
left: 0; top: 0;
width: 50px; height: 50px;
opacity: 0;
z-index: 2;
}
input.attr_sisterhasring + span:before {
content: url(https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Bluebeard%27s%20Bride/images/ring-token.png);
position: absolute;
left: 0; top: 0;
z-index: 1;
opacity: 0.25;
}
input.attr_sisterhasring:checked + span:before {
opacity: 1;
}
/* Playbook selection */
.attr_playbook {
display: none;
}
select.attr_playbookselect {
position: relative;
top: 15px;
left: 110px;
width: 175px;
height: 30px;
margin-top: -15px;
opacity: 0;
z-index: 5;
text-align: center;
font-family: myCarnivale Serif;
font-size: 16px;
font-weight: bold;
border-radius: 0;
border: 1px solid white;
background-color: #222;
color: white;
}
.attr_playbookselect:hover {
opacity: 1;
}
select.attr_playbookselect option {
font-family: Serif;
text-align: center;
}
/* Titlebox for the playbook name */
div.sheet-pbtitle {
display: flex;
flex-direction: row;
flex-wrap: wrap;
padding-right: 35px;
display: none;
margin-top: -30px;
z-index: 3;
}
div.sheet-pbtitle h1 {
font-family: "myCarnivale" Serif;
font-weight: normal;
text-align: left;
font-size: 45px;
margin-bottom: 10px;
}
div.sheet-pbtitle h1:before {
float: left;
margin: -10px 5px 0 0;
}
div.sheet-pbtanimus h1:before { content: url(https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Bluebeard%27s%20Bride/images/animus-token.png); }
div.sheet-pbtfatale h1:before { content: url(https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Bluebeard%27s%20Bride/images/fatale-token.png); }
div.sheet-pbtmother h1:before { content: url(https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Bluebeard%27s%20Bride/images/mother-token.png); }
div.sheet-pbtvirgin h1:before { content: url(https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Bluebeard%27s%20Bride/images/virgin-token.png); }
div.sheet-pbtwitch h1:before { content: url(https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Bluebeard%27s%20Bride/images/witch-token.png); }
div.sheet-pbtitle p {
font-family: Serif;
font-style: italic;
font-size: 12px;
}
/* show/hide playbook */
input.attr_pbanimus:checked ~ .sheet-pbtanimus,
input.attr_pbfatale:checked ~ .sheet-pbtfatale,
input.attr_pbmother:checked ~ .sheet-pbtmother,
input.attr_pbvirgin:checked ~ .sheet-pbtvirgin,
input.attr_pbwitch:checked ~ .sheet-pbtwitch {
display: block;
}
/*==============================================================================
Handling shattered sisters
*/
input.attr_shattered {
display: none;
}
input.attr_shattered:checked ~ *,
input.attr_shattered:checked ~ .sheet-pbtanimus, input.attr_shattered:checked ~ .sheet-pbtfatale,
input.attr_shattered:checked ~ .sheet-pbtmother, input.attr_shattered:checked ~ .sheet-pbtvirgin,
input.attr_shattered:checked ~ .sheet-pbtwitch,
input.attr_shattered:checked ~ .sheet-bonds, input.attr_shattered:checked ~ .sheet-weddingprep {
display: none;
}
.sheet-shattered,
.sheet-shatteredanimus, .sheet-shatteredfatale, .sheet-shatteredmother,
.sheet-shatteredvirgin, .sheet-shatteredwitch {
display: none;
}
input.attr_shattered:checked ~ .sheet-shattered {
display: flex;
flex-direction: column;
align-items: center;
background-color: black;
margin: -10px;
padding: 10px;
}
input.attr_shattered:checked ~ input.attr_pbanimus:checked ~ .sheet-shattered .sheet-shatteredanimus,
input.attr_shattered:checked ~ input.attr_pbfatale:checked ~ .sheet-shattered .sheet-shatteredfatale,
input.attr_shattered:checked ~ input.attr_pbmother:checked ~ .sheet-shattered .sheet-shatteredmother,
input.attr_shattered:checked ~ input.attr_pbvirgin:checked ~ .sheet-shattered .sheet-shatteredvirgin,
input.attr_shattered:checked ~ input.attr_pbwitch:checked ~ .sheet-shattered .sheet-shatteredwitch {
display: block;
}
.sheet-shatteredanimus { content: url(https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Bluebeard%27s%20Bride/images/animus-shattered.png); }
.sheet-shatteredfatale { content: url(https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Bluebeard%27s%20Bride/images/fatale-shattered.png); }
.sheet-shatteredmother { content: url(https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Bluebeard%27s%20Bride/images/mother-shattered.png); }
.sheet-shatteredvirgin { content: url(https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Bluebeard%27s%20Bride/images/virgin-shattered.png); }
.sheet-shatteredwitch { content: url(https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Bluebeard%27s%20Bride/images/witch-shattered.png); }
/* Include a button to "unshatter" */
input.attr_unshatter {
opacity: 0;
z-index: 1;
width: 50px; height: 50px;
}
input.attr_unshatter + span {
content: url(https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Bluebeard%27s%20Bride/images/trauma-white.png);
padding: 0;
margin: 0;
margin-top: -50px;
}
/* Stats */
div.sheet-stats {
text-align: center;
}
table.sheet-tblstats {
margin: 0;
display: inline-block;
}
table.sheet-tblstats td,
table.sheet-tblstats th {
text-align: center;
}
table.sheet-tblstats td div {
display: inline-block;
border: 2px solid white;
border-radius: 50%;
width: 40px; height: 40px;
text-align: center;
vertical-align: middle;
}
input.attr_stat[type="number"] {
text-align: center;
vertical-align: middle;
height: 40px; width: 40px;
background: transparent;
font-family: Serif;
font-size: 20px;
font-weight: bold;
border: 0;
padding: 0;
margin-right: -15px;
color: white;
}
button.roll_stat[type="roll"] {
border: 0;
background: transparent;
box-shadow: none;
text-shadow: none;
width: 100px;
padding: 3px;
margin: 0;
color: white;
font-family: Serif;
font-size: 13px;
font-weight: bold;
text-transform: uppercase;
}
button.roll_stat[type="roll"]:hover {
text-decoration: underline;
}
/* Clear out the :before content
text will be specified in the HTML, so that internationalization can be used
*/
button.roll_stat[type="roll"]::before {
display: none;
content: "";
}
/* Face */
/* invisible radio buttons for show/hide magic */
input.attr_face { display: none; }
/* Dropdown menu to select the face move */
select.attr_faceselect {
position: relative;
opacity: 0;
z-index: 1;
width: 150px;
height: 30px;
top: 10px;
left: calc(50% - 75px);
margin: 0;
margin-top: -30px;
font-family: Serif;
font-size: 16px;
font-weight: bold;
border-radius: 0;
border: 1px solid white;
background-color: #222;
color: white;
}
select.attr_faceselect:hover {
opacity: 1;
}
/* hide all options by default */
select.attr_faceselect option {
display: none;
text-align: center;
}
/* show only the face moves that apply to the specific playbook */
input.attr_pbanimus:checked ~ div.sheet-face select.attr_faceselect option.attr_faceanimus,
input.attr_pbfatale:checked ~ div.sheet-face select.attr_faceselect option.attr_facefatale,
input.attr_pbmother:checked ~ div.sheet-face select.attr_faceselect option.attr_facemother,
input.attr_pbvirgin:checked ~ div.sheet-face select.attr_faceselect option.attr_facevirgin,
input.attr_pbwitch:checked ~ div.sheet-face select.attr_faceselect option.attr_facewitch {
display: block;
}
/* hide all the face move descriptions by default */
div.sheet-facemove {
display: none;
margin-top: -25px;
}
/* show the description for the specified face move */
input.attr_facebrute:checked ~ div.sheet-facebrute,
input.attr_facerooster:checked ~ div.sheet-facerooster,
input.attr_faceshield:checked ~ div.sheet-faceshield,
input.attr_facedancer:checked ~ div.sheet-facedancer,
input.attr_facemistress:checked ~ div.sheet-facemistress,
input.attr_facespider:checked ~ div.sheet-facespider,
input.attr_facebear:checked ~ div.sheet-facebear,
input.attr_facekingmaker:checked ~ div.sheet-facekingmaker,
input.attr_facemartyr:checked ~ div.sheet-facemartyr,
input.attr_facelily:checked ~ div.sheet-facelily,
input.attr_facemoth:checked ~ div.sheet-facemoth,
input.attr_facevictim:checked ~ div.sheet-facevictim,
input.attr_facemedium:checked ~ div.sheet-facemedium,
input.attr_facereaper:checked ~ div.sheet-facereaper,
input.attr_faceviper:checked ~ div.sheet-faceviper {
display: block;
}
div.sheet-facemove * {
font-family: Serif;
font-size: 14px;
}
div.sheet-facemove h2 {
font-family: Serif;
font-size: 20px;
text-align: center;
font-variant: small-caps;
margin-bottom: 5px;
/* border-bottom: 2px dotted black; */
padding: 2px;
}
div.sheet-facemove em {
font-family: Serif;
font-weight: bold;
font-variant: small-caps;
font-size: 110%;
}
/* Trauma */
div.sheet-trauma {
text-align: center;
position: relative;
display: inline-block;
width: 100%;
}
div.sheet-trauma hr:first-child {
margin-bottom: -15px;
}
/* trauma reset button */
input.attr_traumareset {
opacity: 0;
z-index: 1;
position: relative;
top: 30px;
height: 30px; width: 100px;
}
input.attr_traumareset:hover + h1 {
text-decoration: underline;
text-decoration-style: dotted;
}
div.sheet-traumatrack {
display: inline-block;
}
input.attr_trauma0 { display: none; }
input.attr_trauma {
opacity: 0;
z-index: 1;
position: relative;
width: 50px;
height: 50px;
left: 52px; top: -22px;
margin-left: -52px;
}
input.attr_trauma + span:before {
content: url(https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Bluebeard%27s%20Bride/images/trauma-black.png);
padding: 0 5px;
width: 30px; height: 30px;
}
input.attr_trauma:checked ~ input + span:before {
content: url(https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Bluebeard%27s%20Bride/images/trauma-white.png);
}
/*==============================================================================
Sisterly Bonds and Wedding Preparation
*/
textarea.attr_bond,
textarea.attr_wedding {
background: transparent;
color: white;
border: 1px solid #999;
border-radius: 0;
font-family: Serif;
}
textarea.attr_bond { width: calc(100% - 10px); height: 75px; }
textarea.attr_wedding { width: calc(100% - 10px); height: 100px; }
.sheet-bonds,
.sheet-weddingprep {
display: none;
}
ul.sheet-weddingquestions {
list-style-type: none;
margin: 0;
padding: 0;
}
ul.sheet-weddingquestions p {
display: inline;
}
ul.sheet-weddingquestions p.sheet-weddingquestion {
display: none;
}
input.attr_pbanimus:checked ~ div.sheet-weddingprep p.sheet-weddinganimus,
input.attr_pbfatale:checked ~ div.sheet-weddingprep p.sheet-weddingfatale,
input.attr_pbmother:checked ~ div.sheet-weddingprep p.sheet-weddingmother,
input.attr_pbvirgin:checked ~ div.sheet-weddingprep p.sheet-weddingvirgin,
input.attr_pbwitch:checked ~ div.sheet-weddingprep p.sheet-weddingwitch {
display: inline;
}
ul.sheet-weddingquestions li {
margin-left: 1em;
text-indent: -1em;
}
ul.sheet-weddingquestions li:before {
content: "◆";
}
/*==============================================================================
The Moves
*/
/* Contain all three columns */
div.sheet-movescolumns {
display: flex;
flex-direction: row;
flex-wrap: wrap;
}
/* individual column of moves */
div.sheet-movescol {
width: 30%;
margin: 0;
padding: 5px 15px;
border-left: 1px solid white;
border-left: none;
}
div.sheet-movescol h1 { text-align: center; }
div.sheet-maidenmoves { flex-grow: 2; }
div.sheet-ringmoves { flex-grow: 3; }
div.sheet-exitmoves { flex-grow: 1; }
div.sheet-movescol h1:first-child { float: left; }
div.sheet-maidenmoves h1:first-child { content: url(https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Bluebeard%27s%20Bride/images/maiden-75.png); }
div.sheet-ringmoves h1:first-child { content: url(https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Bluebeard%27s%20Bride/images/ring-75.png); }
div.sheet-exitmoves h1:first-child { content: url(https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Bluebeard%27s%20Bride/images/exit-75.png); }
div.sheet-movescol:first-child {
border-left: none;
}
div.sheet-themoves div.sheet-moveblock {
clear: both;
font-family: Serif;
}
div.sheet-themoves div.sheet-moveblock * {
font-family: Serif;
font-size: 14px;
}
div.sheet-themoves div.sheet-moveblock h2 {
padding: 0px 5px 3px;
margin: 10px -5px 5px;
font-size: 20px;
font-family: Serif;
font-variant: small-caps;
background-color: #ccc;
color: black;
}
div.sheet-themoves div.sheet-moveblock em {
font-weight: bold;
font-variant: small-caps;
font-size: 110%;
}
div.sheet-themoves div.sheet-moveblock ul {
list-style-type: none;
}
div.sheet-themoves div.sheet-moveblock li:before {
content: "◆ ";
font-size: 85%;
}
div.sheet-themoves div.sheet-moveblock li {
margin-left: 1em;
text-indent: -1em;
}
button.roll_move[type="roll"] {
border: 3px solid #ccc;
border-radius: 0;
box-shadow: none;
text-shadow: none;
background: transparent;
}
button.roll_move[type="roll"]:hover {
border: 3px double black;
}
h2 button.roll_move[type="roll"]:before {
font-family: Serif;
font-size: 20px;
font-weight: bold;
font-color: black;
padding: 0; margin: 0;
}
button.roll_caress[type="roll"]:before { content: "Caress a Horror"; }
button.roll_violence[type="roll"]:before { content: "Dirty Yourself with Violence"; }
button.roll_cryout[type="roll"]:before { content: "Cry Out for Help"; }
/*==============================================================================
The Bride - Token Track
*/
div.sheet-bridecols {
display: flex;
flex-direction: row;
justify-content: space-between;
width: 100%;
}
div.sheet-bridecol {
width: 45%;
padding: 10px;
text-align: center;
}
div.sheet-bridefaithful div.sheet-tokenrow {
display: flex;
flex-direction: row;
text-align: left;
}
div.sheet-bridedisloyal div.sheet-tokenrow {
display: flex;
flex-direction: row;
text-align: right;
}
div.sheet-truthbox input[type="text"],
div.sheet-truthbox textarea {
width: 95%;
background: transparent;
margin: 0 5px 5px;
border: 1px solid #999;
border-radius: 0;
color: white;
}
div.sheet-truthbox textarea {
height: 60px;
width: calc(95% - 10px);
}
input.attr_token[type="checkbox"] {
opacity: 0;
z-index: 1;
position: relative;
margin: 0; padding: 0;
width: 100px; height: 100px;
left: 104px; top: -46px;
margin-left: -104px;
margin-bottom: -46px;
}
input.attr_faithful + span:before {
content: url(https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Bluebeard%27s%20Bride/images/loyalty-white.png);
display: inline-block;
width: 100px; height: 100px;
margin: 0; padding: 0;
}
input.attr_faithful:checked + span:before {
content: url(https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Bluebeard%27s%20Bride/images/loyalty-black.png);
}
input.attr_disloyal + span:before {
content: url(https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Bluebeard%27s%20Bride/images/disloyalty-white.png);
display: inline-block;
width: 100px; height: 100px;
}
input.attr_disloyal:checked + span:before {
content: url(https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Bluebeard%27s%20Bride/images/disloyalty-black.png);
}
/*==============================================================================
Help
*/
.sheet-help h3 {
color: white;
}
.sheet-help p {
padding-left: 2em;
}
/*==============================================================================
==============================================================================
Roll Template Styles
*/
.sheet-rolltemplate-bluebeard .sheet-rollbox {
display: block;
background-color: #102940; /* dark blue */
color: white; /* dark blue */
border: 7px double white; /* dark blue */
font-family: Serif;
}
.sheet-rolltemplate-bluebeard .sheet-rolltitle {
display: block;
background-color: black;
color: #ccc;
margin: 0; padding: 5px 10px; border: 0;
font-family: Serif;
font-size: 14px;
}
.sheet-rolltemplate-bluebeard .sheet-rollsistername {
font-variant: small-caps;
font-size: 110%;
font-weight: bold;
}
.sheet-rolltemplate-bluebeard .sheet-movename {
display: block;
text-align: center;
font-size: 140%;
font-weight: bold;
}
.sheet-rolltemplate-bluebeard .sheet-rollresult {
padding: 2px 10px;
}
.sheet-rolltemplate-bluebeard .sheet-moveroll {
text-align: center;
}
.sheet-rolltemplate-bluebeard .sheet-moveroll .inlinerollresult {
display: inline-block;
font-size: 25px;
padding: 5px;
background-color: #102940; /* dark red */
color: #ffdd00; /* pale yellow */
border: 2px solid #102940; /* dark red */
font-family: Serif;
}