diff --git a/assets/css/theme.css b/assets/css/theme.css index f1e3a1d..577017a 100644 --- a/assets/css/theme.css +++ b/assets/css/theme.css @@ -116,4 +116,18 @@ th { th, td { text-align: left; padding: .25rem 1rem; +} + +code { + background-color: var(--grey3); + font-family: 'monospace'; +} + +code.code-block { + margin: 1rem 0; + padding: 1rem; + + display: block; + overflow-x: auto; + white-space: nowrap; } \ No newline at end of file diff --git a/content/pages/theme.njk b/content/pages/theme.njk index 1c28a5d..3f56fe0 100644 --- a/content/pages/theme.njk +++ b/content/pages/theme.njk @@ -113,5 +113,21 @@ 4 months + + +{{ ' + + + + + + Document + + + + + +' | escape | replace("\n", "", 1) | replace("\n", "
") | replace(" ", " ") }} +
\ No newline at end of file