landing page
This commit is contained in:
parent
a581c58efd
commit
fadd20cb75
|
|
@ -18,11 +18,11 @@ :root {
|
|||
}
|
||||
|
||||
/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
|
||||
:root {
|
||||
:root {
|
||||
--background-color: #ffffff; /* Background color for the entire website, including individual sections */
|
||||
--default-color: #1a1f24; /* Default color used for the majority of the text content across the entire website */
|
||||
--heading-color: #485664; /* Color for headings, subheadings and title throughout the website */
|
||||
--accent-color: #0ea2bd; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
|
||||
--default-color: #2a2f33; /* Default color used for the majority of the text content across the entire website */
|
||||
--heading-color: #FF7A21; /* Color for headings, subheadings and title throughout the website */
|
||||
--accent-color: #00A86B; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
|
||||
--surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
|
||||
--contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
|
||||
}
|
||||
|
|
@ -30,11 +30,11 @@ :root {
|
|||
/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
|
||||
:root {
|
||||
--nav-color: #485664; /* The default color of the main navmenu links */
|
||||
--nav-hover-color: #0ea2bd; /* Applied to main navmenu links when they are hovered over or active */
|
||||
--nav-hover-color: #FF7A21; /* Applied to main navmenu links when they are hovered over or active */
|
||||
--nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
|
||||
--nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
|
||||
--nav-dropdown-color: #485664; /* Used for navigation links of the dropdown items in the navigation menu. */
|
||||
--nav-dropdown-hover-color: #0ea2bd; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
|
||||
--nav-dropdown-hover-color: #FF7A21; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
|
||||
}
|
||||
|
||||
/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */
|
||||
|
|
@ -846,21 +846,47 @@ .section-title p {
|
|||
/*--------------------------------------------------------------
|
||||
# Hero Section
|
||||
--------------------------------------------------------------*/
|
||||
|
||||
.hero {
|
||||
width: 100%;
|
||||
min-height: 50vh;
|
||||
min-height: 100vh;
|
||||
position: relative;
|
||||
padding: 120px 0 60px 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
background: url("../img/hero-bg.png") center center;
|
||||
|
||||
/* Background gambar */
|
||||
background-image: url('/assets/user/img/bg.jpg');
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
}
|
||||
|
||||
/* Overlay bayangan */
|
||||
.hero::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
|
||||
background: rgba(0, 0, 0, 0.45); /* bayangan gelap 45% */
|
||||
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
/* Agar isi di depan overlay */
|
||||
.hero .container {
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
|
||||
.hero h1 {
|
||||
margin: 0 0 10px 0;
|
||||
font-size: 48px;
|
||||
font-weight: 300;
|
||||
font-weight: 500;
|
||||
color: var(--surface-color);
|
||||
}
|
||||
|
||||
.hero h1 span {
|
||||
|
|
@ -868,7 +894,7 @@ .hero h1 span {
|
|||
}
|
||||
|
||||
.hero p {
|
||||
color: color-mix(in srgb, var(--default-color), transparent 30%);
|
||||
color: color-mix(in srgb, var(--surface-color), transparent 30%);
|
||||
margin: 5px 0 30px 0;
|
||||
font-size: 20px;
|
||||
font-weight: 400;
|
||||
|
|
@ -1009,10 +1035,25 @@ .featured-services .service-item:hover {
|
|||
box-shadow: 0px 5px 90px 0px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.featured-services .service-item:hover h4 a {
|
||||
.featured-services .service-item:hover h1 a {
|
||||
color: var(--accent-color);
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.featured-services .service-item {
|
||||
background: #fff;
|
||||
padding: 30px 20px;
|
||||
border-radius: 10px;
|
||||
text-align: center;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
box-shadow: 0 4px 15px rgba(0,0,0,0.08);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
# About Section
|
||||
--------------------------------------------------------------*/
|
||||
|
|
@ -1137,96 +1178,7 @@ @media (max-width: 640px) {
|
|||
/*--------------------------------------------------------------
|
||||
# Call To Action Section
|
||||
--------------------------------------------------------------*/
|
||||
.call-to-action {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.call-to-action .container {
|
||||
padding: 80px;
|
||||
background: color-mix(in srgb, var(--default-color), transparent 96%);
|
||||
border-radius: 15px;
|
||||
}
|
||||
|
||||
@media (max-width: 992px) {
|
||||
.call-to-action .container {
|
||||
padding: 60px;
|
||||
}
|
||||
}
|
||||
|
||||
.call-to-action .content h3 {
|
||||
font-size: 48px;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.call-to-action .content h3 em {
|
||||
font-style: normal;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.call-to-action .content h3 em:after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 10px;
|
||||
height: 10px;
|
||||
background: color-mix(in srgb, var(--accent-color), transparent 30%);
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
.call-to-action .content p {
|
||||
color: color-mix(in srgb, var(--default-color), transparent 20%);
|
||||
font-weight: 400;
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
.call-to-action .content .cta-btn {
|
||||
color: var(--contrast-color);
|
||||
font-weight: 500;
|
||||
font-size: 16px;
|
||||
display: inline-block;
|
||||
padding: 12px 40px;
|
||||
border-radius: 5px;
|
||||
transition: 0.5s;
|
||||
margin-top: 10px;
|
||||
background: var(--accent-color);
|
||||
}
|
||||
|
||||
.call-to-action .content .cta-btn:hover {
|
||||
background: color-mix(in srgb, var(--accent-color) 90%, black 15%);
|
||||
}
|
||||
|
||||
.call-to-action .img {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.call-to-action .img:before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background: color-mix(in srgb, var(--contrast-color), transparent 20%);
|
||||
border-radius: 15px;
|
||||
transform: rotate(6deg);
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.call-to-action .img:after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background: color-mix(in srgb, var(--default-color), transparent 95%);
|
||||
border-radius: 15px;
|
||||
transform: rotate(12deg);
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.call-to-action .img img {
|
||||
position: relative;
|
||||
z-index: 3;
|
||||
border-radius: 15px;
|
||||
z-index: 3;
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
# Onfocus Section
|
||||
|
|
@ -3008,4 +2960,4 @@ .tags-widget ul a span {
|
|||
padding-left: 5px;
|
||||
color: color-mix(in srgb, var(--default-color), transparent 60%);
|
||||
font-size: 14px;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Binary file not shown.
|
After Width: | Height: | Size: 297 KiB |
File diff suppressed because it is too large
Load Diff
|
|
@ -37,19 +37,19 @@
|
|||
<a href="index.html" class="logo d-flex align-items-center me-auto me-xl-0">
|
||||
<!-- Uncomment the line below if you also wish to use an image logo -->
|
||||
<!-- <img src="assets/img/logo.png" alt=""> -->
|
||||
<h1 class="sitename">HeroBiz</h1>
|
||||
<h1 class="sitename">SIG TPS</h1>
|
||||
<span>.</span>
|
||||
</a>
|
||||
|
||||
<nav id="navmenu" class="navmenu">
|
||||
<ul>
|
||||
<li><a href="#hero" class="active">Home<br></a></li>
|
||||
<li><a href="#about">About</a></li>
|
||||
<li><a href="#services">Services</a></li>
|
||||
<li><a href="#portfolio">Portfolio</a></li>
|
||||
<li><a href="#team">Team</a></li>
|
||||
<li><a href="blog.html">Blog</a></li>
|
||||
<li class="dropdown"><a href="#"><span>Dropdown</span> <i class="bi bi-chevron-down toggle-dropdown"></i></a>
|
||||
<li><a href="#hero" class="active">Beranda<br></a></li>
|
||||
<li><a href="#about">Tentang</a></li>
|
||||
<li><a href="#services">Sebaran TPS</a></li>
|
||||
<li><a href="#portfolio">Aduan TPS</a></li>
|
||||
<li><a href="#team">Kontak</a></li>
|
||||
<!-- <li><a href="blog.html">Blog</a></li> -->
|
||||
<!-- <li class="dropdown"><a href="#"><span>Dropdown</span> <i class="bi bi-chevron-down toggle-dropdown"></i></a>
|
||||
<ul>
|
||||
<li><a href="#">Dropdown 1</a></li>
|
||||
<li class="dropdown"><a href="#"><span>Deep Dropdown</span> <i class="bi bi-chevron-down toggle-dropdown"></i></a>
|
||||
|
|
@ -65,13 +65,13 @@
|
|||
<li><a href="#">Dropdown 3</a></li>
|
||||
<li><a href="#">Dropdown 4</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#contact">Contact</a></li>
|
||||
</li> -->
|
||||
<!-- <li><a href="#contact">Contact</a></li> -->
|
||||
</ul>
|
||||
<i class="mobile-nav-toggle d-xl-none bi bi-list"></i>
|
||||
</nav>
|
||||
|
||||
<a class="btn-getstarted" href="index.html#about">Get Started</a>
|
||||
<a class="btn-getstarted" href="index.html#about">Lihat Peta</a>
|
||||
|
||||
</div>
|
||||
</header>
|
||||
|
|
|
|||
Loading…
Reference in New Issue