first commit
This commit is contained in:
110
wp-content/themes/hello-elementor/assets/css/custom.scss
Normal file
110
wp-content/themes/hello-elementor/assets/css/custom.scss
Normal file
@@ -0,0 +1,110 @@
|
||||
header {
|
||||
position: fixed;
|
||||
inset: 0 0 auto;
|
||||
z-index: 100;
|
||||
transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
|
||||
border-bottom: 1px solid #25344700;
|
||||
|
||||
&.fixed-header {
|
||||
background-color: #051223d9 !important;
|
||||
border-bottom-color: #253447;
|
||||
backdrop-filter: blur(24px);
|
||||
}
|
||||
}
|
||||
|
||||
p {
|
||||
&:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.btn-1 {
|
||||
width: fit-content;
|
||||
|
||||
.elementor-button-icon {
|
||||
transition: all 250ms ease-in-out;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
.elementor-button-icon {
|
||||
margin-left: 5px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#header-nav {
|
||||
@media (min-width: 768px) {
|
||||
li.menu-item.menu-item-854 {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
@media (max-width: 767px) {
|
||||
li {
|
||||
a {
|
||||
text-align: center;
|
||||
justify-content: center;
|
||||
}
|
||||
}
|
||||
li.menu-item.menu-item-854 {
|
||||
a {
|
||||
margin: 0 20px;
|
||||
color: #fff;
|
||||
background-color: #021527;
|
||||
font-family: 'Inconsolata', Sans-serif;
|
||||
font-size: 15px;
|
||||
font-weight: 500;
|
||||
text-transform: uppercase;
|
||||
line-height: 1;
|
||||
letter-spacing: 2px;
|
||||
border-style: solid;
|
||||
border-width: 1px 1px 1px 1px;
|
||||
border-color: #021527;
|
||||
padding: 16px 40px 16px 40px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.elementor-nav-menu--dropdown {
|
||||
ul.elementor-nav-menu {
|
||||
padding-bottom: 20px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.hp-big-tile {
|
||||
overflow: hidden;
|
||||
|
||||
&:hover {
|
||||
.hp-big-tile--img {
|
||||
img {
|
||||
transform: scale(1.05);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.hp-big-tile--img {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
|
||||
&::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background-image: linear-gradient(
|
||||
180deg,
|
||||
rgba(0, 0, 0, 0) 0%,
|
||||
rgba(0, 0, 0, 0) 50%,
|
||||
rgba(0, 0, 0, 0.5) 100%
|
||||
);
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
img {
|
||||
transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
|
||||
}
|
||||
|
||||
.elementor-widget-heading {
|
||||
z-index: 2;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user