Sass cleanup + "height: auto" for img tags
This commit is contained in:
parent
14754a559d
commit
63f8dc860e
|
@ -4595,8 +4595,9 @@ a.bg-danger:focus, a.bg-danger:hover {
|
||||||
.entry-footer span {
|
.entry-footer span {
|
||||||
padding-right: 10px; }
|
padding-right: 10px; }
|
||||||
|
|
||||||
img.wp-post-image, article img, figure {
|
img.wp-post-image, article img, figure, img {
|
||||||
max-width: 100%; }
|
max-width: 100%;
|
||||||
|
height: auto; }
|
||||||
|
|
||||||
a.skip-link {
|
a.skip-link {
|
||||||
z-index: 1000;
|
z-index: 1000;
|
||||||
|
@ -4690,7 +4691,7 @@ a.skip-link {
|
||||||
|
|
||||||
.fa {
|
.fa {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
font: normal normal normal 14px/1 FontAwesome;
|
font: normal normal normal 14px / 1 FontAwesome;
|
||||||
font-size: inherit;
|
font-size: inherit;
|
||||||
text-rendering: auto;
|
text-rendering: auto;
|
||||||
-webkit-font-smoothing: antialiased;
|
-webkit-font-smoothing: antialiased;
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -54,8 +54,9 @@ font-size:inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
//Limit featured image size to 100%
|
//Limit featured image size to 100%
|
||||||
img.wp-post-image, article img, figure {
|
img.wp-post-image, article img, figure, img {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
|
height: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Skip to content link
|
// Skip to content link
|
||||||
|
@ -95,8 +96,8 @@ right: 0px;
|
||||||
border: 1px solid transparent;
|
border: 1px solid transparent;
|
||||||
|
|
||||||
|
|
||||||
// We remove the `outline` here, but later compensate by attaching `:hover`
|
// We remove the `outline` here, but later compensate by attaching `:hover`
|
||||||
// styles to `:focus`.
|
// styles to `:focus`.
|
||||||
&:focus {
|
&:focus {
|
||||||
outline: 0;
|
outline: 0;
|
||||||
}
|
}
|
||||||
|
@ -166,13 +167,7 @@ right: 0px;
|
||||||
li {
|
li {
|
||||||
list-style: square;
|
list-style: square;
|
||||||
padding-left: 0px;
|
padding-left: 0px;
|
||||||
|
|
||||||
a {
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.dropdown-menu .menu-item {
|
.dropdown-menu .menu-item {
|
||||||
|
@ -181,4 +176,3 @@ right: 0px;
|
||||||
background-color:$brand-primary;
|
background-color:$brand-primary;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in New Issue