Skip to content

admonitions with icons and FontAwesome #3254

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 14, 2017
Merged

admonitions with icons and FontAwesome #3254

merged 2 commits into from
May 14, 2017

Conversation

londoncalling
Copy link
Contributor

@londoncalling londoncalling commented May 13, 2017

What's changed

  • Updated CSS style names for admonitions to better match content (note, important, warning)

  • Added Font Awesome unicode for icons to content elements in the vanilla styles to pull in icons ( @joaofnfernandes 's idea, worked!)

  • Cleaned up descriptions of admonitions to demo the original styles and the new Font Awesome ones

Related

PR #3253 (Liquid variables approach with similar goals)
PR #2795 (original update to CSS for color-coded admonitions with pre-pended words)

Reviewers

@johndmulhausen @allejo @mstanleyjones @joaofnfernandes

Signed-off-by: Victoria Bialas victoria.bialas@docker.com

@johndmulhausen
Copy link

Use these three icons for note, important, and warning:

http://fontawesome.io/icon/check-circle
http://fontawesome.io/icon/exclamation-circle
http://fontawesome.io/icon/times-circle

Victoria Bialas added 2 commits May 12, 2017 18:16
Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>
Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants