summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2021-09-09 02:29:02 -0600
committerDan Allen <dan.j.allen@gmail.com>2021-09-09 02:34:36 -0600
commit9ed74045cd24cfceb052995992847f220bd5f3ed (patch)
tree6cc08c5302e3efeb6632dff78a83de676b3630be /src
parent9a0453cf548e581bcbcf16c698590cab5bdb5277 (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 965a9924..247a9c28 100644
--- a/src/stylesheets/asciidoctor.css
+++ b/src/stylesheets/asciidoctor.css
@@ -1128,9 +1128,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;