Skip to content

Commit

Permalink
Added info-block table style. Updated changelog and version
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobjohnston committed Feb 11, 2022
1 parent 0642744 commit 04f11a2
Show file tree
Hide file tree
Showing 6 changed files with 97 additions and 3 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Change Log

# 1.0.61

### Added
- Added `.info-block` table style (like the sidebar style, but full width)

### Fixed
- Fixed Legendary Actions not showing in Monster stat blocks
- Fixed missing Mythic Actions in Monster stub

# 1.0.60

### Added
Expand Down
2 changes: 1 addition & 1 deletion source/app/package.app.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"displayName": "EncounterPlus Module Packer",
"description": "Tools for creating EncounterPlus modules from markdown.",
"icon": "build/icon.icns",
"version": "1.0.60",
"version": "1.0.61",
"repository": {
"type": "git",
"url": "https://github.com/encounterplus/module-packer"
Expand Down
37 changes: 37 additions & 0 deletions source/assets/base/css/global.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

48 changes: 48 additions & 0 deletions source/assets/base/css/global.less
Original file line number Diff line number Diff line change
Expand Up @@ -1083,6 +1083,54 @@ table.shop > tbody > tr.shopH2 {
font-weight: bold;
}

/******** Information Block Tables ********/

table.info-block {
line-height: 1.3rem;
background: @neutral-background-primary;
font-size: 1.1rem;
page-break-inside: avoid;
float: right;

tbody {
tr {
&:nth-child(odd) {
background: @neutral-background-secondary;
}
}
}

tr td img {
margin: 0;
padding: 0;
display: block;
width: 100%;
height: auto;
}

thead {
font-weight: bold;
font-family: @heading-font-family;
color: @accent-color;
font-size: 1.8rem;
border-top: none;
}

tbody tr {
border-bottom: none;
border-top: none;
border-collapse: separate;
}

td:first-child {
font-weight: bold;
font-family: @heading-font-family;
color: @accent-color;
font-size: .9rem;
padding: .4rem .8rem;
}
}

/******** Sidebar Tables ********/

table.sidebar {
Expand Down
2 changes: 1 addition & 1 deletion source/cli/package.cli.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "module-packer",
"displayName": "EncounterPlus Module Packer",
"description": "Tools for creating EncounterPlus modules from markdown.",
"version": "1.0.60",
"version": "1.0.61",
"repository": {
"type": "git",
"url": "https://github.com/encounterplus/module-packer"
Expand Down
2 changes: 1 addition & 1 deletion source/vscode-extension/package.extension.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"displayName": "EncounterPlus Markdown",
"description": "Renders markdown as it would appear in EncounterPlus",
"icon": "Logo.png",
"version": "1.0.60",
"version": "1.0.61",
"publisher": "jacobjohnston",
"repository": {
"type": "git",
Expand Down

0 comments on commit 04f11a2

Please sign in to comment.