diff --git a/OneDice/onedice.css b/OneDice/onedice.css new file mode 100644 index 0000000000..c0969ab7a0 --- /dev/null +++ b/OneDice/onedice.css @@ -0,0 +1,316 @@ +button[type=roll].sheet-spellroll::before { + content: 'f'; + font-family:dicefontd6; +} + +input[type=number].sheet-statfield { + font-size:20pt; + border-bottom:1px solid black; + height:50px; + width: 60px; +} + +input[type=text], select { + border-bottom:1px solid; + border-top:0px; + border-left:0px; + border-right:0px; +} + +input[type=number] { + border-bottom:1px solid; + border-top:0px; + border-left:0px; + border-right:0px; +} + +input[type="text"].sheet-armor { + width:180px; +} + +.sheet-armor,.sheet-armorbonus { + display:inline-block; +} + +.sheet-armor { + width:180px; +} + +.sheet-armorbonus { + width:40px; +} + +div { + padding:2px; + font-family:Arial,sans-serif; + font-size:10pt; +} + +.sheet-heading { + font-family:Candal; + font-weight:bold; + font-style:italic; + font-size:14pt; + text-align:center; +} + +.sheet-label { + font-weight:bold; + font-family:Candal,sans-serif; + font-size:10pt; +} + +.sheet-statlabel { + font-weight:bold; + font-style:italic; + font-family:Candal; +} + +.sheet-sublabel { + font-style:italic; + font-weight:bold; +} + +.sheet-descinput { + width: 90%; + height: 90%; +} + +.sheet-spellname { + width:120px; + display:inline-block; +} + +.sheet-spelldesc { + width:140px; + display:inline-block; + +} + +.sheet-spellrange { + width:45px; + display:inline-block; + +} + +.sheet-spelltarget { + width:50px; + display:inline-block; + +} + +.sheet-spelldamage { + width:40px; + display:inline-block +} + +.sheet-spellroll { + width:40px; + display:inline-block; + +} + + +.sheet-skillname { + width:180px; + display:inline-block; +} +.sheet-skillpoints { + width:50px; + display:inline-block; +} +.sheet-skillability{ + width:70px; + display:inline-block; +} + +.sheet-weaponname { + width:180px; + display:inline-block; +} + +.sheet-weaponability { + width:70px; + display:inline-block; +} + +.sheet-weaponskill { + width:70px; + display:inline-block; +} + +.sheet-weapondamage { + width:100px; + display:inline-block; +} + +.sheet-hideme { + display:none; +} + +.sheet-equipmentname { + width:240px; + display:inline-block; +} + +.sheet-equipmentlocation { + width:200px; + display:inline-block; +} + +.sheet-footnote { + font-size:9pt; + color:#737373; +} + + +.sheet-rolltemplate-rolloutput .sheet-template-header { + font-weight:bold; + background-color:#D9A3E0; + min-height:20pt; +} + +.sheet-rolltemplate-rolloutput .sheet-template-row { + background-color:#ffffff; + min-height: 14pt; +} + +.sheet-rolltemplate-rolloutput .sheet-rolltemplate-container { + border: 1px solid #737373; +} + +.sheet-rolltemplate-rolloutput .inlinerollresult { + background-color: #ffffff; + border: none; + font-weight:normal; +} + +.sheet-rolltemplate-rolloutput .inlinerollresult.fullfail { + background-color: #ffffff; + border: none; + font-weight:normal; +} + +.sheet-rolltemplate-rolloutput .inlinerollresult.fullcrit { + background-color: #ffffff; + border: none; + font-weight:normal; +} + +.sheet-rolltemplate-spelloutput .sheet-template-header { + font-weight:bold; + background-color:#D9A3E0; + min-height:20pt; +} + +.sheet-rolltemplate-spelloutput .sheet-template-row { + background-color:#ffffff; + min-height: 14pt; +} + +.sheet-rolltemplate-spelloutput .sheet-rolltemplate-container { + border: 1px solid #737373; +} + +.sheet-rolltemplate-spelloutput .inlinerollresult { + background-color: #ffffff; + border: none; + font-weight:normal; +} + +.sheet-rolltemplate-spelloutput .inlinerollresult.fullfail { + background-color: #ffffff; + border: none; + font-weight:bold; + color: red; +} + +.sheet-rolltemplate-spelloutput .inlinerollresult.fullcrit { + background-color: #ffffff; + border: none; + font-weight:normal; +} + + +.sheet-layout { + display:grid; + grid-template-columns: 32% 32% 32%; + grid-gap: 5px; + min-width:450px; +} + +.sheet-layoutabilities { + grid-column-start:1; + grid-column-end:2; + background-color:#ffffff; + border: 1px solid #737373; +} + +.sheet-layoutcells { + background-color:#ffffff; + border: 1px solid #737373; + grid-column-start:2; + grid-column-end:3; +} + +.sheet-layoutbg { + background-color:#ffffff; + border: 1px solid #737373; + grid-column-start:3; + grid-column-end:4; + grid-row-start:1; + grid-row-end:4; +} + +.sheet-layoutsan { + background-color:#ffffff; + border: 1px solid #737373; + grid-column-start:3; + grid-column-end:4; + grid-row-start:3; + grid-row-end:4; +} + +.sheet-layoutmagic { + background-color:#ffffff; + border: 1px solid #737373; + grid-column-start:1; + grid-column-end:2; +} + +.sheet-layoutspells { + grid-column-start:2; + grid-column-end:4; + background-color:#ffffff; + border: 1px solid #737373; +} + +.sheet-layoutskills { + grid-column-start:1; + grid-column-end:3; + background-color:#ffffff; + border: 1px solid #737373; +} + +.sheet-layoutweapons { + grid-column-start:1; + grid-column-end:3; + background-color:#ffffff; + border: 1px solid #737373; +} + +.sheet-layoutequipment { + grid-column-start:1; + grid-column-end:3; + background-color:#ffffff; + border: 1px solid #737373; +} + +.sheet-layoutextra { + grid-column-start:3; + grid-column-end:4; + grid-row-start:5; + grid-row-end:8; + background-color:#ffffff; + border: 1px solid #737373; +} diff --git a/OneDice/onedice.html b/OneDice/onedice.html new file mode 100644 index 0000000000..c9c6f805c2 --- /dev/null +++ b/OneDice/onedice.html @@ -0,0 +1,191 @@ +