Skip to content

Commit 6e8d4e0

Browse files
committed
Enhance header navigation layout and improve homepage content clarity
1 parent 1a9bd9e commit 6e8d4e0

2 files changed

Lines changed: 38 additions & 16 deletions

File tree

assets/style.css

Lines changed: 34 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* assets/style.css */
2-
:root { --ink:#222; --bg:#f9f9f9; --link:#0b72d2; }
2+
:root { --ink:#222; --bg:#f9f9f9; --link:#0b72d2; --col:760px}
33

44
*{ box-sizing: border-box;
55
overflow-wrap: break-word; }
@@ -8,26 +8,47 @@ body {
88
font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
99
margin: 0.5rem; color: var(--ink); background: var(--bg);
1010
}
11-
header{
12-
border-bottom: #000001 dashed 1px;
13-
height: 2rem;
14-
display: flex;
15-
justify-content: center;
16-
text-align: center;
17-
padding: 0;
11+
header nav{
12+
/* border-bottom: #000001 dashed 1px; */
13+
display: grid;
14+
grid-template-columns: repeat(2, 1fr); /* Default: 2 columns */
15+
gap: 16px;
16+
width: 100%;
17+
max-width: var(--col);
18+
margin: 0 auto;;
1819
}
1920

2021
header nav a { padding: 0 1rem;
2122
color: var(--link);
22-
2323
text-decoration: none;
24-
text-align: center;
25-
border-left: #000001 dashed 1px;}
24+
text-align: center;
25+
border-left: #000001 dashed 1px;
26+
white-space: nowrap;
27+
min-height: 2rem;
28+
29+
display: flex;
30+
align-items: center;
31+
justify-content: center;
32+
white-space: nowrap;
33+
height: 2rm; /* Example height */
34+
box-sizing: border-box;
35+
}
36+
37+
header nav a:nth-child(2n){border-right: #000001 dashed 1px;}
38+
39+
/* When the container is wide enough, switch to 4 columns */
40+
@media (min-width: 768px) {
41+
header nav{
42+
grid-template-columns: repeat(4, 1fr);
43+
}
44+
header nav a:nth-child(2n){border-right: none;}
45+
header nav a:last-child{border-right: #000001 dashed 1px;}
46+
}
47+
2648

27-
header nav a:last-child{border-right: #000001 dashed 1px;}
2849

2950
main {
30-
max-width: 760px; margin: 1rem auto; background: #fff; padding: 1rem;
51+
max-width: var(--col); margin: 1rem auto; background: #fff; padding: 1rem;
3152
border-radius: 10px;
3253
/* box-shadow: 0 2px 12px #0001; */
3354
}

index.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@
22
title: "Home"
33
layout: base.njk
44
---
5-
# Welcome to my website.
5+
# Where Curiosity Meets User Experience
6+
## Welcome to my website.
67

7-
I am **Manuel Colombo**, Design Lead and UX Researcher with over 15 years of experience in complex digital projects. I help teams and organizations put users at the center of innovation, combining in-depth research with strategic vision.
8+
I am **Manuel Colombo**, Design Lead and UX Researcher with over 15 years of experience in complex digital projects. I help teams and organizations put users at the center of innovation, but I never settle for the obvious or the routine. I believe in questioning assumptions and exploring ideas from at least three perspectives: my own, the opposite, and a fresh, outsider’s view. This approach sparks new insights and helps uncover possibilities that conventional thinking often overlooks.
89

9-
Here you can find my [CV](/cv/), [Explore my approach to design and research](/approach/), and [Blog](/blog/)
10+
Here you can find my [something about me](/cv/), [Explore my approach to design and research](/approach/), and [read some of my ideas](/blog/)
1011

1112
</span>

0 commit comments

Comments
 (0)