Skip to content

Commit 2fa4905

Browse files
committed
updated style sheet
1 parent 8ca74e2 commit 2fa4905

File tree

1 file changed

+24
-13
lines changed

1 file changed

+24
-13
lines changed

styles/main.css

Lines changed: 24 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,54 +1,65 @@
11
/* Base styles */
22
body {
33
font-family: 'Benne', serif;
4-
line-height: 1.6;
4+
line-height: 1.8; /* Increased for better readability */
55
max-width: 800px;
66
margin: 0 auto;
77
padding: 20px;
8-
color: #333;
9-
font-size: 18px; /* Slightly larger for better readability with Benne */
8+
color: #1a1a1a; /* Slightly softer than pure black */
9+
font-size: 20px; /* Increased base font size */
10+
background-color: #faf8f3; /* Warm off-white color */
1011
}
1112

1213
/* Typography */
1314
h1 {
1415
border-bottom: 2px solid #333;
1516
padding-bottom: 10px;
16-
font-weight: normal; /* Old-style fonts often look better without heavy weights */
17+
font-weight: normal;
18+
font-size: 2em; /* Relative to base font size */
1719
}
1820

1921
h2 {
2022
margin-top: 30px;
21-
color: #444;
23+
color: #1a1a1a;
2224
font-weight: normal;
25+
font-size: 1.5em;
2326
}
2427

2528
/* Layout */
2629
.section {
27-
margin: 20px 0;
30+
margin: 30px 0; /* Increased spacing between sections */
2831
}
2932

3033
/* Links */
3134
a {
32-
color: #0066cc;
33-
text-decoration: none;
34-
transition: color 0.2s ease;
35+
color: #1a1a1a; /* Same as text color */
36+
text-decoration: underline;
37+
text-underline-offset: 2px; /* Space between text and underline */
38+
transition: opacity 0.2s ease;
3539
}
3640

3741
a:hover {
38-
text-decoration: underline;
39-
color: #004999;
42+
opacity: 0.7; /* Subtle dimming effect on hover */
4043
}
4144

4245
.project-link,
4346
.writing-link {
4447
display: block;
45-
margin: 10px 0;
48+
margin: 15px 0;
4649
}
4750

4851
/* Responsive design */
4952
@media (max-width: 600px) {
5053
body {
5154
padding: 15px;
52-
font-size: 16px; /* Slightly smaller for mobile */
55+
font-size: 18px; /* Still larger than original but adjusted for mobile */
56+
}
57+
58+
h1 {
59+
font-size: 1.8em;
60+
}
61+
62+
h2 {
63+
font-size: 1.3em;
5364
}
5465
}

0 commit comments

Comments
 (0)