Skip to content

Commit

Permalink
Merge pull request #13503 from vince-roll20/New1eUpdates
Browse files Browse the repository at this point in the history
AD&D1e revised
  • Loading branch information
NorWhal authored Nov 12, 2024
2 parents 527c983 + 780f739 commit 2b717d1
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 3 deletions.
27 changes: 25 additions & 2 deletions ADnD_1E_Revised/1ESheet.css
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,23 @@
width: 100%;
}

/* hide flippers for number fields */
.charsheet input:hover[type=number],
.charsheet input:hover::-webkit-outer-spin-button,
.charsheet input:hover::-webkit-inner-spin-button {
-webkit-appearance: auto;
}

.charsheet input::-webkit-outer-spin-button,
.charsheet input::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}

.charsheet input[type=number]{
-moz-appearance: textfield;
}

.charsheet .wrapper input,
.charsheet .wrapper select,
.charsheet .wrapper textarea {
Expand Down Expand Up @@ -1372,7 +1389,7 @@ section.npc-box.statblock3 .image-avatar {

.charsheet .npc-box label > span input,
.charsheet .npc-box label > input {
padding-left: 0.75em;
padding-left: clamp(2px, 7%, 10px);
text-align: left;
}

Expand Down Expand Up @@ -3135,20 +3152,26 @@ details[open].thac0-box {
.charsheet input[type='number'].width-smallest,
.charsheet input[type='text'].width-smallest {
min-width: 2em;
padding-inline: 0;
text-align: center;
width: 2em;
}

.charsheet .width-smaller,
.charsheet input[type='number'].width-smaller,
.charsheet input[type='text'].width-smaller {
min-width: 2.5em;
padding-inline: 0;
text-align: center;
width: 2.5em;
}

.charsheet .width-small,
.charsheet input[type='number'].width-small,
.charsheet input[type='text'].width-small {
width: 3em;
padding-inline: 0;
text-align: center;
width: 3em;
}

.charsheet .width-small-plus,
Expand Down
3 changes: 2 additions & 1 deletion ADnD_1E_Revised/1ESheet.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,10 @@ <h5 class="right two-columns">
<span class="left">
<span>v<span name="attr_sheet_version">
</span>
<span class="right"> • 9/10/24'</span>
<span class="right"> • 11/10/24'</span>
</h5>
<ul>
<li>Small adjustment to hide the +/- flippers on number fields.</li>
<li>Autofill base value for saves has been added to the Monster page.</li>
<li>Height and Weight fields have been added to the Monster page.</li>
<li>Updated the Pick Pockets roll to include a query for the hit dice of the target and check for detection if the attempt has failed. The HD query will adjust the target score and check for detection according to the PHB.</li>
Expand Down

0 comments on commit 2b717d1

Please sign in to comment.