Fixed #2: Ordered lists within an unordered list have ::before content

This commit is contained in:
squidfunk 2016-02-20 17:03:27 +01:00
parent 9d9effc106
commit fd290d0d7c
6 changed files with 16 additions and 5 deletions

View File

@ -1,3 +1,7 @@
mkdocs-material-0.x.x (2016-xx-xx)
* Fixed #2: Ordered lists within an unordered list have ::before content
mkdocs-material-0.1.2 (2016-02-16)
* Fixed styles for deep navigational hierarchies

File diff suppressed because one or more lines are too long

View File

@ -53,7 +53,7 @@
font-style: normal;
}
</style>
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-f5ffeca01e.css">
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-eaf860cca2.css">
{% if config.extra.font != 'none' %}
{% set text = 'Ubuntu' %}
{% if config.extra.font and config.extra.font.text %}

View File

@ -2,5 +2,5 @@
"assets/images/favicon.ico": "assets/images/favicon-e565ddfa3b.ico",
"assets/javascripts/application.js": "assets/javascripts/application-c6d2e828bd.js",
"assets/javascripts/modernizr.js": "assets/javascripts/modernizr-4ab42b99fd.js",
"assets/stylesheets/application.css": "assets/stylesheets/application-f5ffeca01e.css"
"assets/stylesheets/application.css": "assets/stylesheets/application-eaf860cca2.css"
}

View File

@ -149,6 +149,13 @@
margin-top: 1.5em;
}
/*
* Smaler top spacing for nested lists
*/
li ul, li ol {
margin-top: 0.75em;
}
/*
* List elements
*/
@ -167,7 +174,7 @@
/*
* Add icon for elements of an unordered list
*/
ul li:before {
ul > li:before {
content: "\e602";
display: block;
float: left;