Skip to content

Commit

Permalink
Merge pull request #44 from asdfg0280/add/admonition
Browse files Browse the repository at this point in the history
fix admonition by adding missing style sheets
  • Loading branch information
madmas committed Jul 25, 2018
2 parents a0d6a11 + 026f9a3 commit 0996636
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,6 @@ public/views/build

public/uploads/*
!public/uploads/.gitkeep

#ignore visual studio code
.vscode
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ FROM node:boron
apt-get update && \
apt-get install -y git postgresql-client-9.6

#make directory
# make directory
RUN mkdir /hackadoc
WORKDIR /hackadoc

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},
"dependencies": {
"Idle.Js": "git+https://github.com/shawnmclean/Idle.js",
"asciidoctor.js": "^1.5.6-preview.3",
"asciidoctor.js": "^1.5.7-beta.1",
"async": "^2.1.4",
"aws-sdk": "^2.7.20",
"blueimp-md5": "^2.6.0",
Expand Down
29 changes: 29 additions & 0 deletions public/css/extra.css
Original file line number Diff line number Diff line change
Expand Up @@ -367,3 +367,32 @@ small .dropdown a:focus, small .dropdown a:hover {
}

.line-through{text-decoration:line-through}

/*admonition css*/
.admonitionblock td.icon [class^="fa icon-"]{
font-size:2.5em;
text-shadow:1px 1px 2px rgba(0,0,0,.5);
cursor:default
}
.admonitionblock td.icon .icon-note::before{
content:"\f05a";
color:#19407c
}
.admonitionblock td.icon .icon-tip::before{
content:"\f0eb";
text-shadow:1px 1px 2px rgba(155,155,0,.8);
color:#111
}

.admonitionblock td.icon .icon-warning::before{
content:"\f071";
color:#bf6900
}
.admonitionblock td.icon .icon-caution::before{
content:"\f06d";
color:#bf3400
}
.admonitionblock td.icon .icon-important::before{
content:"\f06a";
color:#bf0000
}

0 comments on commit 0996636

Please sign in to comment.