Skip to content

Commit 83f190b

Browse files
committed
tweak exclusion css, include in page
1 parent 215af5d commit 83f190b

File tree

2 files changed

+15
-7
lines changed

2 files changed

+15
-7
lines changed

src/theme/css/exclude.css

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,30 @@
11
.light .no-light {
2-
visibility: hidden;
2+
display: none;
33
}
44

55
.rust .no-rust {
6-
visibility: hidden;
6+
display: none;
7+
}
8+
9+
.light .no-light-themes,
10+
.rust .no-light-themes {
11+
display: none;
712
}
813

914
.navy .no-navy {
10-
visibility: hidden;
15+
display: none;
1116
}
1217

1318
.ayu .no-ayu {
14-
visibility: hidden;
19+
display: none;
1520
}
1621

1722
.coal .no-coal {
18-
visibility: hidden;
23+
display: none;
1924
}
2025

21-
.navy, .ayu, .coal .no-dark {
22-
visibility: hidden;
26+
.navy .no-dark-themes,
27+
.ayu .no-dark-themes,
28+
.coal .no-dark-themes {
29+
display: none;
2330
}

src/theme/index.hbs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
<link rel="stylesheet" href="{{ path_to_root }}css/variables.css">
2929
<link rel="stylesheet" href="{{ path_to_root }}css/general.css">
3030
<link rel="stylesheet" href="{{ path_to_root }}css/chrome.css">
31+
<link rel="stylesheet" href="{{ path_to_root }}css/exclude.css">
3132
{{#if print_enable}}
3233
<link rel="stylesheet" href="{{ path_to_root }}css/print.css" media="print">
3334
{{/if}}

0 commit comments

Comments
 (0)