faultables.net/assets/css/flo.css

422 lines
7.1 KiB
CSS
Raw Permalink Normal View History

2024-06-14 02:57:21 +07:00
@font-face {
font-display: swap;
font-family: 'Plus Jakarta Sans';
font-style: normal;
font-weight: 400;
src: url('../fonts/plus-jakarta-sans-v8-latin-regular.woff2') format('woff2');
}
@font-face {
font-display: swap;
font-family: 'Plus Jakarta Sans';
font-style: normal;
font-weight: 700;
src: url('../fonts/plus-jakarta-sans-v8-latin-700.woff2') format('woff2');
}
@font-face {
font-display: swap;
font-family: 'Plus Jakarta Sans';
font-style: normal;
font-weight: 800;
src: url('../fonts/plus-jakarta-sans-v8-latin-800.woff2') format('woff2');
}
:root {
--body-bg-color: #fff;
--base-font-size: 18px;
--font-family-sans-serif: "Plus Jakarta Sans", sans-serif;
--font-heading: var(--font-family-sans-serif);
--font-body: var(--font-family-sans-serif);
--primary-color: #2B205E;
--secondary-color: #5D21D0;
--text-color: var(--primary-color);
--anchor-color: var(--primary-color);
}
::selection {
background-color: var(--primary-color);
color: #ffffff;
}
.c-navbar {
z-index: 1;
position: relative;
width: 100%;
}
2024-06-15 15:54:42 +07:00
.c-navbar__left {
padding-bottom: 1rem;
}
2024-06-14 02:57:21 +07:00
.c-navbar__wrapper {
display: flex;
align-items: center;
justify-content: space-between;
flex-direction: column;
2024-06-15 15:54:42 +07:00
padding-bottom: 2rem;
2024-06-14 02:57:21 +07:00
}
.c-navbar h2 {
padding: 0;
font-family: inherit;
font-style: normal;
font-weight: bold;
font-size: 28px;
}
.c-navbar ul {
display: flex;
}
.c-navbar li {
color: var(--primary-color);
font-weight: bold;
padding: 0 0.5rem;
}
.c-hero {
background-color: var(--primary-color);
min-height: 300px;
color: #ffffff;
display: flex;
padding: 2rem;
align-items: center;
position: relative;
2024-06-15 13:07:25 +07:00
text-align: center;
2024-06-14 02:57:21 +07:00
}
.c-hero h1 {
font-size: 3rem;
font-weight: bold;
margin-bottom: 1rem;
}
.c-hero h3 {
color: #ddd;
line-height: 1.8rem;
}
.c-hero__right {
max-height: 440px;
overflow: hidden;
2024-06-15 13:07:25 +07:00
position: relative;
2024-06-14 02:57:21 +07:00
bottom: 0;
2024-06-15 13:07:25 +07:00
right: 0;
text-align: center;
margin-bottom: -30px;
2024-06-14 02:57:21 +07:00
}
.c-button {
border: 1px solid transparent;
border-radius: 5px;
font-family: inherit;
background-color: #fff;
color: var(--primary-color);
font-weight: bold;
font-size: inherit;
padding: 1rem 2rem;
display: block;
2024-06-15 13:07:25 +07:00
width: 100%;
2024-06-14 02:57:21 +07:00
}
.c-button--cta {
margin-top: 2rem;
2024-06-15 13:07:25 +07:00
margin-bottom: 3rem;
2024-06-14 02:57:21 +07:00
}
.c-hero img {
border-radius: 30px;
width: 230px;
max-width: 100%;
border: 5px solid #111;
}
.c-button--cta-navbar {
2024-06-15 15:54:42 +07:00
display: none;
2024-06-14 02:57:21 +07:00
color: #ffffff;
background-color: var(--primary-color);
padding: 10px 20px;
margin: 2rem 0;
}
.c-section {
margin-top: 4rem;
text-align: center;
}
.c-section--flex {
display: grid;
grid-template-columns: auto;
}
.c-section h3 {
font-size: 3rem;
font-family: inherit;
font-weight: bold;
}
.c-section h4 {
font-size: 1.8rem;
font-family: inherit;
font-weight: bold;
}
.c-card {
text-align: left;
padding: 2rem;
border: 1px solid #eee;
background-color: #eee;
}
.c-card h4 {
margin-bottom: 13.37px;
line-height: 2.3rem;
color: var(--primary-color);
}
.c-card p {
font-size: 1rem;
2024-06-15 13:07:25 +07:00
line-height: 1.8rem;
2024-06-14 02:57:21 +07:00
}
.c-hero--second {
display: block;
text-align: left;
margin-top: 6rem;
}
.c-hero--second ul {
margin-top: 3rem;
margin-bottom: 3rem;
max-width: 600px;
}
.c-hero--second li {
margin-bottom: 15px;
list-style: square;
line-height: 1.8rem;
}
.c-faq {
max-width: 666px;
padding: 2rem;
padding-top: 6rem;
}
.c-faq__section {
margin-bottom: 3rem;
}
.c-faq h4 {
color: var(--primary-color);
font-size: 3rem;
font-family: inherit;
font-weight: bold;
margin-bottom: 2rem;
}
.c-faq h5 {
color: var(--primary-color);
font-size: 1.8rem;
font-family: inherit;
font-weight: bold;
margin-bottom: 0.5rem;
2024-06-15 13:07:25 +07:00
line-height: 2.5rem;
2024-06-14 02:57:21 +07:00
}
.c-faq p {
color: #666;
}
.c-section__title {
color: var(--primary-color);
margin-bottom: 10px;
2024-06-15 13:07:25 +07:00
line-height: 3.5rem;
2024-06-14 02:57:21 +07:00
}
.c-navbar a {
text-decoration: none;
}
.c-faq a:hover,
.c-navbar a:hover {
opacity: 0.6;
}
#features {
padding-top: 2rem;
}
.js-modal {
display: none;
width: 100%;
height: 100%;
position: fixed;
top: 0;
left: 0;
background-color: rgba(0, 0, 0, 0.8);
z-index: 2;
}
.js-modal__content {
2024-06-14 13:36:28 +07:00
height: 100%;
width: 100%;
2024-06-14 02:57:21 +07:00
position: absolute;
background-color: #ffffff;
padding: 2rem;
z-index: 3;
text-align: center;
overflow: hidden;
2024-06-14 13:36:28 +07:00
box-sizing: border-box;
2024-06-14 02:57:21 +07:00
}
.js-modal h2 {
font-family: inherit;
font-style: normal;
font-weight: bold;
margin-bottom: 1.8rem;
}
.js-modal input {
width: 100%;
padding: 0.8rem 1rem;
box-sizing: border-box;
font-family: inherit;
border: 2px solid var(--primary-color);
color: var(--primary-color);
border-radius: 3px;
margin-top: 2rem;
}
.js-modal button {
width: 100%;
padding: 0.8rem 1rem;
box-sizing: border-box;
font-family: inherit;
border: 2px solid var(--primary-color);
color: var(--primary-color);
border-radius: 3px;
margin-top: 2rem;
background-color: var(--primary-color);
color: #ffffff;
font-weight: bold;
font-size: 16px;
}
.js-modal__close {
float: right;
font-size: 28px;
font-weight: bold;
margin-top: -20px;
margin-right: -10px;
color: var(--primary-color);
}
.c-button--cta,
.c-button--cta-navbar,
.js-modal__close,
.js-modal button {
cursor: pointer;
}
@media screen and (min-width: 30em) {
.c-navbar {
top: 0;
left: 0;
width: 100%;
display: initial;
padding: 0px 10px;
border-radius: 0px;
}
2024-06-15 13:07:25 +07:00
.c-hero {
padding: 4rem;
text-align: left;
}
.c-hero__right {
position: absolute;
right: 50px;
margin-bottom: 0;
}
.c-button {
width: initial;
}
.c-button--cta {
margin-bottom: 0;
}
2024-06-14 02:57:21 +07:00
.c-navbar__wrapper {
margin-top: -8rem;
}
.c-navbar li {
padding: 0 1rem;
}
}
@media screen and (min-width: 60em) {
.c-navbar {
top: 0;
left: 50%;
width: 100%;
max-width: 1440px;
position: fixed;
margin-left: -720px;
margin-top: 10px;
padding: 0px 20px;
border-radius: 100px;
background-color: #eee;
}
2024-06-15 15:54:42 +07:00
.c-navbar__left {
padding-bottom: 0;
}
2024-06-14 02:57:21 +07:00
.c-navbar__wrapper {
margin-top: 0;
flex-direction: row;
2024-06-15 15:54:42 +07:00
padding-bottom: 0;
2024-06-14 02:57:21 +07:00
}
.c-button--cta-navbar {
margin: 0;
2024-06-15 15:54:42 +07:00
display: block;
2024-06-14 02:57:21 +07:00
}
.c-navbar li {
padding: 0 2rem;
}
.c-hero {
border-radius: 10px;
padding: 4rem;
}
2024-06-15 13:07:25 +07:00
.c-card {
border-radius: 10px;
2024-06-14 02:57:21 +07:00
}
.c-section--flex {
grid-template-columns: auto auto auto;
grid-gap: 20px;
}
2024-06-14 13:36:28 +07:00
.js-modal__content {
max-width: 500px;
max-height: 400px;
left: 50%;
top: 50%;
margin-left: -250px;
margin-top: -200px;
border-radius: 10px;
}
2024-06-14 02:57:21 +07:00
}