CodeIgniter_Gforms/assets/css/hero-styles.css

122 lines
2.1 KiB
CSS

@import "https://unpkg.com/open-props";
@import "https://unpkg.com/open-props/normalize.min.css";
body {
display: flex;
flex-direction: column;
font-family: 'Open Sans', sans-serif; /* Ensure a clean, modern font is used */
}
.navbar-custom {
background-color: rgb(103, 58, 183);
padding: var(--size-3);
}
.navbar-custom .container {
display: flex;
justify-content: space-between;
align-items: center;
}
.navbar-header .navbar-brand {
color: white;
font-size: 1.5rem;
text-decoration: none;
}
.navbar-links {
display: flex;
justify-content: space-between;
width: 100%;
}
.nav-left, .nav-right {
list-style: none;
display: flex;
gap: var(--size-4);
}
.nav-left li a, .nav-right li a {
color: white;
text-decoration: none;
font-size: 1rem;
}
.nav-right li a {
margin-left: var(--size-4);
}
.nav-left li a:hover, .nav-right li a:hover {
text-decoration: underline;
}
header {
display: grid;
align-items: center;
grid-template-columns: 1fr 1fr;
background: var(--grape-0);
padding: var(--size-10);
}
.hero {
padding: var(--size-10);
display: grid;
gap: var(--size-5);
}
.hero-message {
display: grid;
grid-template-columns: max-content;
color: var(--gray-9);
line-height: var(--font-lineheight-0);
font-size: 3rem; /* Increase the font size */
}
.hero-message > div:last-child {
color: var(--indigo-7);
}
.under-hero {
color: var(--gray-7);
font-size: 1.5rem; /* Increase the font size */
margin-block-end: var(--size-3);
}
.button-list {
display: flex;
gap: var(--size-3);
}
button {
background: white;
color: var(--indigo-8);
font-size: 1.2rem; /* Increase the font size */
padding-inline: var(--size-8);
padding-block: var(--size-3);
border-radius: var(--radius-2);
box-shadow: var(--shadow-2);
cursor: pointer;
}
button.primary {
background: var(--indigo-8);
text-shadow: 0 1px 0 var(--indigo-9);
color: white;
}
button.primary:hover {
background: var(--indigo-7);
}
.promo-art {
align-self: stretch;
display: flex;
justify-content: center;
}
.promo-art > img {
block-size: 100%;
object-fit: cover;
max-width: 800px;
}