Mike Gerwitz

Activist for User Freedom

aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMike Gerwitz <gerwitzm@lovullo.com>2017-03-22 14:55:06 -0400
committerMike Gerwitz <gerwitzm@lovullo.com>2017-03-23 12:16:52 -0400
commit637ae01e9549aa32cdb732fb632d7c07b2b45ce2 (patch)
tree6c65f8aaee7afee390febccf80045b2d65a73afa /doc
parent3dfde49f763edf3aa117dcfbb63feb27a2fe6d30 (diff)
downloadliza-637ae01e9549aa32cdb732fb632d7c07b2b45ce2.tar.gz
liza-637ae01e9549aa32cdb732fb632d7c07b2b45ce2.tar.bz2
liza-637ae01e9549aa32cdb732fb632d7c07b2b45ce2.zip
doc/macros.texi (@tip): Add macro
doc/liza.css: Add tip notice styling.
Diffstat (limited to 'doc')
-rw-r--r--doc/liza.css17
-rw-r--r--doc/macros.texi7
2 files changed, 21 insertions, 3 deletions
diff --git a/doc/liza.css b/doc/liza.css
index 740e230..902eb4f 100644
--- a/doc/liza.css
+++ b/doc/liza.css
@@ -132,16 +132,27 @@ but don't sacrifice space on small screens.
border-color: #d33682;
}
-.doc-notice.dev p::before
+.doc-notice.dev p::before,
+.doc-notice.tip p::before
{
display: block;
float: left;
+ margin-left: -1.5em;
+}
+
+.doc-notice.dev p::before
+{
color: #d33682;
content: '\01F6A7';
- margin-left: -1.5em;
}
-.doc-notice.dev p
+.doc-notice.tip p::before
+{
+ content: '\261E';
+}
+
+.doc-notice.dev p,
+.doc-notice.tip p
{
padding-left: 1.75em;
}
diff --git a/doc/macros.texi b/doc/macros.texi
index b963462..0c4593d 100644
--- a/doc/macros.texi
+++ b/doc/macros.texi
@@ -124,6 +124,13 @@
@end macro
+@macro tip{text}
+@noticestart{tip}
+\text\
+@noticeend
+@end macro
+
+
@c link to source file if URI is known, otherwise display
@c the path to the file
@ifset SRCURI