summaryrefslogtreecommitdiffstats
path: root/docs/modules/ROOT/pages
diff options
context:
space:
mode:
authorSarah White <graphitefriction@gmail.com>2018-04-05 13:27:01 -0600
committerSarah White <graphitefriction@gmail.com>2018-04-10 10:31:36 -0600
commit2b32811b2c34a6b26c31d29b3d4b7b74dfdc0601 (patch)
treea04ae1e49ec88d77a53cac147ff4b118331685f1 /docs/modules/ROOT/pages
parentf2c6ad431ea892d25c13aeb424ffbbfb07e22f22 (diff)
downloadalpine-antora-theme-2b32811b2c34a6b26c31d29b3d4b7b74dfdc0601.tar.bz2
alpine-antora-theme-2b32811b2c34a6b26c31d29b3d4b7b74dfdc0601.tar.xz
add highlight inline text styles section
Diffstat (limited to 'docs/modules/ROOT/pages')
-rw-r--r--docs/modules/ROOT/pages/inline-text-styles.adoc13
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/modules/ROOT/pages/inline-text-styles.adoc b/docs/modules/ROOT/pages/inline-text-styles.adoc
index f6a8cc4..e950ad4 100644
--- a/docs/modules/ROOT/pages/inline-text-styles.adoc
+++ b/docs/modules/ROOT/pages/inline-text-styles.adoc
@@ -46,3 +46,16 @@ Consequentially, how xref:antora:asciidoc:monospace.adoc[inline monospace text]
----
In the default UI, the `code` element, specified in [.path]_css/base.css_, uses a fixed-width font which is loaded by a corresponding typeface stylesheet.
+
+[#highlight]
+== Highlighted text
+
+How xref:antora:asciidoc:highlight.adoc[highlighted text] appears on your site depends on the CSS styles applied to the `<mark>` HTML tag.
+
+[source,html]
+----
+<p>Let&#8217;s <mark>highlight this phrase</mark>.</p>
+----
+
+Since `<mark>` is a semantic HTML element, it automatically inherits default styling, such as `background-color`, from the browser.
+If you want to override the browser styles, you'll need to add the `mark` element and its new properties to the document content stylesheet.