summaryrefslogtreecommitdiffstats
path: root/src/css
diff options
context:
space:
mode:
authorDan Allen <dan@opendevise.com>2018-01-24 17:40:06 -0700
committerSarah White <sarah@opendevise.com>2018-01-26 00:50:02 +0000
commitaef3e495464b8793ab4f9c1c5e44f8fccfe83dfd (patch)
tree4403898d04a35f7e5ca4abec7d777cb1c6e13f58 /src/css
parent39aa78360507847c30daca119f18e2c92b75af86 (diff)
downloadalpine-antora-theme-aef3e495464b8793ab4f9c1c5e44f8fccfe83dfd.tar.bz2
alpine-antora-theme-aef3e495464b8793ab4f9c1c5e44f8fccfe83dfd.tar.xz
style checklists
- hide default bullet - add list marker using CSS - add checklist to example - reset font style for all i.fa elements
Diffstat (limited to 'src/css')
-rw-r--r--src/css/doc.css27
1 files changed, 25 insertions, 2 deletions
diff --git a/src/css/doc.css b/src/css/doc.css
index cc955bc..ec7f88d 100644
--- a/src/css/doc.css
+++ b/src/css/doc.css
@@ -78,6 +78,10 @@
font-weight: 500;
}
+.doc i.fa {
+ font-style: normal;
+}
+
/* what about td/th code? */
.doc p code {
font-size: 0.85em;
@@ -212,7 +216,6 @@
}
.doc .admonitionblock .icon i {
- font-style: normal;
display: inline-flex;
align-items: center;
height: 100%;
@@ -336,6 +339,27 @@
position: absolute;
}
+.doc ul.checklist {
+ padding-left: 0.5rem;
+ list-style: none;
+}
+
+.doc ul.checklist p > i.fa-check-square-o:first-child,
+.doc ul.checklist p > i.fa-square-o:first-child {
+ display: inline-flex;
+ justify-content: center;
+ width: 1rem;
+ margin-right: 0.25rem;
+}
+
+.doc ul.checklist i.fa-check-square-o::before {
+ content: "\2713";
+}
+
+.doc ul.checklist i.fa-square-o::before {
+ content: "\274f";
+}
+
.doc .olist .olist,
.doc .olist .ulist,
.doc .olist .dlist,
@@ -443,6 +467,5 @@
.menuseq i.caret::before {
content: ">";
- font-style: normal;
font-weight: 500;
}