@import '../_variables'; @import '~bootstrap/scss/tables'; $typography-breakpoint: map-get($grid-breakpoints, 'sm') - 1 !default; a { color: $link-color; } img, .captionImage, .image, .ss-htmleditorfield-file { display: block; margin: 1rem; max-width: 100%; &.center { margin-left: auto; margin-right: auto; text-align: center; } &.left { float: left; clear: left; margin: 0 1rem 1rem 0; } &.right { float: right; clear: right; margin: 1rem 0 0 1rem; } &.leftAlone { float: left; clear: left; margin: 0 1rem 1rem 0; } &.rightAlone { float: right; clear: right; margin: 1rem 0 0 1rem; } iframe { width: 100% !important; height: 100% !important; } } .captionImage { img { margin-bottom: 0.5rem !important; } .caption { font-size: 0.8rem; } } .text-left { text-align: left; } .text-center { text-align: center; } .text-right { text-align: right; } .text-justify { text-align: justify; } table { width: 100%; max-width: 100%; border-collapse: collapse; @extend .table; @extend .table-bordered; } table { &.table-none { border: 0; tr, td, th { border: 0; background: none !important; } } } ul, ol { padding-left: $grid-gutter-width; li { position: relative; padding-left: 0; } } ul { list-style: none; li { list-style: none; &:before { content: '\2022'; display: inline-block; margin-right: 0.5em; position: absolute; left: -0.75em; font-size: 1.5em; top: -0.25em; } } } div, table, p, tr, th, td, img, iframe { max-width: 100% !important; @media (max-width: $typography-breakpoint) { display: block; width: 100% !important; border: 0 !important; padding-left: 0 !important; padding-right: 0 !important; } } div, table, p, tr, th, td, img { @media (max-width: $typography-breakpoint) { height: auto !important; } }