Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
azzazzel committed Sep 20, 2023
2 parents fde2c77 + 6099a87 commit 1e7bdf5
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
22 changes: 22 additions & 0 deletions src/css/doc.css
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,22 @@
clear: both;
}

.doc .text-left {
text-align: left;
}

.doc .text-center {
text-align: center;
}

.doc .text-right {
text-align: right;
}

.doc .text-justify {
text-align: justify;
}

.doc .stretch {
width: 100%;
}
Expand Down Expand Up @@ -221,6 +237,8 @@
font-size: calc(15 / var(--rem-base) * 1rem);
}

.doc > table.tableblock,
.doc > table.tableblock + *,
.doc .tablecontainer,
.doc .tablecontainer + *,
.doc :not(.tablecontainer) > table.tableblock,
Expand All @@ -232,6 +250,10 @@
margin-top: 0.5rem;
}

.doc td.tableblock > .content {
word-wrap: anywhere; /* aka overflow-wrap; used when hyphens are disabled or aren't sufficient */
}

.doc td.tableblock > .content > :first-child {
margin-top: 0;
}
Expand Down
4 changes: 4 additions & 0 deletions src/partials/pagination.hbs
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
{{#unless (eq page.attributes.pagination undefined)}}
{{#if (or page.previous page.next)}}
<nav class="pagination">
{{#if (ne page.attributes.pagination 'next')}}
{{#with page.previous}}
<span class="prev"><a href="{{{relativize ./url}}}">{{{./content}}}</a></span>
{{/with}}
{{/if}}
{{#if (ne page.attributes.pagination 'prev')}}
{{#with page.next}}
<span class="next"><a href="{{{relativize ./url}}}">{{{./content}}}</a></span>
{{/with}}
{{/if}}
</nav>
{{/if}}
{{/unless}}

0 comments on commit 1e7bdf5

Please sign in to comment.