mirror of
https://github.com/ZetaKebab/quartz.git
synced 2025-01-14 22:18:43 +00:00
Better styling: tables with borders, line breaks
This commit is contained in:
parent
6e29281f91
commit
e86450abd3
@ -69,7 +69,6 @@ const config: QuartzConfig = {
|
||||
Plugin.TableOfContents(),
|
||||
Plugin.CrawlLinks({ markdownLinkResolution: "shortest" }),
|
||||
Plugin.Description(),
|
||||
Plugin.HardLineBreaks(),
|
||||
],
|
||||
filters: [Plugin.RemoveDrafts()],
|
||||
emitters: [
|
||||
|
@ -27,8 +27,23 @@
|
||||
--color: #a672c0;
|
||||
}
|
||||
|
||||
.callout.note {
|
||||
table {
|
||||
border: 2px solid var(--gray);
|
||||
|
||||
& thead > tr {
|
||||
border-bottom: 2px solid var(--lightgray);
|
||||
|
||||
& th {
|
||||
border: 1px solid var(--lightgray);
|
||||
}
|
||||
}
|
||||
|
||||
& td {
|
||||
border: 1px solid var(--lightgray);
|
||||
}
|
||||
}
|
||||
|
||||
.callout.note {
|
||||
& table {
|
||||
margin: 0;
|
||||
margin-bottom: 0.5rem;
|
||||
@ -65,6 +80,12 @@ ul.overflow::after, ol.overflow::after {
|
||||
& .center {
|
||||
& p {
|
||||
font-size: 1.15rem;
|
||||
white-space: break-spaces;
|
||||
hyphens: none;
|
||||
}
|
||||
|
||||
& li {
|
||||
font-size: 1.15rem;
|
||||
}
|
||||
|
||||
& h3 {
|
||||
|
Loading…
Reference in New Issue
Block a user