Added max-width for iframe and svg

This commit is contained in:
squidfunk 2017-01-10 00:02:37 +01:00
parent 6696f09444
commit 6033519d15
5 changed files with 7 additions and 5 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -37,7 +37,7 @@
{% include "partials/fonts.html" %} {% include "partials/fonts.html" %}
{% endblock %} {% endblock %}
{% block styles %} {% block styles %}
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-dda2652cc7.css"> <link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-27c93467fb.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 %}

View File

@ -361,8 +361,10 @@ kbd {
} }
} }
// Limit images to container // Limit width to container
img { iframe,
img,
svg {
max-width: 100%; max-width: 100%;
} }

View File

@ -47,7 +47,7 @@
height: 0; height: 0;
} }
// Darken color for targete footnote // Darken color for targeted footnote
&:target { &:target {
color: $md-color-black; color: $md-color-black;
} }