Skip to content

Instantly share code, notes, and snippets.

@SteveKoontz
Last active August 29, 2015 14:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SteveKoontz/ec4bb06d57f6efed6f72 to your computer and use it in GitHub Desktop.
Save SteveKoontz/ec4bb06d57f6efed6f72 to your computer and use it in GitHub Desktop.
.sheet-rolltemplate-5eAttack table {
width: 189px;
padding: 2px;
border: 1px solid;
background-color: #ffffff;
}
.sheet-rolltemplate-5eAttack th {
color: rgb(126, 45, 64);
padding-left: 5px;
line-height: 1.6em;
font-size: 1.2em;
text-align: left;
font-family: "Times New Roman", Times, serif;
font-variant: small-caps;
}
.sheet-rolltemplate-5eAttack .sheet-subheader {
color: #000;
font-size: 1em;
font-style: italic;
}
.sheet-rolltemplate-5eAttack .sheet-arrow-right {
border-top: 3px solid transparent;
border-bottom: 3px solid transparent;
border-left: 180px solid rgb(126, 45, 64);
}
.sheet-rolltemplate-5eAttack .sheet-tcat {
font-style: italic;
}
.sheet-rolltemplate-5eAttack td {
padding-left: 5px;
}
.sheet-rolltemplate-5eAttack .inlinerollresult {
background-color: #ffffff;
border: none;
}
.sheet-rolltemplate-5eAttack .inlinerollresult.fullcrit {
color: #3FB315;
border: none;
}
.sheet-rolltemplate-5eAttack .inlinerollresult.fullfail {
color: #B31515;
border: none;
}
.sheet-rolltemplate-5eAttack .inlinerollresult.importantroll {
color: #4A57ED;
border: none;
}
&{template:5eAttack} {{name=@{meleeweaponname1}}} {{subtags=Main Hand, Finess, @{meleedmgtype1}}} {{attack=[[1d20+@{meleetohit1}]]}} {{attackadv=[[1d20+@{meleetohit1}]]}} {{damage=[[@{meleedmg1}+@{meleedmgbonus1}]]}} {{dmgcrit=[[@{meleedmg1}]]}}
<rolltemplate class='sheet-rolltemplate-5eAttack'>
<table>
<tr><th>{{name}}</th></tr>
<tr><td class="subheader">{{subtags}}</td></tr>
<tr class="arrow-container"><td><div class="arrow-right"></div></td></tr>
<tr class="rowcolor"><td><span class="tcat">Attack: </span>{{attack}} | {{attackadv}} vs AC</td></tr>
{{#damage}}
<tr>
<td>
<span class="tcat">Damage: </span>{{damage}}
<span class="tcat">Crit: </span>{{dmgcrit}}
</td>
</tr>
{{/damage}}
{{#snkattk}}
<tr>
<td>
<span class="tcat">Sneak Attack: </span>{{snkattk}}
<span class="tcat">Crit: </span>{{snkcrit}}
</td>
</tr>
{{/snkattk}}
</table>
</rolltemplate>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment