mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Added support for definition lists
This commit is contained in:
parent
5765619416
commit
3e50c3394a
@ -137,6 +137,24 @@ tincidunt. Aenean ullamcorper sit amet nulla at interdum.
|
|||||||
sagittis. Aliquam purus tellus, faucibus eget urna at, iaculis venenatis
|
sagittis. Aliquam purus tellus, faucibus eget urna at, iaculis venenatis
|
||||||
nulla. Vivamus a pharetra leo.
|
nulla. Vivamus a pharetra leo.
|
||||||
|
|
||||||
|
### Definition lists
|
||||||
|
|
||||||
|
Lorem ipsum dolor sit amet
|
||||||
|
|
||||||
|
: Sed sagittis eleifend rutrum. Donec vitae suscipit est. Nullam tempus
|
||||||
|
tellus non sem sollicitudin, quis rutrum leo facilisis. Nulla tempor
|
||||||
|
lobortis orci, at elementum urna sodales vitae. In in vehicula nulla.
|
||||||
|
|
||||||
|
Duis mollis est eget nibh volutpat, fermentum aliquet dui mollis.
|
||||||
|
Nam vulputate tincidunt fringilla.
|
||||||
|
Nullam dignissim ultrices urna non auctor.
|
||||||
|
|
||||||
|
Cras arcu libero
|
||||||
|
|
||||||
|
: Aliquam metus eros, pretium sed nulla venenatis, faucibus auctor ex. Proin
|
||||||
|
ut eros sed sapien ullamcorper consequat. Nunc ligula ante, fringilla at
|
||||||
|
aliquam ac, aliquet sed mauris.
|
||||||
|
|
||||||
## Code blocks
|
## Code blocks
|
||||||
|
|
||||||
### Inline
|
### Inline
|
||||||
|
1
material/assets/stylesheets/application-4b280ca4d9.css
Normal file
1
material/assets/stylesheets/application-4b280ca4d9.css
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -34,7 +34,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-9c62e3c932.css">
|
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-4b280ca4d9.css">
|
||||||
{% if config.extra.palette %}
|
{% if config.extra.palette %}
|
||||||
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-02ce7adcc2.palette.css">
|
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-02ce7adcc2.palette.css">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -51,6 +51,7 @@ extra:
|
|||||||
markdown_extensions:
|
markdown_extensions:
|
||||||
- markdown.extensions.admonition
|
- markdown.extensions.admonition
|
||||||
- markdown.extensions.codehilite(guess_lang=false)
|
- markdown.extensions.codehilite(guess_lang=false)
|
||||||
|
- markdown.extensions.def_list
|
||||||
- markdown.extensions.footnotes
|
- markdown.extensions.footnotes
|
||||||
- markdown.extensions.meta
|
- markdown.extensions.meta
|
||||||
- markdown.extensions.toc(permalink=true)
|
- markdown.extensions.toc(permalink=true)
|
||||||
|
@ -351,6 +351,11 @@ kbd {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Definition lists
|
||||||
|
dd {
|
||||||
|
margin: 1em 0 1em 1.875em;
|
||||||
|
}
|
||||||
|
|
||||||
// Limit width to container
|
// Limit width to container
|
||||||
iframe,
|
iframe,
|
||||||
img,
|
img,
|
||||||
|
@ -47,11 +47,11 @@
|
|||||||
// [screen +]: Increase spacing
|
// [screen +]: Increase spacing
|
||||||
@include break-from-device(screen) {
|
@include break-from-device(screen) {
|
||||||
margin: 2.4rem;
|
margin: 2.4rem;
|
||||||
|
}
|
||||||
|
|
||||||
// Hack: remove bottom spacing, due to margin collapse
|
// Hack: remove bottom spacing of last element, due to margin collapse
|
||||||
:last-child {
|
> :last-child {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user