File: /home/zeusxp5/chuair.org/wp-content/themes/lifttruck/resources/scss/base/_common.scss
html {
box-sizing: border-box;
}
*, *:before, *:after {
box-sizing: inherit;
}
/*
* Font smoothing.
* This is a niche setting that will not be available via Global Styles.
* https://github.com/WordPress/gutenberg/issues/35934
*/
body {
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
}
img,
svg,
video {
max-width: 100%;
display: block;
height: auto;
}
/*
* Text and navigation link styles.
* Necessary until the following issue is resolved in Gutenberg:
* https://github.com/WordPress/gutenberg/issues/27075
*/
a {
text-decoration-thickness: 1px;
text-underline-offset: 0.25ch;
}
a:hover,
a:focus {
text-decoration-style: dashed;
}
a:active {
text-decoration: none;
}
mark, ins {
text-decoration: none;
}
table {
width: 100%;
}
/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
margin: 5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
display: block;
margin: 5px auto 5px auto;
}
.alignright {
float:right;
margin: 5px 0 20px 20px;
}
.alignleft {
float: left;
margin: 5px 20px 20px 0;
}
a img.alignright {
float: right;
margin: 5px 0 20px 20px;
}
a img.alignnone {
margin: 5px 20px 20px 0;
}
a img.alignleft {
float: left;
margin: 5px 20px 20px 0;
}
a img.aligncenter {
display: block;
margin-left: auto;
margin-right: auto;
}
.wp-caption {
background: #fff;
border: 1px solid #f0f0f0;
max-width: 96%; /* Image does not overflow the content area */
padding: 5px 3px 10px;
text-align: center;
}
.wp-caption.alignnone {
margin: 5px 20px 20px 0;
}
.wp-caption.alignleft {
margin: 5px 20px 20px 0;
}
.wp-caption.alignright {
margin: 5px 0 20px 20px;
}
.wp-caption img {
border: 0 none;
height: auto;
margin: 0;
max-width: 98.5%;
padding: 0;
width: auto;
}
.wp-caption p.wp-caption-text {
font-size: 11px;
line-height: 17px;
margin: 0;
padding: 0 4px 5px;
}
/* Text meant only for screen readers. */
.screen-reader-text {
border: 0;
clip: rect(1px, 1px, 1px, 1px);
clip-path: inset(50%);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute !important;
width: 1px;
word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}
.screen-reader-text:focus {
background-color: #eee;
clip: auto !important;
clip-path: none;
color: #444;
display: block;
font-size: 1em;
height: auto;
left: 5px;
line-height: normal;
padding: 15px 23px 14px;
text-decoration: none;
top: 5px;
width: auto;
z-index: 100000;
/* Above WP toolbar. */
}
.wp-caption {
max-width: 100%;
}
.wp-caption-text {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
font-size: 12px;
font-style: italic;
line-height: 1.5;
margin: 9px 0;
}
.gallery-caption {
background-color: rgba(0, 0, 0, 0.7);
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
color: #fff;
font-size: 12px;
line-height: 1.5;
margin: 0;
max-height: 50%;
opacity: 0;
padding: 6px 8px;
position: absolute;
bottom: 0;
left: 0;
text-align: left;
width: 100%;
}
.sticky {
position: sticky;
}
.bypostauthor > article .fn:before {
-webkit-font-smoothing: antialiased;
display: inline-block;
font: normal 16px/1 Genericons;
text-decoration: inherit;
vertical-align: text-bottom;
}
@media screen and (max-width: 1332px) {
.has-global-padding > .alignfull > * {
padding-inline: var(--wp--style--root--padding-right);
}
}
:has(.has-text-color) :is(h1,h2,h3,h4,h5,h6),
body .wp-block-post-content :is(h1,h2,h3,h4,h5,h6) a:where(:not(.wp-element-button)) {
color: inherit;
}
.p-0 {
padding: 0 !important;
}
.m-0_mobile {
@include for-medium-down {
margin: 0 !important;
}
}
.numbers-movedup {
}
@media (min-width: 1024px) {
.numbers-movedup {
box-shadow: 0 5px 20px rgba(0,0,0,0.1);
z-index: 9;
margin-inline-start: -25px;
margin-inline-end: -25px;
transform: translate(14%, 60px) scale(1.2);
}
}
.z-index {
z-index: 2;
position: relative;
}
/* --------------- Swiper font issue -----------------*/
.swiper-button-prev:after, .swiper-rtl .swiper-button-next:after {
content: '←';
color: #fff;
}
.swiper-button-next:after, .swiper-rtl .swiper-button-prev:after {
content: '→';
color: #fff;
}
/* ---------------------- Old and new css vars mapping -----------------------*/
body {
--primary-color: var(--wp--preset--color--primary);
--accent-color: var(--wp--preset--color--accent);
--heading-color: var(--wp--preset--color--heading);
}
/* -------------------- .wd-overlay-bg ----------------------------------*/
.wd-overlay-bg {
position: relative;
&:before {
content: "";
display: block;
width: 100%;
position: absolute;
height: 100%;
background: rgb(0 0 0 / 70%);
}
& > * {
position: relative;
}
}
.has-mark-tag mark {
border-radius: var(--wp--custom--bradius--lg);
padding: 2px 10px;
font-size: 12px;
margin-right: 8px;
}
@media (max-width: 781px) {
.two-column-grid-mobile {
grid-template-columns: 1fr 1fr !important;
}
}
@media (min-width: 1100px) {
.centered-absolute {
position: absolute;
inset-inline: 0;
text-align: center;
}
}
.wp-block-site-logo img {
height: 26px;
width: auto;
}
.wc-block-product-categories.is-list.is-style-default .wc-block-product-categories-list-item__name:after {
border-bottom: none !important;
background: linear-gradient(45deg,red,#ff8a00,#a400ff,#ff00c8,red);
height: 2px;
bottom: -8px !important;
}
.wc-block-product-categories.is-list.is-style-default .wc-block-product-categories-list-item__name {
margin-top: var(--wp--preset--spacing--20);
}
.wc-block-components-product-price ins {
color: green;
}
/*
figure.wp-block-post-featured-image {
& a {
overflow: hidden;
}
& a img {
transition: all .3s;
}
& a:hover img {
scale: 1.05;
}
} */