File: /home/demo/public_html/waterdamage/assets/scss/base/_general-elements.scss
a {
text-decoration: none;
color: var(--color-link);
transition: all 0.3s;
&:hover {
color: var(--color-link-hover);
}
&:hover,
&:focus{
text-decoration: none;
}
}
img {
max-width: 100%;
height: auto;
}
textarea {
resize: vertical;
}
dd {
margin-left: 1.5em;
margin-top: 0.5em;
margin-bottom: 0.5em;
}
table {
border: 1px solid #dedede;
tr {
border-bottom: 1px solid #dedede;
}
th,
td {
padding: 0.45em 1em;
}
tbody th,
tbody td,
thead th {
border-right: 1px solid #dedede;
}
&.wp-block-table {
border-color: #dedede;
tr,
td,
th {
border-color: inherit;
}
th,
td {
padding: 0.45em 1em;
}
}
}
pre {
margin-bottom: 1.5em;
}
blockquote {
display: block;
padding: 0;
margin-bottom: 2.5em;
border: 0;
font-style: italic;
&.wp-block-quote.is-large {
padding-left: 0;
padding-right: 0;
}
}
.wp-block-pullquote__citation,
.wp-block-quote__citation,
cite {
display: block;
position: relative;
padding-top: em(25, 12);
margin-top: 1em;
font-size: 12px;
letter-spacing: 0.2em;
text-transform: uppercase;
font-style: normal;
&:before {
content: '';
display: inline-block;
width: 30px;
height: 1px;
position: absolute;
top: 0;
left: 0;
background-color: #a7a9b8;
}
.wp-block-quote.is-large & {
text-align: inherit;
font-size: 12px;
}
}
.wp-block-quote.aligncenter {
cite,
.wp-block-quote__citation {
&:before {
left: 50%;
margin-left: -15px;
}
}
}
.wp-block-quote.alignright {
cite,
.wp-block-quote__citation {
&:before {
left: auto;
right: 0;
}
}
}
.wp-block-pullquote,
.wp-block-quote {
margin-bottom: 32px;
blockquote {
margin-bottom: 0;
}
}
.wp-block-pullquote {
cite,
.wp-block-pullquote__citation {
&:before {
left: 50%;
margin-left: -15px;
}
}
}
.wp-block-pullquote.is-style-solid-color {
cite,
.wp-block-pullquote__citation {
&:before {
left: 0;
margin-left: 0;
}
}
}
figcaption {
// max-width: 80%;
margin: 1.3em auto;
color: #808291;
font-style: italic;
}
.fp-sr-only,
.screen-reader-text {
clip: rect(1px, 1px, 1px, 1px);
height: 1px;
overflow: hidden;
position: absolute !important;
top: 0;
left: 0;
width: 1px;
word-wrap: normal !important;
}
.split-inner {
display: inline-block;
}