mirror of
https://github.com/Nighthawk42/roll20-character-sheets.git
synced 2026-09-02 13:12:31 +00:00
#37 - Added inspiration to core stats
This commit is contained in:
@@ -74,6 +74,46 @@
|
||||
|
||||
/* END Tab Settings */
|
||||
|
||||
/* Inspiration button Settings */
|
||||
|
||||
.charsheet input.sheet-inspiration {
|
||||
width: 80%;
|
||||
height: 20px;
|
||||
cursor: pointer;
|
||||
z-index: 1;
|
||||
margin-top: 5px;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.charsheet input.sheet-inspiration::before {
|
||||
content: "No";
|
||||
text-align: center;
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
font-size: 13px;
|
||||
|
||||
background: #8c6075;
|
||||
color: white;
|
||||
font-weight: bold;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.charsheet input.sheet-inspiration:checked::before{
|
||||
background: #879a6a;
|
||||
color: white;
|
||||
border-radius: 4px;
|
||||
content: "Yes"
|
||||
}
|
||||
|
||||
.charsheet .sheet-inspiration-label {
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
/* END Inspiration button Settings */
|
||||
|
||||
/* Class checkbox Settings */
|
||||
.charsheet div[class^="sheet-class-section"] {
|
||||
visibility: hidden;
|
||||
|
||||
+6
-1
@@ -155,7 +155,7 @@
|
||||
|
||||
</div>
|
||||
|
||||
<h4 class="sheet-center">Level and Experience <span class="sheet-pictos-three">d</span></h4>
|
||||
<h4 class="sheet-center">Level, Experience and Inspiration <span class="sheet-pictos-three">d</span></h4>
|
||||
<div class="sheet-row">
|
||||
<div class="sheet-col-1-2 sheet-small-label sheet-center" title="This is automatically calculated from your individual class levels listed in the class section"><input class="sheet-underlined" type="number" name="attr_level" value="@{barbarian_level} + @{bard_level} + @{cleric_level} + @{druid_level} + @{fighter_level} + @{monk_level} + @{paladin_level} + @{ranger_level} + @{rogue_level} + @{wizard_level}" disabled="disabled"><br/>Overall Level</div>
|
||||
<div class="sheet-col-1-2 sheet-small-label sheet-center" title="This is a bonus for you being proficient in a given task. This bonus automatically increases as you level up and is used automatically in various rolls"><input class="sheet-underlined" type="number" name="attr_PB" value="ceil((@{level})/1e10) + ceil((@{level})/4)" disabled="disabled" ><br/>Prof Bonus</div>
|
||||
@@ -166,6 +166,11 @@
|
||||
<div class="sheet-col-1-2 sheet-small-label sheet-center"><input class="sheet-underlined" type="number" name="attr_xp_next_level" min="0" step="1"><br/>XP for next level</div>
|
||||
</div>
|
||||
|
||||
<div class="sheet-row">
|
||||
<div class="sheet-col-1-2 sheet-center sheet-margin-top sheet-inspiration-label">Inspiration?</div>
|
||||
<div class="sheet-col-1-2 sheet-center sheet-checkbox-row"><input class="sheet-inspiration" type="checkbox" name="attr_inspiration" value="1"></div>
|
||||
</div>
|
||||
|
||||
<h4 class="sheet-center">Hit Dice <span class="sheet-d6-font">E</span></h4>
|
||||
<div class="sheet-row sheet-sub-header">
|
||||
<div class="sheet-col-3-7 sheet-center sheet-small-label">Classes</div>
|
||||
|
||||
Reference in New Issue
Block a user