%PDF- %PDF-
| Direktori : /home/c/a/s/casasmonvl/newges4t/wp-content/themes/ges4t/scss/ |
| Current File : /home/c/a/s/casasmonvl/newges4t/wp-content/themes/ges4t/scss/_utilities.scss |
// Text
.text-primary {
color: $primary;
}
.text-secondary {
color: $secondary;
}
.text-black {
color: $black;
}
.text-white {
color: $white;
}
.text-uppercase {
text-transform: uppercase;
}
.text-center {
text-align: center;
}
.text-light {
font-weight: 300;
}
.text-lg, .text-lg p {
font-size: 24px;
line-height: 38px;
}
.text-sm, .text-sm p {
font-size: 12px;
line-height: 24px;
}
// Img
.remove-margin-right {
margin-right: -20px;
}
.slick-slide {
img {
width: 100%;
height: auto;
}
figure {
position: relative;
figcaption {
position: absolute;
bottom: 0;
left: 0;
right: 0;
height: 150px;
padding-top: 50px;
background-color: rgba($primary, 0.92);
text-align: center;
font-size: 16px;
line-height: 24px;
&::first-line {
font-size: 24px;
line-height: 30px;
font-weight: 500;
}
}
}
}
// Gallery
ul.wp-block-gallery {
margin: 0;
padding: 0;
list-style: none;
li {
margin: 0;
vertical-align: middle;
}
}
ul.wp-block-gallery.gallery-centered {
background: $white-alt2;
padding: 30px 0;
display: flex;
flex-wrap: wrap;
justify-content: center;
li {
margin: 20px 35px;
}
li, figure {
display: flex;
align-items: center;
}
h3 {
color: $primary;
}
}
// Accessibility
.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: #f1f1f1;
border-radius: 3px;
box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
clip: auto !important;
clip-path: none;
color: #21759b;
display: block;
font-size: 14px;
font-size: 0.875rem;
font-weight: bold;
height: auto;
left: 5px;
line-height: normal;
padding: 15px 23px 14px;
text-decoration: none;
top: 5px;
width: auto;
z-index: 100000; // Above WP toolbar.
}
#content[tabindex="-1"]:focus {
outline: 0; // Do not show the outline on the skip link target.
}
// Alignments
.alignleft {
display: inline;
float: left;
margin-right: 1.5em;
}
.alignright {
display: inline;
float: right;
margin-left: 1.5em;
}
.aligncenter {
clear: both;
display: block;
margin-left: auto;
margin-right: auto;
}
// Clearings
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
content: "";
display: table;
table-layout: fixed;
}
.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
clear: both;
}
// Animations
@keyframes animateScaleY {
0% {
transform:scaleY(0);
opacity: 0;
}
7% {
transform:scaleY(0);
}
21% {
transform:scaleY(1);
opacity: 1;
}
}
@keyframes fadeIn {
0% { opacity: 0; }
100% { opacity: 1; }
}
@keyframes fadeInAlt {
0% { opacity: 0; }
100% { opacity: 1; }
}
@keyframes fadeInAlt2 {
0% { opacity: 0; }
100% { opacity: 1; }
}
@keyframes fadeInAlt3 {
0% { opacity: 0; }
100% { opacity: 1; }
}