mirror of
https://github.com/danbulant/api_docs
synced 2026-06-14 03:51:01 +00:00
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.
49 lines
902 B
SCSS
49 lines
902 B
SCSS
@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";
|
|
}
|