Skip to content

Commit

Permalink
Merge pull request #12924 from vince-roll20/OLD_1E
Browse files Browse the repository at this point in the history
AD&D 1e Legacy
  • Loading branch information
NBrooks-Roll20 authored May 23, 2024
2 parents bb7b5de + 93c6145 commit 01c07c0
Show file tree
Hide file tree
Showing 2 changed files with 104 additions and 32 deletions.
77 changes: 73 additions & 4 deletions ADnD_1E/1ESheet.css
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ div.sheet-abilities tr td:nth-child(2) input.sheet-input-small {
color: #e1e1e1;
font-weight: normal;
}
.sheet-logo-box {
padding-top: 10px;
}

.sheet-logo-box.sheet-normal-mode img,
.sheet-logo-box.sheet-dark-mode img {
Expand Down Expand Up @@ -104,6 +107,16 @@ div.sheet-abilities tr td:nth-child(2) input.sheet-input-small {
background-color: #b5dcb3;
}

.ui-dialog .charsheet input {
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
height: auto;
min-width: 2em;
vertical-align: middle;
width: inherit;
}

/* converting from tables */
.sheet-table {
justify-content: center;
Expand Down Expand Up @@ -317,19 +330,32 @@ button[type=roll].sheet-button-url::before {
display: none;
}

button[type=roll].sheet-button {
.charsheet button[type=roll].sheet-button {
font-size: 1em;
line-height: 1.5em;
white-space: nowrap;
background-image: none;
white-space: break-spaces;
line-height: normal;
}

.sheet-darkmode .tab-content .sheet-background button[type=roll].sheet-button {
background-color: #1f1f1f;
color: #fff;
font-weight: normal;
text-shadow: none;
}

.charsheet button.sheet-initiative {
margin-right:-50px;
}

.charsheet .sheet-sect {
margin-bottom: 10px;
}

.charsheet .sheet-sect > table {
width: 99%;
}

.sheet-header {
display: inline-block;
font-size: 16px;
Expand Down Expand Up @@ -419,8 +445,46 @@ input[type="checkbox"].sheet-counted:checked+span:not(.sheet-not-sheet-show)::be
margin-top: 0;
}

.sheet-personal_attributes {
margin: -40px 0 10px 0;
}
.sheet-personal_attributes .sheet-sect table input {
width: 100%;
min-width: 0;
max-width: 100%;
}


.sheet-header-middle {
margin-top:20px;
}

.sheet-hp-box {
padding:10px 5px 10px 40px;
}

.sheet-ac-box {
padding: 10px 5px 10px 12px;
}

td:has(.sheet-ac-box) {
min-width: 14em;
text-align: center;
}

.ui-dialog .charsheet .sheet-inline-label {
align-items: center;
display: flex;
font-size: 1em;
margin-inline: auto;
width: 100%;
}
.charsheet .sheet-exceptional {
width: 2.5em;
}

/*to-hit AC*/
.sheet-box {
.ui-dialog .charsheet .sheet-box {
border: 1px solid #000;
height: 30px;
width: 50px;
Expand All @@ -437,6 +501,11 @@ tr.sheet-to-hit td:nth-child(even) {
color: initial;
}

.sheet-to_hit_AC table * {
max-width: 3em;
min-width: 0;
}

.sheet-to-hit-input input {
width: 100%;
height: 24px;
Expand Down
Loading

0 comments on commit 01c07c0

Please sign in to comment.