1
0
Fork 0

doc/macros.texi (@tip): Add macro

doc/liza.css: Add tip notice styling.
master
Mike Gerwitz 2017-03-22 14:55:06 -04:00
parent 3dfde49f76
commit 637ae01e95
2 changed files with 22 additions and 4 deletions

View File

@ -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;
color: #d33682;
content: '\01F6A7';
margin-left: -1.5em;
}
.doc-notice.dev p
.doc-notice.dev p::before
{
color: #d33682;
content: '\01F6A7';
}
.doc-notice.tip p::before
{
content: '\261E';
}
.doc-notice.dev p,
.doc-notice.tip p
{
padding-left: 1.75em;
}

View File

@ -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