f4f9af06c9
When rendering Asciidoc documents this merge request enables the diplay of admonition blocks using font icons. This improves the looks of Asciidoc redered files. This uses the font-awesome fonts already present in Gitlab so no large dependencies are required for this to work.
27 lines
354 B
SCSS
27 lines
354 B
SCSS
.admonitionblock td.icon {
|
|
width: 1%;
|
|
|
|
[class^="fa icon-"] {
|
|
@extend .fa-2x;
|
|
}
|
|
|
|
.icon-note {
|
|
@extend .fa-thumb-tack;
|
|
}
|
|
|
|
.icon-tip {
|
|
@extend .fa-lightbulb-o;
|
|
}
|
|
|
|
.icon-warning {
|
|
@extend .fa-exclamation-triangle;
|
|
}
|
|
|
|
.icon-caution {
|
|
@extend .fa-fire;
|
|
}
|
|
|
|
.icon-important {
|
|
@extend .fa-exclamation-circle;
|
|
}
|
|
}
|