Display tab wrapper section when any anchor link is opened

This commit is contained in:
Leilukin 2024-06-30 17:02:05 +08:00 committed by Helen Chong
parent d15a6085e8
commit 866d890951

View File

@ -155,7 +155,9 @@ p + .adoptables { margin-top: 1em; }
/* Tabs */
.tabwrap section { display: none; }
.tabwrap section:target { display: block; }
.tabwrap section:target,
.tabwrap section:has(*:target) { display: block; }
.tabs {
list-style: none;