Skip to content

Commit

Permalink
style table footer
Browse files Browse the repository at this point in the history
  • Loading branch information
mojavelinux committed Dec 13, 2020
1 parent 7c69c4a commit ed4701c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
5 changes: 4 additions & 1 deletion preview-src/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ agam graeci
At ornatus splendide sed.

.Library dependencies
[#dependencies%autowidth,stripes=hover]
[#dependencies%autowidth%footer,stripes=hover]
|===
|Library |Version

Expand All @@ -190,6 +190,9 @@ At ornatus splendide sed.

|jscs
|^2.3.5

h|Total
|6
|===

Cum dicat putant ne.
Expand Down
4 changes: 4 additions & 0 deletions src/css/doc.css
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,10 @@
background: var(--table-stripe-background);
}

.doc table.tableblock > tfoot {
background: var(--table-footer-background);
}

.doc .halign-left {
text-align: left;
}
Expand Down
1 change: 1 addition & 0 deletions src/css/vars.css
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@
--sidebar-background: var(--color-smoke-90);
--table-border-color: var(--panel-border-color);
--table-stripe-background: var(--panel-background);
--table-footer-background: linear-gradient(to bottom, var(--color-smoke-70) 0%, var(--color-white) 100%);
/* footer */
--footer-line-height: var(--doc-line-height);
--footer-background: var(--color-smoke-90);
Expand Down

0 comments on commit ed4701c

Please sign in to comment.