File: //home/madepabj/gamepointpk.com/wp-content/themes/groovy/assets/scss/base/_style.scss
/* @group Global Styles */
body{
font-family: $font-family;
font-size: $font-size;
line-height: $line-height;
font-weight: $font-weight;
color: $text-color;
-webkit-overflow-scrolling: touch;
margin: 0 auto;
background: $background-color;
-ms-word-wrap: break-word;
word-wrap: break-word;
letter-spacing: 0.3px;
background-color: $background-color;
&:before{
content: '';
position: fixed;
left: 0;
top: 0;
z-index: -1;
width: 100%;
height: 100%;
height: 100vh;
z-index: -1;
}
&.cover:before{
background-size: cover !important;
}
&.epcl-shadow-style{
.bg-box,
#single.fullcover .featured-image,
div.meta .author .author-image{
border: 0;
}
.epcl-button{
transform: none !important;
}
.grid-posts .main-title,
.title.bordered,
.inputbox,
div.tags a, .widget_tag_cloud a, .widget_epcl_tag_cloud a,
.widget_epcl_social div.icons a .icon,
div.meta .author .author-image{
box-shadow: $small-shadow;
}
div.articles.classic article .thumb,
.main-nav ul.sub-menu,
#single.fullcover .featured-image{
box-shadow: $medium-shadow;
}
#footer .widgets .widget{ box-shadow: none; border: 0; }
}
}
.body-decorations{
position: fixed;
left: 0;
top: 0;
z-index: -1;
width: 100%;
height: 100%;
height: 100vh;
z-index: -1;
&:before, &:after{
content: '';
background: url($assets_path+'/images/background-decoration.svg') 7% 100px no-repeat;
width: 100%;
height: 100vh;
position: absolute;
left: 0;
top: 0;
background-size: contain;
}
&:after{
transform: scaleX(-1);
}
}
svg.icon{
fill: $white;
width: 17px;
height: 17px;
vertical-align: middle;
&.large{
width: 21px;
height: 21px;
margin-top: -2px;
}
&.ularge{
width: 31px;
height: 32px;
margin-top: -2px;
}
&.dark{
fill: $black;
}
}
time svg.icon{
filter: none;
}
svg{
&.main-color{ fill: $main-color; }
&.secondary-color{ fill: $secondary-color; }
}
.dot{
display: inline-block;
width: 5px;
height: 5px;
background: $main-color;
vertical-align: middle;
border-radius: 100%;
margin: -2px 5px 0;
}
[data-aos=fade]{
opacity: 0;
@include transition(800ms);
}
[data-aos=fade-up]{
opacity: 0;
transform: translateY(50px);
@include transition(600ms);
}
.aos-animate{
transform: translateY(0px);
opacity: 1;
}
.lazy, [data-lazy="true"]{
opacity: 0;
@include transition;
}
.lazy.loaded, [data-lazy="true"].loaded{ opacity: 1; }
/* Main BG loader */
.epcl-loader{
position: relative;
&:before{
content: '';
@include absolute-element;
z-index: -1;
background-image:linear-gradient(90deg, rgba(lightgrey, 0) 0, rgba(lightgrey, .15) 50%, rgba(lightgrey, 0) 100%);
background-position: 0 0;
background-repeat: no-repeat;
background-size: 50% 100%;
animation: loading 1000ms steps(29) infinite;
}
&:after{
content: '';
@include absolute-element;
z-index: -2;
background: $white;
border-radius: $medium-border-radius;
}
&.loaded:after, &.loaded:before{
background: none;
}
&.bg-box{
overflow: hidden;
}
}
@keyframes loading {
to {
background-position:
350% 0;
}
}
img{ max-width: 100%; height: auto; }
a{
color: $text-color;
@include transition;
&:hover{ color: $main-color; }
img{ backface-visibility: hidden; @include transition; }
}
i.icon, i.fa{ font-style: normal !important; }
.np-bottom{ padding-bottom: 0 !important; }
.no-margin{ margin: 0 !important; }
.alignleft{ float: left !important; }
.alignright{ float: right !important; }
.aligncenter{ display: block; margin: 0 auto; }
.textleft{ text-align: left !important; }
.textright{ text-align: right !important; }
.textcenter{ text-align: center !important; }
.fw-normal{ font-weight: 400 !important; }
.fw-medium{ font-weight: 500 !important; }
.fw-semibold{ font-weight: 600 !important; }
.fw-bold{ font-weight: 700 !important; }
.uppercase{ text-transform: uppercase; }
.overflow{ overflow: hidden; }
.hidden{ display: none; }
.inline-block{ display: inline-block; }
.cover{
background-repeat: no-repeat !important;
background-position: center center !important;
background-size: cover !important;
}
.parallax{
background-attachment: fixed !important;
}
hr{ border: 0; border-top: 1px solid $border-color; height: 1px; margin: 0 0 20px; }
.grid-container{ max-width: $grid-container; }
.grid-container.grid-usmall{ max-width: $grid-usmall; }
.grid-container.grid-small{ max-width: $grid-small; }
.grid-container.grid-medium{ max-width: $grid-medium; }
.grid-container.grid-large{ max-width: $grid-large; }
.grid-container.grid-ularge{ max-width: $grid-ularge; }
/* Content */
#wrapper{ overflow: hidden;}
.row, .epcl-row{ margin-left: -$grid-gap; margin-right: -$grid-gap; }
.row.large, .epcl-row.large{ margin-left: -35px; margin-right: -35px; }
.epcl-flex{
display: flex;
width: 100%;
align-items: center;
}
.section{
padding-top: $section-padding; padding-bottom: $section-padding;
}
.bg-white{
background: $white;
padding: 50px;
box-shadow: $main-shadow;
}
.fullwidth{ display: block; width: 100%; height: auto; }
.thumb{
position: relative;
z-index: 1;
min-height: 80px;
}
.thumb .fullimage,
.full-link{
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100% !important;
object-fit: cover;
z-index: 1;
}
.full-link{ z-index: 10; }
.content{
margin-top: $section-padding;
}
.bg-box{
background-color: $boxes-bg-color;
border-radius: $boxes-border-radius;
border: 1px solid $border-color;
box-shadow: $boxes-shadow;
position: relative;
box-sizing: border-box;
&.section{
padding: 40px;
// padding-bottom: 30px;
}
&.bg-white{
background: $white;
}
}
.mfp-close{ font-size: 40px !important; }
.epcl-border{
background-color: $border-color;
height: 1px;
margin: $section-padding auto 0;
&.small{
width: 75px;
margin-top: 30px;
}
}
/* Banners */
.epcl-banner{
img.custom-image{ display: block; margin: 0 auto; }
padding-bottom: 0;
}
.epcl-social-buttons{
&.button-style{
margin: 0 !important;
a{
margin: 0 2px;
background: $main-color;
display: inline-block;
width: 35px;
height: 35px;
text-align: center;
line-height: 35px;
border-radius: 50%;
color: $white;
i.fa{ font-size: 15px; }
svg{
width: 20px;
height: 20px;
vertical-align: middle;
}
&:hover{
color: #fff;
transform: translateY(-2px);
box-shadow: none;
}
&.dribbble{ background-color: $dribbble-color; }
&.facebook{ background-color: $facebook-color; }
&.twitter{ background-color: $twitter-color; }
&.instagram{ background-color: $instagram-color; }
&.linkedin{ background-color: $linkedin-color; }
&.pinterest{ background-color: $pinterest-color; }
&.tumblr{ background-color: $tumblr-color; }
&.youtube{ background-color: $youtube-color; }
&.flickr{ background-color: $flickr-color; }
&.twitch{ background-color: $twitch-color; }
&.vk{ background-color: $vk-color; }
&.telegram{ background-color: $telegram-color; }
&.rss{ background-color: $rss-color; }
&.tiktok{ fill: $white; background-color: $tiktok-color; }
}
}
&.fill-color{
a{
display: inline-block;
margin: 0 2px;
background: none;
width: 34px;
height: 44px;
line-height: 44px;
text-align: center;
i.fa{ font-size: 22px; }
&.dribbble{ color: $dribbble-color; }
&.facebook{ color: $facebook-color; }
&.twitter{ color: $twitter-color; }
&.instagram{ color: $instagram-color; }
&.linkedin{ color: $linkedin-color; }
&.pinterest{ color: $pinterest-color; }
&.tumblr{ color: $tumblr-color; }
&.youtube{ color: $youtube-color; }
&.flickr{ color: $flickr-color; }
&.twitch{ color: $twitch-color; }
&.vk{ color: $vk-color; }
&.telegram{ color: $telegram-color; }
&.rss{ color: $rss-color; }
&.tiktok{ fill: $tiktok-color; color: $tiktok-color; }
&.email{ color: $black; }
&.button.circle{
background: $white;
width: 44px;
height: 44px;
&:hover{
transform: translate(-2px, -2px);
}
}
}
}
}
/* @group Search form and results */
#search-lightbox{
.title{ margin-top: 10px; }
.title span{ font-weight: bold; color: $main-color; }
.search-wrapper{
padding: 0px 40px;
}
.mfp-close{ display: none; }
.categories{
text-align: center;
h5{
margin-top: 100px;
margin-bottom: 15px;
color: $black;
span{
color: $main-color;
}
}
}
}
/* @end */
/* @group Global: Author Box */
#author{
position: relative;
z-index: 0;
text-align: center;
margin: $section-padding auto 0;
#archives &{
margin-bottom: $section-padding;
}
.flex{
display: flex;
align-items: center;
}
.author-avatar{
margin-left: auto;
margin-right: 20px;
width: 80px;
height: 80px;
border-radius: 100%;
overflow: hidden;
.author-image{
@include absolute-element;
margin: 0;
transform: none;
}
}
.author-name{ margin: 20px 0 3px; line-height: 1; }
.right{
margin-right: auto;
}
div.info{
max-width: 550px;
margin: 0 auto;
p{ margin-top: 25px; font-size: 16px; }
.view-articles{ margin-top: 20px; }
}
div.social{
margin-top: 20px;
a{
display: inline-block;
margin: 0 10px;
font-size: 22px;
color: $main-color;
vertical-align: middle;
&.facebook{
color: $facebook-color;
}
&.twitter{
color: $twitter-color;
}
}
}
&.single-author{
display: flex;
align-items: center;
.single-wrapper{
width: 50%;
.right{
.title{
font-size: 22px;
}
div.social{
margin-top: 0px;
a{
font-size: 16px;
margin: 0 10px 0 0;
}
}
}
div.info p{
font-size: 14px;
margin-top: 15px;
}
}
.author-posts{
width: 42.5%;
text-align: left;
padding: 0;
margin-right: 0;
margin-left: auto;
box-sizing: border-box;
& > .title{
font-weight: normal;
margin-bottom: 20px;
text-align: center;
}
}
.epcl-button{
margin-top: 20px;
}
}
}
/* @end */
.epcl-decoration-counter{
display: none;
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
z-index: -1;
font-size: 200px;
font-family: $font-family;
line-height: 1;
font-weight: bold;
opacity: 0.5;
margin-top: 30px;
color: $white;
}
/* Global Articles decoration */
.epcl-overlay{
position: absolute;
left: 0;
bottom: 0;
width: 100%;
height: 100%;
z-index: 1;
transition: all 300ms ease;
background: rgba(#000, 0.25);
&.epcl-decoration-border{
position: absolute;
}
}
.epcl-category-overlay{
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
z-index: -1;
border-radius: $boxes-border-radius;
background: $boxes-bg-color;
&:before{
content: '';
position: absolute;
left: 0;
top: 0;
right: -2px;
bottom: -2px;
opacity: 0.25;
border-radius: $boxes-border-radius;
transform: scale(1);
}
}
/* Post Counter */
.epcl-number{
position: absolute;
left: -10px;
top: -10px;
z-index: 3;
width: 30px;
height: 30px;
text-align: center;
line-height: 30px;
font-family: $title-font-family;
font-weight: 700;
color: #000;
background: url($assets_path+'/images/number-decoration.svg') no-repeat center center;
}
/* Change mode button (just for demo purposes) */
.epcl-demo-tool{
position: fixed;
z-index: 10;
top: 40%;
left: 0;
background: #fff;
border: 1px solid #000;
border-top-right-radius: 7px;
border-bottom-right-radius: 7px;
padding: 15px;
font-size: 14px;
width: 190px;
animation: fadeOut 800ms forwards;
label{
display: inline-block;
margin-top: 10px;
}
input{
border: 0;
margin-right: 5px;
width: 40px;
background: $main-color;
background: transparent;
vertical-align: middle;
}
&:hover{
animation: none;
}
.tool{
position: absolute;
left: 100%;
top: 50%;
background: #fff;
z-index: -1;
padding: 8px;
padding-left: 14px;
border: 1px solid #000;
border-left: 0;
transform: translateY(-50%);
border-top-right-radius: 7px;
border-bottom-right-radius: 7px;
}
.title{ text-align: center;}
a{
display: block;
margin-top: 0px;
padding: 5px 0 0;
margin-top: 10px;
font-family: $title-font-family;
font-size: 14px;
span{
display: inline-block;
width: 38px;
height: 20px;
background: $black;
position: relative;
z-index: 2;
border-radius: 25px;
vertical-align: middle;
margin-right: 10px;
opacity: 0.75;
@include transition;
&::before{
content: '';
position: absolute;
top: 6px;
left: 6px;
width: 8px;
height: 8px;
background: #fff;
border-radius: 50%;
@include transition;
}
}
&.active{
span{
background: $main-color;
opacity: 1;
&::before{
left: 24px;
}
}
}
}
}
@keyframes fadeOut {
0% { left: 0; }
100% {left: -222px; }
}
@keyframes fadeIn {
0% { left: -222px; }
100% {left: 0; }
}