initial commit
This commit is contained in:
@@ -0,0 +1,60 @@
|
||||
// main: ../main.scss
|
||||
/*--------------------------------------------------------------
|
||||
# Global Header
|
||||
--------------------------------------------------------------*/
|
||||
.header {
|
||||
--background-color: rgba(255, 255, 255, 0);
|
||||
--default-color: #ffffff;
|
||||
--heading-color: #ffffff;
|
||||
color: var(--default-color);
|
||||
background-color: transparent;
|
||||
padding: 28px 0;
|
||||
transition: all 0.5s ease;
|
||||
z-index: 997;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
|
||||
.container-xl {
|
||||
flex-direction: column;
|
||||
gap: 18px;
|
||||
transition: all 0.5s ease;
|
||||
}
|
||||
|
||||
.logo {
|
||||
line-height: 1;
|
||||
transition: all 0.5s ease;
|
||||
|
||||
img {
|
||||
max-height: 110px;
|
||||
width: auto;
|
||||
transition: all 0.5s ease;
|
||||
}
|
||||
}
|
||||
|
||||
.scrolled & {
|
||||
background-color: rgba(0, 0, 0, 0.88);
|
||||
padding: 10px 0;
|
||||
box-shadow: 0px 0 18px rgba(0, 0, 0, 0.15);
|
||||
|
||||
.container-xl {
|
||||
flex-direction: row;
|
||||
gap: 0;
|
||||
}
|
||||
|
||||
.logo {
|
||||
opacity: 0.75;
|
||||
|
||||
img {
|
||||
max-height: 42px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Global Header on Scroll
|
||||
------------------------------*/
|
||||
.scrolled .header {
|
||||
--background-color: #1a1715;
|
||||
}
|
||||
Reference in New Issue
Block a user