Skip to content

Commit 47ca354

Browse files
committed
add icon settings for asciidoc. next-l/enju_leaf#1934
1 parent dc6fdc7 commit 47ca354

File tree

2 files changed

+34
-0
lines changed

2 files changed

+34
-0
lines changed

_includes/themes/twitter/default.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
<link href="{{ ASSET_PATH }}/css/enju-manual-patch.css" rel="stylesheet" type="text/css" media="all">
1515
<link href="{{ ASSET_PATH }}/css/highlight.css" rel="stylesheet" type="text/css" media="all">
1616
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css" rel="stylesheet">
17+
<link href="{{ ASSET_PATH }}/css/admonitionblock-icon.css" rel="stylesheet" type="text/css" media="all">
1718

1819
<!-- Le fav and touch icons -->
1920
<!-- Update these with your own images
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
span.icon > .fa {
2+
cursor: default;
3+
}
4+
.admonitionblock td.icon {
5+
text-align: center;
6+
width: 80px;
7+
}
8+
.admonitionblock td.icon [class^="fa icon-"] {
9+
font-size: 2.5em;
10+
text-shadow: 1px 1px 2px rgba(0,0,0,.5);
11+
cursor: default;
12+
}
13+
.admonitionblock td.icon .icon-note:before {
14+
content: "\f05a";
15+
color: #19407c;
16+
}
17+
.admonitionblock td.icon .icon-tip:before {
18+
content: "\f0eb";
19+
text-shadow: 1px 1px 2px rgba(155,155,0,.8);
20+
color: #111;
21+
}
22+
.admonitionblock td.icon .icon-warning:before {
23+
content: "\f071";
24+
color: #bf6900;
25+
}
26+
.admonitionblock td.icon .icon-caution:before {
27+
content: "\f06d";
28+
color: #bf3400;
29+
}
30+
.admonitionblock td.icon .icon-important:before {
31+
content: "\f06a";
32+
color: #bf0000;
33+
}

0 commit comments

Comments
 (0)