Skip to content

Commit d48ea13

Browse files
author
Matthew McCullough
committed
Hide lists in the H4s when in summary mode
1 parent 5cdfd26 commit d48ea13

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

_stylesheets/workbook.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,23 @@
1717
display: none; }
1818
.outline ul {
1919
display: none; }
20+
.outline table {
21+
display: none; }
2022

2123
.summary h3 {
2224
display: none; }
2325
.summary h4 {
2426
display: none; }
2527
.summary h4 + *, .summary h4 > * {
2628
display: none; }
29+
.summary h4 + p + ul {
30+
display: none; }
2731
.summary pre {
2832
display: none; }
2933
.summary p {
3034
display: none; }
35+
.summary table {
36+
display: none; }
3137

3238
.details h3 {
3339
display: none; }

_stylesheets/workbook.scss

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@
4747
ul{
4848
display: none;
4949
}
50+
table{
51+
display: none;
52+
}
5053
}
5154

5255
.summary{
@@ -58,7 +61,12 @@
5861
display: none;
5962

6063
& + *,
61-
& > *,
64+
& > *
65+
{
66+
@include hidden;
67+
}
68+
69+
& + p + ul
6270
{
6371
@include hidden;
6472
}
@@ -70,6 +78,9 @@
7078
p{
7179
display: none;
7280
}
81+
table{
82+
display: none;
83+
}
7384
}
7485

7586
.details{

0 commit comments

Comments
 (0)