-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmarkdown-pdf.css
More file actions
161 lines (138 loc) · 2.38 KB
/
Copy pathmarkdown-pdf.css
File metadata and controls
161 lines (138 loc) · 2.38 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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
/* === Reset & Base === */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Inter', 'Segoe UI', sans-serif;
font-size: 15px;
color: #222;
background-color: #f9f9f9;
line-height: 1.6;
padding: 40px;
max-width: 900px;
margin: auto;
}
/* === Headings === */
h1,
h2,
h3 {
font-weight: 600;
color: #2c3e50;
margin-bottom: 0.4em;
}
h1 {
font-size: 2rem;
border-bottom: 2px solid #ddd;
padding-bottom: 0.2em;
margin-bottom: 1.2em;
text-align: center;
}
h2 {
font-size: 1.4rem;
margin-top: 2.2em;
border-bottom: 1px solid #e0e0e0;
padding-bottom: 0.2em;
}
h3 {
font-size: 1.1rem;
color: #555;
}
/* === Paragraphs & Lists === */
p {
margin-bottom: 1em;
}
ul {
margin-left: 1.4em;
margin-bottom: 1.2em;
}
li {
margin-bottom: 0.6em;
}
/* === Contact Links === */
a {
color: #0073e6;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
/* === Job Titles & Dates === */
em {
color: #777;
font-style: normal;
display: block;
margin-top: -0.3em;
margin-bottom: 0.8em;
}
/* Center the subtitle paragraph after h1 */
h1 + p {
text-align: center;
}
/* === Horizontal Rules === */
hr {
border: none;
border-top: 1px solid #ddd;
margin: 2em 0;
}
/* === Code blocks & inline === */
code,
pre {
font-family: 'Courier New', monospace;
background: #f4f4f4;
padding: 2px 6px;
border-radius: 4px;
}
/* === Blockquote === */
blockquote {
border-left: 4px solid #ccc;
padding-left: 1em;
color: #666;
margin: 1em 0;
background-color: #f3f3f3;
}
/* === Table Style (if used) === */
table {
width: 100%;
border-collapse: collapse;
margin-bottom: 1em;
}
th,
td {
padding: 0.6em;
border-bottom: 1px solid #ddd;
text-align: left;
}
/* === Responsive & Print === */
@media print {
body {
background: white;
color: black;
padding: 0;
}
a {
color: black;
text-decoration: none;
}
}
/* === Extra: Signature Touches === */
header {
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
}
header h1 {
border: none;
font-size: 2.2rem;
margin: 0;
}
.contact-info {
margin-top: 1em;
font-size: 0.95rem;
}
.contact-info li {
list-style: none;
margin-bottom: 0.3em;
}