Sass cleanup + "height: auto" for img tags

This commit is contained in:
koenemann 2016-05-19 15:37:29 +02:00
parent 14754a559d
commit 63f8dc860e
3 changed files with 9 additions and 14 deletions

View File

@ -4595,8 +4595,9 @@ a.bg-danger:focus, a.bg-danger:hover {
.entry-footer span {
padding-right: 10px; }
img.wp-post-image, article img, figure {
max-width: 100%; }
img.wp-post-image, article img, figure, img {
max-width: 100%;
height: auto; }
a.skip-link {
z-index: 1000;
@ -4690,7 +4691,7 @@ a.skip-link {
.fa {
display: inline-block;
font: normal normal normal 14px/1 FontAwesome;
font: normal normal normal 14px / 1 FontAwesome;
font-size: inherit;
text-rendering: auto;
-webkit-font-smoothing: antialiased;

2
css/theme.min.css vendored

File diff suppressed because one or more lines are too long

View File

@ -54,8 +54,9 @@ font-size:inherit;
}
//Limit featured image size to 100%
img.wp-post-image, article img, figure {
img.wp-post-image, article img, figure, img {
max-width: 100%;
height: auto;
}
// Skip to content link
@ -95,8 +96,8 @@ right: 0px;
border: 1px solid transparent;
// We remove the `outline` here, but later compensate by attaching `:hover`
// styles to `:focus`.
// We remove the `outline` here, but later compensate by attaching `:hover`
// styles to `:focus`.
&:focus {
outline: 0;
}
@ -166,13 +167,7 @@ right: 0px;
li {
list-style: square;
padding-left: 0px;
a {
}
}
}
.dropdown-menu .menu-item {
@ -181,4 +176,3 @@ right: 0px;
background-color:$brand-primary;
}
}