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) mkdocs-material-0.1.2 (2016-02-16)
* Fixed styles for deep navigational hierarchies * 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; font-style: normal;
} }
</style> </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' %} {% if config.extra.font != 'none' %}
{% set text = 'Ubuntu' %} {% set text = 'Ubuntu' %}
{% if config.extra.font and config.extra.font.text %} {% 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/images/favicon.ico": "assets/images/favicon-e565ddfa3b.ico",
"assets/javascripts/application.js": "assets/javascripts/application-c6d2e828bd.js", "assets/javascripts/application.js": "assets/javascripts/application-c6d2e828bd.js",
"assets/javascripts/modernizr.js": "assets/javascripts/modernizr-4ab42b99fd.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; margin-top: 1.5em;
} }
/*
* Smaler top spacing for nested lists
*/
li ul, li ol {
margin-top: 0.75em;
}
/* /*
* List elements * List elements
*/ */
@ -167,7 +174,7 @@
/* /*
* Add icon for elements of an unordered list * Add icon for elements of an unordered list
*/ */
ul li:before { ul > li:before {
content: "\e602"; content: "\e602";
display: block; display: block;
float: left; float: left;