-
Notifications
You must be signed in to change notification settings - Fork 0
/
sample.css
101 lines (83 loc) · 1.48 KB
/
sample.css
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
/* Example CSS for Markdown to PDF conversion */
/* Reset some default browser styles */
body, h1, h2, h3, h4, h5, h6, blockquote, p, pre, hr {
margin: 0;
padding: 0;
}
body {
font-size: 16px;
line-height: 1.6;
color: #333;
background-color: #fff;
margin: 20px;
font-family: Arial, sans-serif;
}
/* Text alignment utilities */
.align-edges {
display: flex;
justify-content: space-between;
}
.left {
text-align: left;
}
.right {
text-align: right;
}
/* Headers */
h1, h2, h3, h4, h5, h6 {
font-weight: bold;
margin: 20px 0 10px 0;
padding: 0;
color: #333;
}
/* Header 1 (#) */
h1 {
font-size: 32px;
}
/* Header 2 (##) */
h2 {
font-size: 24px;
}
/* Header 3 (###) */
h3 {
font-size: 18px;
}
/* Links */
a {
color: #0077cc;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
/* Lists */
ul, ol {
margin-bottom: 20px;
margin-left: 20px;
padding-left: 30px;
}
/* Blockquotes */
blockquote {
margin: 20px 0;
padding: 0 15px;
color: #777;
border-left: 4px solid #ddd;
}
/* Code blocks */
pre {
background-color: #f5f5f5;
padding: 15px;
margin: 20px 0;
overflow: auto;
white-space: pre; /* This ensures whitespace is preserved */
}
code {
font-family: "Courier New", Courier, monospace;
white-space: pre; /* This ensures whitespace is preserved */
}
/* Horizontal rules */
hr {
margin: 30px 0;
border: none;
border-top: 1px solid #ddd;
}