diff --git a/EnGarde/EnGarde.css b/EnGarde/EnGarde.css new file mode 100644 index 0000000000..de18d2dcc6 --- /dev/null +++ b/EnGarde/EnGarde.css @@ -0,0 +1,564 @@ +@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville&display=swap|Cabin:wght@700'); + +.charsheet{ + max-width: 832px; + min-width: 832px; + --charsheet_backgroundColor:#d6d3b0; + --charsheet_inputColor: #1e1f1f;; + --charsheet_inputColor:#1e1f1f; + --charsheet_labelColor:black ; + --charsheet_sectionBrdrColor: black; + --charsheet_sectionBkGrdColor:#FFFFC2; + --charsheet_fontSize:12pt; + --charsheet_wpnRowHgt:12pt; + --charsheet_wpnRowLineHgt:23px; + font-family: "Libre Baskerville", serif; + color: var(--charsheet_inputColor); + font-size: var(--charsheet_fontSize); +} + +.charsheet textarea{ + margin: 0px; + width:100%; + font-weight: 900; + color: black; + box-sizing: border-box; + text-align:left; + box-shadow: none; + border-radius: 0; + outline:none; + display: block; + width: 100%; + overflow:hidden; + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; + background-color:whitesmoke; +} + +.sheet-rolltemplate-EnGarde { + text-align:center; + background-color:white; + border:1px solid black; + padding:9px; +} + +.sheet-rolltemplate-EnGarde .inlinerollresult { + background-color: transparent; + color: #000000; + border: none; + font-size: 13px; +} + + +.sheet-rolltemplate-EnGarde .inlinerollresult.fullcrit{ + border:none; +} +.sheet-rolltemplate-EnGarde .inlinerollresult.fullfail{ + border:none; +} + + +.sheet-rolltemplate-EnGarde .inlinerollresult.importantroll{ + border:none; +} + +.sheet-rolltemplate-EnGarde .sheet-special{ + color:red; +} + +.largedialog textarea { + height:100%; + resize: none; +} + +.charsheet hr{ + width: 100%; + margin: 5px 0px 5px 0px; +} + + +.sheet-centerIt{ + text-align:center; +} + +.sheet-topheader{ + font-family: "Cabin", sans-serif; + font-weight:bolder; + font-size:xx-large; +} + + +.sheet-text_input{ + border: none; + box-shadow: none; + border-radius: 0; + outline:none; + display:inline-block; + width:100%; + padding:0px; +background-color:whitesmoke; +} + + +.sheet-borderTop{ + border-top: 1px solid var(--charsheet_sectionBrdrColor); + width:100%; +} + +.sheet-borderBot{ + border-bottom: 1px solid var(--charsheet_sectionBrdrColor); + width:100%; +} + + +.sheet-borderRight{ + border-right: 1px solid var(--charsheet_sectionBrdrColor); + width:100%; +} + +.sheet-borderLeft{ + border-left: 1px solid var(--charsheet_sectionBrdrColor); + width:100%; +} + + + +.sheet-max-1fr{ + display: grid; + grid-template-columns:max-content 1fr; + column-gap: 0px; +} + + + +.sheet-wrapper1{ + display: grid; + grid-template-columns:max-content; + column-gap: 0px; + align-items: end; +} + +.sheet-name{ + display: grid; + grid-template-columns:max-content 386px; + column-gap: 5px; + align-items: end; +} + +.sheet-stats div, +.sheet-name div{ + padding:2px; +} + +.sheet-block1 { + display: grid; + grid-template-columns:85px 68px 679px; + column-gap: 0px; + align-items: end; + border-left: 1px solid black; + border-top: 1px solid black; +} + +.sheet-block2 { + display: grid; + grid-template-columns:85px 1fr; + column-gap: 5px; + align-items: end; +} + +.sheet-block1 h1{ + padding: 0 4px 0 4px; +} + + +.sheet-birth{ + display: grid; + grid-row: 1 / span 2; + grid-column: 3 / 3; + height: 100%; + column-gap: 5px; + align-items: center; + grid-template-columns: max-content 1fr; + border-bottom:1px solid black; +} + + +.sheet-birth span textarea{ + height:98px; + +} + +.sheet-abilities{ + font-size:32px; + text-align: center; +} + +.charsheet input.sheet-abilities{ + height:50px; +} + +.sheet-filler{ + width:100%; + height:100%; + background-color:black; +} + + +.sheet-EndMAGrid { + display: grid; + grid-template-columns:452px 222px; + column-gap: 5px; + align-items: end; + +} + + + + +.sheet-EndCurrentGrid{ + display: grid; + grid-template-columns:88px 1fr; + column-gap: 5px; + align-items: end; + +} + + +.sheet-MAGrid { + display: grid; + grid-template-columns:max-content 1fr; + column-gap: 5px; + align-items: end; + +} + +.sheet-MAGrid textarea, +.sheet-EndCurrentGrid textarea{ + height:50px; + text-align: center; + padding-top: 12px; +} + +.sheet-smallHeader{ + font-size:xx-small; + text-align: center; +} + +.sheet-practiseGrid { + display: grid; + grid-template-columns: repeat(6, 113px); + column-gap: 0px; + align-items: end; + border-top: 1px solid black; + height: 100%; +} + +.sheet-practiseGridRow{ + height:100%; +} + + +.sheet-pVGrid{ + display: grid; + grid-template-columns:30px 5px 30px; + column-gap: 5px; + margin-left: 18px; +} + +.sheet-SLHeader, +.sheet-practiseHeader{ + font-size:14px; + width:100%; + text-align:center; + margin-left: 3px; +} + + +.sheet-asdasda{ + font-size:12pt; + width:100%; + text-align:center; +} + + +.sheet-block2-wrapper{ + border:1px solid black; + width:825px; + padding: 0 4px 0 4px; +} + +.sheet-SLGrid{ + display: grid; + grid-template-columns:41px 50px 195px 169px 151px 223px; + grid-template-rows:40px; + column-gap: 0px; +} + +.sheet-SL_value textarea{ + padding-top: 12px; + height: 40px; +} + +.sheet-SLGrid .sheet-SLHeader{ + text-align:left; + margin-left:3px; + +} + +.sheet-SLGrid h1{ + padding-top: 4px; + padding-bottom: 4px; +} + +.sheet-funds{ + position:relative; + left: 48px; + top: -20px; + display: block; + width: 141px; +} + +.sheet-allowance{ + position: relative; + left: 76px; + top: -20px; + display: block; + width: 86px; +} + +.sheet-horses{ + position: relative; + left: 53px; + top: -20px; + display: block; + width: 92px; +} + +.sheet-date{ + position: relative; + left: 38px; + top: -20px; + display: block; + width: 177px; +} + +.sheet-weapon-exp{ + display:inline-block; + width:30px; + font-size:x-small; +} + + + +.sheet-date textarea, +.sheet-horses textarea, +.sheet-allowance textarea, +.sheet-funds textarea{ + margin-left:3px; +} + +.sheet-monthlyVariables{ + display: grid; + grid-template-columns:684px 50px 50px 50px; + column-gap: 0px; + align-items: center; + line-height: 21px; +} + + +.sheet-fundAdjust{ + display: grid; + grid-template-columns:684px 100px; + column-gap: 0px; + align-items: center; + line-height: 21px; +} + + +.charsheet input[name=attr_funds_adjustment]{ + width: 98px; +} + + + +.sheet-fundAdjust div, +.sheet-monthlyVariables div{ + height:20px; +} + +.sheet-monthlyVariablesHeader{ + font-size: 9px; + text-align: center; + display: inline-block; + width: 100%; +} + +.sheet-monthlyVariablesDesc{ + font-size:8pt; + font-weight: 900; + color: black; +} + +.sheet-monthlyVV{ + font-size: 8pt; + width: 48px; + margin-left: 1px; + text-align: center; +} + +.charsheet input[name=attr_title_desc]{ + width:651px; +} + +.charsheet input[name=attr_monthly_allowance_desc]{ + width: 538px; +} + + +.charsheet input[name=attr_club_desc]{ + width: 580px; +} + + +.charsheet input[name=attr_regiment_rank_desc]{ + width: 555px; +} + + +.charsheet input[name=attr_mistress_desc]{ + width: 505px; +} + + +.charsheet input[name=attr_appointment_desc]{ + width: 555px; +} + +.sheet-mentionsGrid{ + display: grid; + grid-template-columns:115px 299px 81px 50px; + column-gap: 0px; + align-items: center; + +} + +.sheet-dispatchesLabel{ + display: inline-block; + width: 134px; +} + +.charsheet input[name=attr_mentions_current]{ + width: 296px; + margin-left: 3px; +} + +.sheet-oldMentionsLabel{ + text-align:center; +} + +.charsheet input[name=attr_mentions_old]{ + width: 45px; + margin-left: 3px; + margin-right: 3px; + text-align:center; +} + + + +.charsheet input[name=attr_week4_desc], +.charsheet input[name=attr_week3_desc], +.charsheet input[name=attr_week2_desc], +.charsheet input[name=attr_week1_desc]{ + width: 639px; +} + + +.sheet-mentionsSpan{ + display:inline-block; +} + + + +.sheet-weeklyPlot{ + display: grid; + grid-template-columns:684px 50px 50px 50px; + column-gap: 0px; +} + +.sheet-diceWrapper{ + text-align:center; +} + +.sheet-inlineblock{ + display:inline-block; +} + +.charsheet button[type=action].sheet-text_roll::before { + background-image: none; + content: ""; + margin:0; + padding:0px 2px; + border:0!important; +} + + +.charsheet button[type=action].sheet-text_roll{ + border:none; + margin:0; + padding:0px; + line-height: 13px; + color:var(--charsheet_inputColor); + overflow: hidden; + font-size:8px!important; + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} + + +.charsheet button[type=action].sheet-text_roll span{ + width: 100%; + display: inline-block; +} + + +.charsheet button[type=action].sheet-text_roll:hover span, +.charsheet button[type=action].sheet-text_roll:hover { + color:red; +} + + + + +.charsheet button[type=roll].sheet-text_roll::before { + background-image: none; + font-size: 13px; + content: ""; + margin:0; + padding:0; + background:transparent; +} + + +.charsheet button[type=roll].sheet-text_roll { + margin:0; + padding:2px; + background:transparent; + color:var(--charsheet_labelColor); + font-size: var(--charsheet_fontSize); + overflow: hidden; +} + +.charsheet button[type=roll].sheet-text_roll:hover { + color:red; +} + + +.sheet-aswasdass{ + font-size:12pt; + width:100%; + text-align:center; +} + + diff --git a/EnGarde/EnGarde.html b/EnGarde/EnGarde.html new file mode 100644 index 0000000000..837a296e74 --- /dev/null +++ b/EnGarde/EnGarde.html @@ -0,0 +1,588 @@ +