Update style for newsletter

This commit is contained in:
2024-11-05 22:45:33 +11:00
parent 06e7bbf6e6
commit ff262f1f02
5 changed files with 105 additions and 86 deletions
+98
View File
@@ -0,0 +1,98 @@
.prose {
color: #374151;
max-width: none;
}
.prose p {
margin-top: 1.25em;
margin-bottom: 1.25em;
}
.prose a {
color: #2563eb;
text-decoration: underline;
}
.prose strong {
font-weight: 600;
}
.prose ul {
margin-top: 1.25em;
margin-bottom: 1.25em;
list-style-type: disc;
padding-left: 1.625em;
}
.prose ol {
margin-top: 1.25em;
margin-bottom: 1.25em;
list-style-type: decimal;
padding-left: 1.625em;
}
.prose h1 {
font-size: 2.25em;
margin-top: 0;
margin-bottom: 0.8888889em;
line-height: 1.1111111;
font-weight: 600;
}
.prose h2 {
font-size: 1.5em;
margin-top: 2em;
margin-bottom: 1em;
line-height: 1.3333333;
font-weight: 600;
}
.prose h3 {
font-size: 1.25em;
margin-top: 1.6em;
margin-bottom: 0.6em;
line-height: 1.6;
font-weight: 600;
}
.prose img {
margin-top: 2em;
margin-bottom: 2em;
}
.prose code {
color: #111827;
font-weight: 600;
background-color: #f3f4f6;
padding: 0.2em 0.4em;
border-radius: 0.375rem;
font-size: 0.875em;
}
.prose pre {
color: #e5e7eb;
background-color: #1f2937;
overflow-x: auto;
font-size: 0.875em;
line-height: 1.7142857;
margin-top: 1.7142857em;
margin-bottom: 1.7142857em;
border-radius: 0.375rem;
padding: 1em;
}
.prose pre code {
background-color: transparent;
color: inherit;
padding: 0;
}
.prose blockquote {
font-style: italic;
border-left: 4px solid #e5e7eb;
padding-left: 1em;
margin: 1.25em 0;
}
.prose table {
width: 100%;
border-collapse: collapse;
margin: 2em 0;
}
.prose table th {
background-color: #f3f4f6;
font-weight: 600;
text-align: left;
padding: 0.5em;
border: 1px solid #e5e7eb;
}
.prose table td {
padding: 0.5em;
border: 1px solid #e5e7eb;
}