Preview: _counter.scss
Size: 1.91 KB
//proc/thread-self/root/home/byroehnu/easetack.com/resources/scss/Frontend/shortcode/_counter.scss
/*--------------------------------------------------------------
17. Counter
----------------------------------------------------------------*/
.odometer-inside {
display: flex;
}
.cs_counter_1_wrap {
display: flex;
justify-content: center;
gap: 5px 100px;
.cs_counter.cs_style_1 {
width: 25%;
justify-content: center;
@media (max-width: 991px) {
justify-content: flex-start;
padding-left: 10%;
}
@media (min-width: 575px) {
&:not(:nth-child(4n + 0)) {
&::before {
content: '';
height: 100%;
width: 1px;
background-color: var(--ternary);
position: absolute;
right: -50px;
top: 50%;
transform: translateY(-50%);
}
}
}
&:last-child {
&::before {
display: none;
}
}
}
&.cs_type_1 {
flex-wrap: wrap;
gap: 50px 0;
@media (max-width: 575px) {
gap: 20px 0;
}
.cs_counter.cs_style_1 {
width: 50%;
@media (max-width: 575px) {
width: 100%;
}
&:not(:nth-child(4n + 0))::before {
right: 0;
}
&:nth-child(2n + 0):before {
display: none;
}
> div {
min-width: 150px;
}
}
}
@media (max-width: 1400px) {
gap: 5px 50px;
.cs_counter.cs_style_1 {
&:not(:nth-child(4n + 0)) {
&::before {
right: -25px;
}
}
}
}
@media (max-width: 1199px) {
flex-wrap: wrap;
gap: 20px 50px;
.cs_counter.cs_style_1 {
width: calc(50% - 25px);
&:nth-child(2) {
&::before {
display: none;
}
}
}
}
@media (max-width: 991px) {
padding-top: 0;
padding-bottom: 0;
}
@media (max-width: 575px) {
flex-direction: column;
gap: 20px;
.cs_counter.cs_style_1 {
width: 100%;
max-width: 100%;
margin: auto;
padding-left: 0;
}
}
}
Directory Contents
Dirs: 0 × Files: 17