mirror of
https://github.com/DavidHDev/vue-bits.git
synced 2026-03-07 14:39:30 -07:00
Landing Page
This commit is contained in:
310
src/components/landing/DisplayHeader/DisplayHeader.css
Normal file
310
src/components/landing/DisplayHeader/DisplayHeader.css
Normal file
@@ -0,0 +1,310 @@
|
||||
.header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
z-index: 100;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
justify-content: space-between;
|
||||
width: 100vw;
|
||||
padding: 0 4em;
|
||||
height: 160px;
|
||||
margin: 0 auto;
|
||||
background: linear-gradient(to bottom, #0e0e0e, transparent);
|
||||
}
|
||||
|
||||
.header-container {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
width: 100%;
|
||||
max-width: 1200px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.nav-cta-group {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 1.5rem;
|
||||
}
|
||||
|
||||
.logo {
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.logo::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
width: 200px;
|
||||
height: 140px;
|
||||
background: transparent;
|
||||
backdrop-filter: blur(8px);
|
||||
-webkit-backdrop-filter: blur(8px);
|
||||
mask: radial-gradient(ellipse at center, black 0%, black 20%, transparent 80%);
|
||||
-webkit-mask: radial-gradient(ellipse at center, black 0%, black 20%, transparent 80%);
|
||||
z-index: -1;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.logo svg {
|
||||
height: 26px;
|
||||
width: auto;
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.landing-nav-items {
|
||||
display: none;
|
||||
color: #fff;
|
||||
height: 60px;
|
||||
padding: 0 2.4rem 0 calc(2.4rem + 6px);
|
||||
border-radius: 50px;
|
||||
border: 1px solid rgba(255, 255, 255, 0.07);
|
||||
background: rgba(255, 255, 255, 0.01);
|
||||
box-shadow: 0 8px 32px 0 rgba(31, 135, 62, 0.15);
|
||||
backdrop-filter: blur(15px);
|
||||
-webkit-backdrop-filter: blur(15px);
|
||||
}
|
||||
|
||||
.nav-link {
|
||||
position: relative;
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
font-weight: 400;
|
||||
opacity: 0.6;
|
||||
transition: opacity 0.3s ease, transform 0.2s ease;
|
||||
}
|
||||
|
||||
.nav-link:hover {
|
||||
opacity: 1;
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
|
||||
.active-link {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.active-link::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
width: 6px;
|
||||
height: 6px;
|
||||
background-color: #fff;
|
||||
border-radius: 50%;
|
||||
left: -12px;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.cta-button {
|
||||
font-weight: 500;
|
||||
padding: 0 0 0 1.4rem;
|
||||
height: calc(60px - 2px);
|
||||
background: linear-gradient(135deg,
|
||||
rgb(30, 160, 63),
|
||||
rgba(24, 47, 255, 0.6));
|
||||
background-size: 200% 200%;
|
||||
backdrop-filter: blur(25px);
|
||||
-webkit-backdrop-filter: blur(25px);
|
||||
color: #fff;
|
||||
border: none;
|
||||
border-radius: 50px;
|
||||
cursor: pointer;
|
||||
|
||||
display: flex;
|
||||
align-items: center;
|
||||
white-space: nowrap;
|
||||
justify-content: space-between;
|
||||
transition: .3s ease;
|
||||
}
|
||||
|
||||
.cta-button span {
|
||||
background-color: #0e0e0e;
|
||||
margin-left: 1em;
|
||||
margin-right: calc(1em - 8px);
|
||||
padding-top: .1em;
|
||||
height: 45px;
|
||||
border-radius: 50px;
|
||||
width: 100px;
|
||||
font-weight: 600;
|
||||
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.cta-button span img {
|
||||
margin-right: 6px;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
transition: .3s ease;
|
||||
}
|
||||
|
||||
.cta-button:hover {
|
||||
transition: .3s ease;
|
||||
}
|
||||
|
||||
.cta-button:hover span img {
|
||||
transform: scale(1.2);
|
||||
transition: .3s ease;
|
||||
}
|
||||
|
||||
@media (max-width: 900px) {
|
||||
.header {
|
||||
padding: 0 2em;
|
||||
height: 120px;
|
||||
}
|
||||
|
||||
.logo svg {
|
||||
height: 30px;
|
||||
}
|
||||
|
||||
.logo::before {
|
||||
width: 180px;
|
||||
height: 120px;
|
||||
}
|
||||
|
||||
.cta-button {
|
||||
padding: 0 0 0 1rem;
|
||||
height: 50px;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
.cta-button span {
|
||||
height: 38px;
|
||||
width: 80px;
|
||||
margin-left: 0.8em;
|
||||
margin-right: calc(0.8em - 6px);
|
||||
}
|
||||
|
||||
.cta-button span img {
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
margin-right: 4px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.header {
|
||||
padding: 0 1.5em;
|
||||
height: 100px;
|
||||
}
|
||||
|
||||
.logo svg {
|
||||
height: 28px;
|
||||
}
|
||||
|
||||
.logo::before {
|
||||
width: 160px;
|
||||
height: 110px;
|
||||
}
|
||||
|
||||
.cta-button {
|
||||
padding: 0 0 0 0.8rem;
|
||||
height: 45px;
|
||||
font-size: 0.85rem;
|
||||
}
|
||||
|
||||
.cta-button span {
|
||||
height: 35px;
|
||||
width: 60px !important;
|
||||
margin-left: 0.6em;
|
||||
margin-right: calc(0.6em - 4px);
|
||||
}
|
||||
|
||||
.cta-button span img {
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
margin-right: 3px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
.header {
|
||||
padding: 0 1rem;
|
||||
height: 90px;
|
||||
}
|
||||
|
||||
.logo svg {
|
||||
height: 26px;
|
||||
}
|
||||
|
||||
.logo::before {
|
||||
width: 140px;
|
||||
height: 95px;
|
||||
}
|
||||
|
||||
.cta-button {
|
||||
padding: 0 0 0 0.6rem;
|
||||
height: 40px;
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
|
||||
.cta-button span {
|
||||
height: 32px;
|
||||
width: 60px;
|
||||
margin-left: 0.5em;
|
||||
margin-right: calc(0.5em - 3px);
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.cta-button span img {
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
margin-right: 2px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 375px) {
|
||||
.header {
|
||||
padding: 0 0.8rem;
|
||||
height: 80px;
|
||||
}
|
||||
|
||||
.logo svg {
|
||||
height: 22px;
|
||||
}
|
||||
|
||||
.logo::before {
|
||||
width: 120px;
|
||||
height: 80px;
|
||||
}
|
||||
|
||||
.cta-button {
|
||||
padding: 0 0 0 0.5rem;
|
||||
height: 36px;
|
||||
font-size: 0.75rem;
|
||||
}
|
||||
|
||||
.cta-button span {
|
||||
height: 28px;
|
||||
width: 50px;
|
||||
margin-left: 0.4em;
|
||||
margin-right: calc(0.4em - 2px);
|
||||
}
|
||||
|
||||
.cta-button span img {
|
||||
width: 9px;
|
||||
height: 9px;
|
||||
margin-right: 1px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 900px) {
|
||||
.landing-nav-items {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 2rem;
|
||||
}
|
||||
|
||||
.nav-cta-group {
|
||||
gap: 2rem;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user