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" %}
{% endblock %}
{% 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 %}
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-02ce7adcc2.palette.css">
{% endif %}

View File

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

View File

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