File tree Expand file tree Collapse file tree 1 file changed +24
-13
lines changed Expand file tree Collapse file tree 1 file changed +24
-13
lines changed Original file line number Diff line number Diff line change 1
1
/* Base styles */
2
2
body {
3
3
font-family : 'Benne' , serif;
4
- line-height : 1.6 ;
4
+ line-height : 1.8 ; /* Increased for better readability */
5
5
max-width : 800px ;
6
6
margin : 0 auto;
7
7
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 */
10
11
}
11
12
12
13
/* Typography */
13
14
h1 {
14
15
border-bottom : 2px solid # 333 ;
15
16
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 */
17
19
}
18
20
19
21
h2 {
20
22
margin-top : 30px ;
21
- color : # 444 ;
23
+ color : # 1a1a1a ;
22
24
font-weight : normal;
25
+ font-size : 1.5em ;
23
26
}
24
27
25
28
/* Layout */
26
29
.section {
27
- margin : 20 px 0 ;
30
+ margin : 30 px 0 ; /* Increased spacing between sections */
28
31
}
29
32
30
33
/* Links */
31
34
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;
35
39
}
36
40
37
41
a : hover {
38
- text-decoration : underline;
39
- color : # 004999 ;
42
+ opacity : 0.7 ; /* Subtle dimming effect on hover */
40
43
}
41
44
42
45
.project-link ,
43
46
.writing-link {
44
47
display : block;
45
- margin : 10 px 0 ;
48
+ margin : 15 px 0 ;
46
49
}
47
50
48
51
/* Responsive design */
49
52
@media (max-width : 600px ) {
50
53
body {
51
54
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 ;
53
64
}
54
65
}
You can’t perform that action at this time.
0 commit comments