Skip to content

Commit 8ca74e2

Browse files
committed
added standalone style sheet and new font
1 parent e97b708 commit 8ca74e2

File tree

2 files changed

+54
-0
lines changed

2 files changed

+54
-0
lines changed

index.html

-1.71 KB
Binary file not shown.

styles/main.css

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
/* Base styles */
2+
body {
3+
font-family: 'Benne', serif;
4+
line-height: 1.6;
5+
max-width: 800px;
6+
margin: 0 auto;
7+
padding: 20px;
8+
color: #333;
9+
font-size: 18px; /* Slightly larger for better readability with Benne */
10+
}
11+
12+
/* Typography */
13+
h1 {
14+
border-bottom: 2px solid #333;
15+
padding-bottom: 10px;
16+
font-weight: normal; /* Old-style fonts often look better without heavy weights */
17+
}
18+
19+
h2 {
20+
margin-top: 30px;
21+
color: #444;
22+
font-weight: normal;
23+
}
24+
25+
/* Layout */
26+
.section {
27+
margin: 20px 0;
28+
}
29+
30+
/* Links */
31+
a {
32+
color: #0066cc;
33+
text-decoration: none;
34+
transition: color 0.2s ease;
35+
}
36+
37+
a:hover {
38+
text-decoration: underline;
39+
color: #004999;
40+
}
41+
42+
.project-link,
43+
.writing-link {
44+
display: block;
45+
margin: 10px 0;
46+
}
47+
48+
/* Responsive design */
49+
@media (max-width: 600px) {
50+
body {
51+
padding: 15px;
52+
font-size: 16px; /* Slightly smaller for mobile */
53+
}
54+
}

0 commit comments

Comments
 (0)