-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
122 lines (107 loc) · 2.9 KB
/
Copy pathstyles.css
File metadata and controls
122 lines (107 loc) · 2.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
@import url('https://fonts.googleapis.com/css2?family=Newsreader:opsz,wght@6..72,400;6..72,700&display=swap');
/* Base styling for the website */
body {
font-family: "Newsreader", Georgia, "Times New Roman", serif; /* Variable serif with classic tone */
background-color: #ffffff; /* White background */
color: #000000; /* Black text for strong contrast */
margin: 1.5rem; /* Consistent spacing unit */
padding: 0 1.5rem;
max-width: 65ch; /* Restricts the maximum width of the content */
font-size: 16px; /* Explicit base font size */
}
a {
color: #0000EE;
text-decoration: underline;
text-decoration-color: #0000EE;
text-decoration-thickness: .5px;
transition: text-decoration-color 0.2s ease;
}
a:hover {
text-decoration: underline;
text-decoration-color: #0000EE;
text-decoration-thickness: 2px;
}
/* Header styling */
header {
margin-bottom: 1.5rem; /* Consistent spacing unit */
max-width: 65ch; /* Restricts the maximum width of the header */
}
/* Typographic Scale - Each level is ~1.25x the previous */
h1 {
font-size: 2.44rem; /* 39px */
color: #00006B;
margin-top: 2rem;
margin-bottom: 0.75rem;
line-height: 1.1;
}
h2 {
font-size: 1.95rem; /* 31px */
color: #00006B;
margin-top: 1.75rem;
margin-bottom: 0.75rem;
line-height: 1.15;
}
h3 {
font-size: 1.56rem; /* 25px */
color: #00006B;
margin-top: 1.5rem;
margin-bottom: 0.5rem;
line-height: 1.2;
}
h4 {
font-size: 1.25rem; /* 20px */
color: #00006B;
margin-top: 1.25rem;
margin-bottom: 0.5rem;
line-height: 1.25;
}
h5 {
font-size: 1rem; /* 16px - same as body text but bold */
color: #00006B;
margin-top: 1rem;
margin-bottom: 0.5rem;
line-height: 1.3;
font-weight: bold;
}
h6 {
font-size: 0.875rem; /* 14px */
color: #00006B;
margin-top: 1rem;
margin-bottom: 0.25rem;
line-height: 1.35;
font-weight: bold;
text-transform: uppercase;
letter-spacing: 0.05em;
}
/* Section styling */
section {
margin-bottom: 1.5rem; /* Consistent spacing unit */
max-width: 65ch; /* Restricts the maximum width of sections */
}
main {
margin-left: auto;
margin-right: auto;
padding: 0 1rem;
max-width: 65ch; /* Centers the main content area */
}
/* Paragraph styling */
p {
line-height: 1.4; /* Optimal readability - not too tight, not too loose */
margin-bottom: 1rem; /* Consistent paragraph spacing */
}
/* List styling - simplified and more readable */
ul,
ol {
margin-left: 0;
margin-bottom: 1rem; /* consistent with paragraph spacing */
padding-left: 1.5rem; /* space for bullet or number */
max-width: 65ch;
line-height: 1.4; /* match paragraph line height */
}
ul li,
ol li {
margin-bottom: 0.25rem; /* subtle spacing between items */
}
li + li {
margin-top: 0; /* remove extra spacing - handled by margin-bottom */
}