Skip to content

Commit c9e7b3d

Browse files
authored
asas
1 parent 9a83064 commit c9e7b3d

File tree

2 files changed

+1
-146
lines changed

2 files changed

+1
-146
lines changed

_includes/header.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<header class="header container">
1+
<header class="header">
22
<div class="header__column">
33

44
<!-- =========== BRANDING BLOCK (Logo + Title) =========== -->

_layouts/home.html

Lines changed: 0 additions & 145 deletions
Original file line numberDiff line numberDiff line change
@@ -2,151 +2,6 @@
22
layout: default
33
---
44

5-
<style>
6-
/* Custom styles for this specific homepage layout */
7-
.section {
8-
padding-block: clamp(4rem, 8vw, 6rem);
9-
}
10-
.section-title {
11-
text-align: center;
12-
max-width: 55ch;
13-
margin-inline: auto;
14-
margin-block-end: 3rem;
15-
}
16-
17-
/* Hero Section Styles */
18-
.hero-grid {
19-
display: grid;
20-
align-items: center;
21-
gap: 3rem;
22-
grid-template-columns: 1fr; /* Mobile first */
23-
}
24-
@media (min-width: 64em) {
25-
.hero-grid {
26-
grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); /* Give text slightly more space */
27-
text-align: left;
28-
}
29-
.hero-grid .post-heading__actions {
30-
justify-content: flex-start;
31-
}
32-
}
33-
.hero-image-wrapper {
34-
35-
}
36-
@media (min-width: 64em) {
37-
.hero-image-wrapper {
38-
display: flex;
39-
justify-content: center;
40-
align-items: center;
41-
}
42-
.hero-image-wrapper img {
43-
max-width: 100%;
44-
height: auto;
45-
}
46-
}
47-
48-
/* Category Cards Section */
49-
.category-grid {
50-
display: grid;
51-
gap: 1.5rem;
52-
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
53-
}
54-
.category-card {
55-
background-color: var(--spruce-card-color-background);
56-
border: 1px solid var(--spruce-base-color-border);
57-
border-radius: var(--spruce-border-radius-lg);
58-
padding: 2rem;
59-
text-decoration: none;
60-
display: block;
61-
transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
62-
}
63-
.category-card:hover {
64-
transform: translateY(-5px);
65-
box-shadow: var(--spruce-box-shadow);
66-
}
67-
.category-card__name {
68-
font-family: var(--spruce-font-family-heading);
69-
font-weight: 700;
70-
color: var(--spruce-base-color-primary);
71-
font-size: 1.25rem;
72-
margin-bottom: 0.5rem;
73-
}
74-
.category-card__count {
75-
font-size: var(--spruce-font-size-sm);
76-
color: var(--spruce-base-color-text);
77-
}
78-
79-
/* Timeline Section */
80-
.timeline {
81-
position: relative;
82-
max-width: 750px;
83-
margin: 0 auto;
84-
padding: 2rem 0;
85-
}
86-
.timeline::after {
87-
content: '';
88-
position: absolute;
89-
width: 3px;
90-
background-color: var(--spruce-base-color-border);
91-
top: 0;
92-
bottom: 0;
93-
left: 50%;
94-
margin-left: -1.5px;
95-
}
96-
.timeline-container {
97-
padding: 10px 40px;
98-
position: relative;
99-
background-color: inherit;
100-
width: 50%;
101-
}
102-
.timeline-container.left {
103-
left: 0;
104-
}
105-
.timeline-container.right {
106-
left: 50%;
107-
}
108-
.timeline-container::after {
109-
content: '';
110-
position: absolute;
111-
width: 25px;
112-
height: 25px;
113-
right: -12.5px;
114-
background-color: var(--spruce-base-color-background);
115-
border: 4px solid var(--spruce-base-color-primary);
116-
top: 15px;
117-
border-radius: 50%;
118-
z-index: 1;
119-
}
120-
.timeline-container.right::after {
121-
left: -12.5px;
122-
}
123-
.timeline-content {
124-
padding: 20px 30px;
125-
background-color: var(--spruce-footer-color-background);
126-
position: relative;
127-
border-radius: var(--spruce-border-radius);
128-
border: 1px solid var(--spruce-base-color-border);
129-
}
130-
@media screen and (max-width: 600px) {
131-
.timeline::after {
132-
left: 31px;
133-
}
134-
.timeline-container {
135-
width: 100%;
136-
padding-left: 70px;
137-
padding-right: 25px;
138-
}
139-
.timeline-container.right {
140-
left: 0%;
141-
}
142-
.timeline-container.left::after,
143-
.timeline-container.right::after {
144-
left: 18px;
145-
}
146-
}
147-
148-
</style>
149-
1505
<main id="content">
1516
<!-- HERO SECTION -->
1527
<section class="hero-section">

0 commit comments

Comments
 (0)