mirror of https://github.com/docker/docs.git
57 lines
891 B
SCSS
57 lines
891 B
SCSS
/*
|
|
* Infos, notes, and warnings
|
|
*/
|
|
|
|
$info-color: #1488C6;
|
|
$warning-color: #aa6708;
|
|
$danger-color: #ce4844;
|
|
|
|
blockquote {
|
|
border-left-color: $info-color;
|
|
}
|
|
|
|
blockquote > p:first-child {
|
|
margin-top: 0;
|
|
font-weight: 700;
|
|
color: $info-color;
|
|
}
|
|
|
|
blockquote > p:first-child::before {
|
|
content: 'Note: ';
|
|
}
|
|
|
|
blockquote.warning {
|
|
border-left-color: $warning-color;
|
|
}
|
|
|
|
blockquote.warning > p:first-child {
|
|
color: $warning-color;
|
|
}
|
|
|
|
blockquote.warning > p:first-child::before {
|
|
content: 'Important: ';
|
|
}
|
|
|
|
blockquote.danger {
|
|
border-left-color: $danger-color;
|
|
}
|
|
|
|
blockquote.danger > p:first-child {
|
|
color: $danger-color;
|
|
}
|
|
|
|
blockquote.danger > p:first-child::before {
|
|
content: 'Warning: '
|
|
}
|
|
|
|
/* Maintain backwards compatibility with old
|
|
* note style
|
|
*/
|
|
blockquote > p:only-child {
|
|
font-weight: inherit;
|
|
color: inherit;
|
|
}
|
|
blockquote > p:only-child::before {
|
|
content: none;
|
|
}
|