diff --git a/quartz/styles/custom.scss b/quartz/styles/custom.scss index 76e4e2d..516e63c 100644 --- a/quartz/styles/custom.scss +++ b/quartz/styles/custom.scss @@ -1,4 +1,5 @@ @use "./base.scss"; +@use "./wiki.scss"; // put your custom CSS here! @media (min-width: 600px) { diff --git a/quartz/styles/wiki.scss b/quartz/styles/wiki.scss new file mode 100644 index 0000000..52bcccf --- /dev/null +++ b/quartz/styles/wiki.scss @@ -0,0 +1,32 @@ +.callout[data-callout~="wiki"], +.callout[data-callout~="infobox"] { + --callout-color: var(--interactive-accent-rgb); + background: var(--note, var(--background-primary)); + box-shadow: none; + margin: 0; + float: right; + border: 0; + width: 40%; + display: flex; + flex-direction: column; + align-content: center; + align-items: center; + //margin-left: 8px; + + & > .callout-title, + & > * thead { + display: none; + } + + & > * table { + margin: 0; + line-height: 2rem; + } +} +@media (max-width: 830px) { + .callout[data-callout~="wiki"], + .callout[data-callout~="infobox"] { + float: unset; + width: 100%; + } +}