- 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
/* Copyright 2025 Shota FUJI <pockawoooh@gmail.com>
* SPDX-License-Identifier: MIT
*/
.html-content {
line-height: 1.3;
}
.html-content > :first-child {
margin-block-start: 0;
}
.html-content h1 {
font-size: var(--font-xl);
font-weight: var(--font-chonk);
margin: var(--space-xxxl) 0;
line-height: 1.2;
}
.html-content h2 {
font-size: var(--font-lg);
font-weight: var(--font-chonk);
margin: var(--space-xxxl) 0;
line-height: 1.2;
}
.html-content h3 {
font-size: var(--font-md);
font-weight: var(--font-chonk);
margin: var(--space-xxxl) 0;
margin-block-end: var(--space-xl);
line-height: 1.2;
}
.html-content h4 {
font-size: var(--font-md);
font-weight: var(--font-thick);
margin: var(--space-xxl) 0;
line-height: 1.2;
}
.html-content h5 {
font-size: var(--font-sm);
font-weight: var(--font-chonk);
margin: var(--space-xxl) 0;
line-height: 1.2;
}
.html-content h6 {
font-size: var(--font-sm);
font-weight: var(--font-thick);
margin: var(--space-xl) 0;
line-height: 1.2;
}
.html-content p {
font-size: var(--font-md);
font-weight: var(--font-regular);
margin: var(--space-lg) 0;
}
.html-content ul, .html-content ol {
margin: var(--space-lg) 0;
padding: 0;
padding-inline-start: 1.2em;
line-height: 1.2;
}
.html-content li + li {
margin-block-start: var(--space-xxs);
}
.html-content pre {
margin: var(--space-xl) 0;
padding: var(--space-xxl) var(--space-xl);
font-family: var(--font-mono);
font-size: var(--font-sm);
border: 1px solid var(--color-border-subtle);
line-height: 1.2;
border-radius: var(--radii-md);
box-shadow: 1px 1px 4px var(--color-shadow);
overflow-x: auto;
overflow-y: hidden;
}
.html-content table {
margin: 0;
margin-block-end: var(--space-xxl);
min-width: 100%;
border-collapse: collapse;
}
.html-content thead > tr {
border-block-end: 1px solid var(--color-border-subtle);
}
.html-content tbody > tr:first-of-type > td {
padding-block-start: var(--space-md);
}
.html-content th {
font-weight: var(--font-regular);
color: var(--color-fg-weak);
}
.html-content th, td {
font-size: var(--font-sm);
padding: var(--space-xs) var(--space-md);
}
.html-content code:not(:where(pre > code)) {
font-size: var(--font-sm);
font-family: var(--font-mono);
font-style: italic;
color: var(--color-fg-weak);
}
.html-content a {
text-decoration: underline;
}
.html-content a > code {
color: inherit;
}
.html-content img[src^="./"] {
display: inline-flex;
flex-direction: column;
padding: var(--space-lg) var(--space-xl);
font-size: var(--font-sm);
border: 1px solid var(--color-border-subtle);
line-height: 1.2;
gap: var(--space-xs);
border-radius: var(--radii-md);
box-shadow: 1px 1px 4px var(--color-shadow);
}
.html-content img[src^="./"]::after {
display: block;
content: "Rendering of local image is not supported.";
font-size: var(--font-xs);
font-style: italic;
color: var(--color-fg-weak);
}