forked from ringcentral/slate
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add asides for nice-looking notes and warnings
You can now use <aside> with the classes - warning - success - notice to add little colored notes to your API docs! Examples are in source/index.md. Also, note that if you have a custom variables.scss, you'll have to add +$aside-notice-bg: #8fbcd4; +$aside-warning-bg: #c97a7e; +$aside-success-bg: #6ac174; to it.
- Loading branch information
Showing
10 changed files
with
128 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
@font-face { | ||
font-family: 'icomoon'; | ||
src:font-url('icomoon.eot'); | ||
src:font-url('icomoon.eot?#iefix') format('embedded-opentype'), | ||
font-url('icomoon.ttf') format('truetype'), | ||
font-url('icomoon.woff') format('woff'), | ||
font-url('icomoon.svg#icomoon') format('svg'); | ||
font-weight: normal; | ||
font-style: normal; | ||
} | ||
|
||
%icon { | ||
font-family: 'icomoon'; | ||
speak: none; | ||
font-style: normal; | ||
font-weight: normal; | ||
font-variant: normal; | ||
text-transform: none; | ||
line-height: 1; | ||
} | ||
|
||
%icon-exclamation-sign { | ||
@extend %icon; | ||
content: "\e600"; | ||
} | ||
%icon-question-sign { | ||
@extend %icon; | ||
content: "\e601"; | ||
} | ||
%icon-info-sign { | ||
@extend %icon; | ||
content: "\e602"; | ||
} | ||
%icon-remove-sign { | ||
@extend %icon; | ||
content: "\e603"; | ||
} | ||
%icon-plus-sign { | ||
@extend %icon; | ||
content: "\e604"; | ||
} | ||
%icon-minus-sign { | ||
@extend %icon; | ||
content: "\e605"; | ||
} | ||
%icon-ok-sign { | ||
@extend %icon; | ||
content: "\e606"; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters