XylotrechusZ
/**
* Set link colors.
*/
a {
color: inherit;
&:hover {
color: $link-hover-color;
}
}
a.light {
color: $color-1;
&:hover {
color: $link-hover-color;
}
}
a, a:hover, a:focus {
text-decoration: none;
@include transition( all .3s ease );
}
/**
* Headings.
*/
h1,
h2,
h3,
h4,
h5,
h6,
.theme-heading{
font-family: $heading-font-family;
font-weight: $heading-font-weight;
margin: 0 0 20px;
color: $heading-font-color;
line-height: var(--theme-heading-font-line-height);
font-style: var(--theme-heading-font-style);
letter-spacing: var(--theme-heading-font-spacing);
text-align: var(--theme-heading-font-align);
}
.h1,
h1 {
font-size: var(--theme-h1-font-size);
}
.h2,
h2 {
font-size: var(--theme-h2-font-size);
}
.h3,
h3 {
font-size: var(--theme-h3-font-size);
}
.h4,
h4 {
font-size: var(--theme-h4-font-size);
}
.h5,
h5 {
font-size: var(--theme-h5-font-size);
}
.h6,
h6 {
font-size: var(--theme-h6-font-size);
}
.h1,
.h2,
.h3,
.h4,
.h5,
.h6{
line-height: 1.4;
}
/**
* Text elements.
*/
p {
margin: 0 0 1em;
&:last-child{
margin-bottom: 0;
}
}
abbr[title],
dfn[title] {
cursor: help;
}
code,
kbd,
pre,
samp {
font-size: 15px;
font-family: monospace, monospace;
}
pre {
margin: 20px 0;
padding: 20px;
color: #2080ad;
background-color: #fafafa;
}
code {
color: #2080ad;
}
blockquote {
margin: 0 0 15px;
border-left: 5px solid $secondary-color;
padding-left: 1.75em;
p{
margin-bottom: 10px;
}
}
q:before,
q:after,
blockquote:before,
blockquote:after {
content: "";
}
address {
display: block;
margin: 0 0 20px;
}
ul,
ol {
margin: 15px 0 15px 20px;
}
ol {
list-style-type: decimal;
}
ol ol {
list-style: upper-alpha;
}
ol ol ol {
list-style: lower-roman;
}
ol ol ol ol {
list-style: lower-alpha;
}
li ul,
li ol {
margin: 0 0 0 25px;
}
dl {
margin: 0;
}
dt {
font-weight: 700;
}
dd {
margin-bottom: 20px;
}
hr {
clear: both;
height: 1px;
min-height: 0;
margin: 8px 0;
border-top: 1px solid $border-color;
border-right: 0;
border-bottom: 0;
border-left: 0;
&.dotted {
border-style: dotted;
}
&.dashed {
border-style: dashed;
}
&.blackborder {
border-color: #000;
}
&.whiteborder {
border-color: #fff;
}
}
cite {
font-style: italic;
}
/**
* Print styles.
*/
@media print {
* {
background: transparent !important;
@include box-shadow( none !important );
text-shadow: none !important;
}
a,
a:visited {
text-decoration: underline;
}
a[href]:after {
content: " (" attr(href) ")";
}
abbr[title]:after {
content: " (" attr(title) ")";
}
.ir a:after,
a[href^="javascript:"]:after,
a[href^="#"]:after {
content: "";
}
pre,
blockquote {
border: 1px solid #999;
page-break-inside: avoid;
}
thead {
display: table-header-group;
}
tr,
img {
page-break-inside: avoid;
}
img {
max-width: 100% !important;
}
@page {
margin: .5cm;
}
p,
h2,
h3 {
orphans: 3;
widows: 3;
}
h2,
h3 {
page-break-after: avoid;
}
}
blockquote.wp-block-pullquote {
border-left: none;
}
blockquote.wp-block-quote{
&[style*="center"]{
width: 700px;
max-width: 100%;
margin-left: auto;
margin-right: auto;
}
cite {
> br{
display: none !important;
}
}
&[style="text-align:right"] {
border-right: 4px solid;
border-left: none;
padding-right: 20px;
}
}
.wp-block-media-text + p {
margin-top: 2em;
}