Fix: Set explicit small heading sizes (H1: 30px, H2: 24px, H3: 20px)
This commit is contained in:
@@ -39,27 +39,47 @@
|
|||||||
color: var(--color-text);
|
color: var(--color-text);
|
||||||
line-height: 1.7;
|
line-height: 1.7;
|
||||||
background: var(--color-white);
|
background: var(--color-white);
|
||||||
font-size: 1.125rem; /* 18px base - increased for body text */
|
font-size: 1.125rem; /* 18px base - only body text increased */
|
||||||
}
|
}
|
||||||
|
|
||||||
h1, h2, h3, h4, h5, h6 {
|
/* Headings - explicit small sizes (original before font change) */
|
||||||
font-family: var(--font-display);
|
h1 {
|
||||||
|
font-size: 1.875rem; /* 30px - smaller */
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
line-height: 1.3;
|
line-height: 1.2;
|
||||||
margin-bottom: 0.75em;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Heading sizes - kept reasonable */
|
h2 {
|
||||||
|
font-size: 1.5rem; /* 24px - smaller */
|
||||||
|
font-weight: 700;
|
||||||
|
line-height: 1.2;
|
||||||
|
}
|
||||||
|
|
||||||
|
h3 {
|
||||||
|
font-size: 1.25rem; /* 20px - smaller */
|
||||||
|
font-weight: 700;
|
||||||
|
line-height: 1.2;
|
||||||
|
}
|
||||||
|
|
||||||
|
h4 {
|
||||||
|
font-size: 1.125rem; /* 18px - smaller */
|
||||||
|
font-weight: 700;
|
||||||
|
line-height: 1.2;
|
||||||
|
}
|
||||||
|
|
||||||
|
h5, h6 {
|
||||||
|
font-size: 1rem; /* 16px */
|
||||||
|
font-weight: 700;
|
||||||
|
line-height: 1.2;
|
||||||
|
}
|
||||||
|
|
||||||
p {
|
p {
|
||||||
margin-bottom: 1.25em;
|
margin-bottom: 1.25em;
|
||||||
font-size: 1.0625rem; /* 17px for paragraphs */
|
font-size: 1.0625rem; /* 17px for paragraphs */
|
||||||
}
|
}
|
||||||
|
|
||||||
h1, h2, h3, h4, h5, h6 {
|
small, .text-sm {
|
||||||
font-family: var(--font-display);
|
font-size: 0.875rem; /* 14px small text */
|
||||||
font-weight: 700;
|
|
||||||
line-height: 1.2;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Smooth animations */
|
/* Smooth animations */
|
||||||
@@ -189,6 +209,23 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Process Step Connector Lines - Fixed positioning */
|
||||||
|
.process-step-connector {
|
||||||
|
position: absolute;
|
||||||
|
top: 3rem;
|
||||||
|
left: 100%;
|
||||||
|
width: calc(100% - 5rem);
|
||||||
|
height: 2px;
|
||||||
|
background: linear-gradient(to right, var(--color-primary), transparent);
|
||||||
|
transform: translateY(-50%);
|
||||||
|
z-index: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.process-step-number {
|
||||||
|
position: relative;
|
||||||
|
z-index: 1;
|
||||||
|
}
|
||||||
|
|
||||||
/* Parallax Effect Class */
|
/* Parallax Effect Class */
|
||||||
.parallax {
|
.parallax {
|
||||||
background-attachment: fixed;
|
background-attachment: fixed;
|
||||||
|
|||||||
Reference in New Issue
Block a user