Skip to content

Commit 920fa1c

Browse files
committed
header changes
1 parent 2df35a6 commit 920fa1c

2 files changed

Lines changed: 24 additions & 4 deletions

File tree

index.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@
44
---
55

66
<header class="hero">
7-
<h1>Creative Developer <span class="accent-text">Design Focused.</span></h1>
8-
<p>Building clean, organic digital spaces using slate tones and vibrant energy.</p>
9-
<a href="#" class="btn-primary">Get in touch</a>
7+
<h1>Nathan Lodder <span class="accent-text">Portfolio</span></h1>
8+
<p>Robotics & Art.</p>
109
</header>
1110
<main class="landing-container">
1211
<nav class="centered-menu">

style.css

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,27 @@ html, body {
2121
flex-direction: column;
2222
}
2323

24+
.hero {
25+
text-align: center;
26+
padding: 60px 20px;
27+
}
28+
29+
.hero h1 {
30+
font-family: var(--font-main);
31+
font-size: 3rem;
32+
color: var(--accent-pink)
33+
}
34+
35+
.hero .accent-text {
36+
color: var(--slate-dark);
37+
}
38+
39+
.hero p {
40+
font-size: 1.2rem;
41+
letter-spacing: 0.1em;
42+
font-style: italic;
43+
}
44+
2445
.landing-container {
2546
display: flex;
2647
justify-content: center; /* Horizontal center */
@@ -68,7 +89,7 @@ footer {
6889
text-transform: uppercase; /* Looks like a luxury brand in small caps */
6990
font-weight: 500;
7091
color: var(--slate-dark);
71-
opacity: 0.7;
92+
opacity: 0.9;
7293
}
7394

7495
/* Desktop adjustment */

0 commit comments

Comments
 (0)