summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2021-09-09 02:29:02 -0600
committerGitHub <noreply@github.com>2021-09-09 02:29:02 -0600
commit328e7f322060467d493d27b2344201fc77565457 (patch)
tree9851a424bc8cd0c456fe30586708392836d429fc /src
parentc70785c07eec2a1b94e5aedc007ae8fe7800ac7a (diff)
resolves #4162 hide built-in marker on HTML summary element in Safari when using default stylesheet (PR #4163)
- also disable the outline drawn around the summary element when activated in Safari
Diffstat (limited to 'src')
-rw-r--r--src/stylesheets/asciidoctor.css5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/stylesheets/asciidoctor.css b/src/stylesheets/asciidoctor.css
index ec43bae9..d16e20f6 100644
--- a/src/stylesheets/asciidoctor.css
+++ b/src/stylesheets/asciidoctor.css
@@ -1051,9 +1051,14 @@ details > summary {
position: relative;
line-height: 1.6;
margin-bottom: 0.625rem;
+ outline: none;
-webkit-tap-highlight-color: transparent;
}
+details > summary::-webkit-details-marker {
+ display: none;
+}
+
details > summary::before {
content: "";
border: solid transparent;