Skip to content

Commit

Permalink
Merge pull request #2686 from Azmoria/Fix---issue-with-statblocks-bac…
Browse files Browse the repository at this point in the history
…kground-for-players-

Fix - issue with statblocks background for players
  • Loading branch information
Azmoria authored Nov 25, 2024
2 parents aef6d00 + 1832c1d commit a9c1311
Show file tree
Hide file tree
Showing 2 changed files with 63 additions and 0 deletions.
31 changes: 31 additions & 0 deletions Journal.js
Original file line number Diff line number Diff line change
Expand Up @@ -2433,6 +2433,37 @@ class JournalManager{
font-family: MrsEavesSmallCaps,Roboto,Open Sans,Helvetica,sans-serif;
font-size: 34px;
font-weight: 700;
}
.ddbc-creature-block {
background: url(https://www.dndbeyond.com/Content/Skins/Waterdeep/images/mon-summary/stat-block-top-texture.png),url(https://www.dndbeyond.com/Content/Skins/Waterdeep/images/mon-summary/paper-texture.png);
background-size: 100% auto;
background-position: top;
background-repeat: no-repeat,repeat;
position: relative;
box-shadow: 0 0 5px #979aa4;
border: 1px solid #d4d0ce;
padding: 15px 10px;
font-family: Scala Sans Offc,Roboto,Helvetica,sans-serif;
font-size: 15px
}
.ddbc-creature-block:after,.ddbc-creature-block:before {
content: "";
display: block;
background: url(https://www.dndbeyond.com/Content/Skins/Waterdeep/images/mon-summary/stat-bar-book.png) 50%;
background-size: 100% 100%;
height: 6px;
position: absolute;
left: -3px;
right: -3px
}
.ddbc-creature-block:before {
top: -3px
}
.ddbc-creature-block:after {
bottom: -3px
}
@font-face {
font-family: Scala Sans Offc;
Expand Down
32 changes: 32 additions & 0 deletions abovevtt.css
Original file line number Diff line number Diff line change
Expand Up @@ -5612,6 +5612,38 @@ div#selectedTokensBorderRotationGrabberConnector,
.ddbc-creature-block__name {
font-size: 30px;
}

.ddbc-creature-block {
background: url(https://www.dndbeyond.com/Content/Skins/Waterdeep/images/mon-summary/stat-block-top-texture.png),url(https://www.dndbeyond.com/Content/Skins/Waterdeep/images/mon-summary/paper-texture.png);
background-size: 100% auto;
background-position: top;
background-repeat: no-repeat,repeat;
position: relative;
box-shadow: 0 0 5px #979aa4;
border: 1px solid #d4d0ce;
padding: 15px 10px;
font-family: Scala Sans Offc,Roboto,Helvetica,sans-serif;
font-size: 15px
}

.ddbc-creature-block:after,.ddbc-creature-block:before {
content: "";
display: block;
background: url(https://www.dndbeyond.com/Content/Skins/Waterdeep/images/mon-summary/stat-bar-book.png) 50%;
background-size: 100% 100%;
height: 6px;
position: absolute;
left: -3px;
right: -3px
}

.ddbc-creature-block:before {
top: -3px
}

.ddbc-creature-block:after {
bottom: -3px
}
.monster-details .more-info footer{
padding: 0px;
height: 20px;
Expand Down

0 comments on commit a9c1311

Please sign in to comment.