Skip to content

Commit 42d5500

Browse files
committed
style table footer
1 parent e757566 commit 42d5500

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

preview-src/index.adoc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ agam graeci
170170
At ornatus splendide sed.
171171

172172
.Library dependencies
173-
[#dependencies%autowidth]
173+
[#dependencies%autowidth%footer,stripes=hover]
174174
|===
175175
|Library |Version
176176

@@ -191,6 +191,9 @@ At ornatus splendide sed.
191191

192192
|jscs
193193
|^2.3.5
194+
195+
h|Total
196+
|6
194197
|===
195198

196199
Cum dicat putant ne.

src/css/doc.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,10 @@
287287
background: var(--table-stripe-background);
288288
}
289289

290+
.doc table.tableblock > tfoot {
291+
background: var(--table-footer-background);
292+
}
293+
290294
.doc .halign-left {
291295
text-align: left;
292296
}

src/css/vars.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@
116116
--sidebar-background: var(--color-smoke-90);
117117
--table-border-color: var(--panel-border-color);
118118
--table-stripe-background: var(--panel-background);
119+
--table-footer-background: linear-gradient(to bottom, var(--color-smoke-70) 0%, var(--color-white) 100%);
119120
/* footer */
120121
--footer-line-height: var(--doc-line-height);
121122
--footer-background: var(--color-jet-80);

0 commit comments

Comments
 (0)