1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-12-01 02:27:17 +01:00

Adjust maximum grid width so 80 char code fits without overflow

This commit is contained in:
squidfunk 2017-01-06 19:04:52 +01:00
parent 41121cf582
commit 56207162fe
6 changed files with 8 additions and 8 deletions

View File

@ -36,9 +36,9 @@
{% include "partials/fonts.html" %} {% include "partials/fonts.html" %}
{% endblock %} {% endblock %}
{% block styles %} {% block styles %}
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-16930d50c0.css"> <link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-9307c0da9f.css">
{% if config.extra.palette %} {% if config.extra.palette %}
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-0352baa348.palette.css"> <link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-02ce7adcc2.palette.css">
{% endif %} {% endif %}
{% for path in extra_css %} {% for path in extra_css %}
<link rel="stylesheet" href="{{ path }}"> <link rel="stylesheet" href="{{ path }}">

View File

@ -42,10 +42,10 @@ $break-devices: (
), ),
tablet: ( tablet: (
portrait: px2em(720px) px2em(959px), portrait: px2em(720px) px2em(959px),
landscape: px2em(960px) px2em(1199px) landscape: px2em(960px) px2em(1219px)
), ),
screen: ( screen: (
small: px2em(1200px) px2em(1599px), small: px2em(1220px) px2em(1599px),
medium: px2em(1600px) px2em(1999px), medium: px2em(1600px) px2em(1999px),
large: px2em(2000px) large: px2em(2000px)
) )

View File

@ -76,7 +76,7 @@ hr {
// Template-wide grid // Template-wide grid
.md-grid { .md-grid {
max-width: 120rem; max-width: 122rem;
margin-right: auto; margin-right: auto;
margin-left: auto; margin-left: auto;
} }

View File

@ -99,7 +99,7 @@
// [screen +]: Limit to grid // [screen +]: Limit to grid
@include break-from-device(screen) { @include break-from-device(screen) {
margin-left: 120rem; margin-left: 122rem;
} }
} }
} }