File: /home/zwafgyp/dodolodge-net/wp-content/themes/hotel-wp/assets/sass/gutenberg/_gutenberg.scss
// Compatible with gutenberg WP 5.0
main.full-width {
.entry-content .alignwide {
margin-left: -80px;
margin-right: -80px;
max-width: 100vw;
}
.entry-content .alignfull {
margin-left: calc(-100vw / 2 + 100% / 2);
margin-right: calc(-100vw / 2 + 100% / 2);
max-width: 100vw;
}
.alignfull img {
width: 100vw;
}
}
.has-text-color {
&.has-border-input-color {
color: #dddddd !important;
}
}
.has-background {
&.has-border-input-background-color {
background-color: #dddddd !important;
}
}
.has-background-dim {
&.has-border-input-background-color:before {
background-color: #dddddd !important;
}
}
.has-medium-font-size, .has-large-font-size, .has-huge-font-size {
line-height: initial;
}
/* Blockquote
--------------------------------------------- */
.wp-block-quote.is-large, .wp-block-quote.is-style-large {
border: none;
}
.has-small-font-size {
font-size: 13px;
}
.has-normal-font-size {
font-size: 15px;
}
.has-large-font-size {
font-size: 28px;
}
.has-huge-font-size {
font-size: 36px;
}
p.has-drop-cap:not(:focus)::first-letter {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
float: left;
line-height: 1;
font-weight: bold;
margin: 0.05em 0.1em 0 0;
text-transform: uppercase;
font-style: normal;
}
.wp-block-quote br {
display: none;
}
.entry-content .wp-block-image img {
display: block;
}
.entry-content .wp-block-image.alignfull img {
width: 100vw;
max-width: calc(100% + (2 * 1rem));
}
.entry-content .wp-block-image {
max-width: 100%;
}