mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Added quote/cite styles for admonition
This commit is contained in:
parent
0a6e70262b
commit
009b41cdb1
@ -331,3 +331,27 @@ Result:
|
|||||||
Qualifiers:
|
Qualifiers:
|
||||||
|
|
||||||
* `bug`
|
* `bug`
|
||||||
|
|
||||||
|
### Quote
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
``` markdown
|
||||||
|
!!! quote
|
||||||
|
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla et euismod
|
||||||
|
nulla. Curabitur feugiat, tortor non consequat finibus, justo purus auctor
|
||||||
|
massa, nec semper lorem quam in massa.
|
||||||
|
```
|
||||||
|
|
||||||
|
Result:
|
||||||
|
|
||||||
|
!!! quote
|
||||||
|
|
||||||
|
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla et euismod
|
||||||
|
nulla. Curabitur feugiat, tortor non consequat finibus, justo purus auctor
|
||||||
|
massa, nec semper lorem quam in massa.
|
||||||
|
|
||||||
|
Qualifiers:
|
||||||
|
|
||||||
|
* `quote`
|
||||||
|
* `cite`
|
||||||
|
File diff suppressed because one or more lines are too long
1
material/assets/stylesheets/application-e17eeafcbc.css
Normal file
1
material/assets/stylesheets/application-e17eeafcbc.css
Normal file
File diff suppressed because one or more lines are too long
@ -32,7 +32,7 @@
|
|||||||
<script src="{{ base_url }}/assets/javascripts/modernizr-56ade86843.js"></script>
|
<script src="{{ base_url }}/assets/javascripts/modernizr-56ade86843.js"></script>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block styles %}
|
{% block styles %}
|
||||||
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-4ebe3f1d68.css">
|
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-e17eeafcbc.css">
|
||||||
{% if config.extra.palette %}
|
{% if config.extra.palette %}
|
||||||
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-892b79c5c5.palette.css">
|
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-892b79c5c5.palette.css">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -64,7 +64,8 @@
|
|||||||
warning caution attention: $clr-orange-a400 "warning",
|
warning caution attention: $clr-orange-a400 "warning",
|
||||||
failure fail missing: $clr-red-a200 "clear",
|
failure fail missing: $clr-red-a200 "clear",
|
||||||
danger error: $clr-red-a400 "flash_on",
|
danger error: $clr-red-a400 "flash_on",
|
||||||
bug: $clr-pink-a400 "bug_report"
|
bug: $clr-pink-a400 "bug_report",
|
||||||
|
quote cite: $clr-grey "format_quote"
|
||||||
) {
|
) {
|
||||||
$tint: nth($appearance, 1);
|
$tint: nth($appearance, 1);
|
||||||
$icon: nth($appearance, 2);
|
$icon: nth($appearance, 2);
|
||||||
|
Loading…
Reference in New Issue
Block a user