-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathMarkdown.module.css
More file actions
75 lines (62 loc) · 1.35 KB
/
Markdown.module.css
File metadata and controls
75 lines (62 loc) · 1.35 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
.content {
font-size: 16px;
margin-bottom: 60px;
}
.content > p {
color: var(--font-color);
line-height: 1.8;
}
.content a {
color: var(--font-color);
font-weight: 600;
text-decoration: underline var(--border-color);
text-underline-offset: 4px;
}
.content a:hover {
color: var(--font-color);
text-decoration: underline var(--primary-color);
}
.content img {
display: block;
max-width: 100%;
margin: 4rem auto;
box-shadow: 2px 2px 16px rgba(0, 0, 0, .1);
}
.content h1 {
font-size: var(--font-size-8);
letter-spacing: var(--letter-spacing-1);
margin: 0 0 var(--spacing-4) 0;
}
.content h2 {
font-size: var(--font-size-6);
letter-spacing: var(--letter-spacing-1);
margin: var(--spacing-8) 0 var(--spacing-4) 0;
}
.content h3 {
font-size: var(--font-size-5);
letter-spacing: var(--letter-spacing-1);
margin: var(--spacing-7) 0 var(--spacing-4) 0;
}
.content *[id] {
scroll-margin-top: 70px; /* same as the navbar height */
}
.content ul {
list-style: disc;
}
.content ol {
list-style: decimal;
}
.content pre {
margin: var(--spacing-5) 0;
}
.content code {
font-size: 14px;
}
.content code:not([class]) {
font-family: var(--font-family-code);
color: var(--font-color);
padding: var(--spacing-1);
border-radius: var(--border-radius);
background: var(--base-color-1);
font-weight: var(--font-weight-bold);
}