xarxaprod-wp-theme/sass/base/elements/_media.scss

21 lines
483 B
SCSS
Raw Normal View History

2024-01-09 16:13:20 +01:00
/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
max-width: 100%;
}
img {
height: auto; // Make sure images are scaled correctly.
max-width: 100%; // Adhere to container width.
}
figure {
margin: 1em 0; // Extra wide images within figure tags don't overflow the content area.
}
.xarxaprod-associats-map,.xarxaprod-espais-map {
//mapas leaflet
aspect-ratio: 16 / 9;
background-color: rgba(200,200,200,0.4); //place holder background color
}