From edc1f4261cdbfe15f6680cb5a38abc4f09df1a4e Mon Sep 17 00:00:00 2001 From: Patrick Spek Date: Wed, 15 Mar 2023 15:20:57 +0100 Subject: Overhaul cookbook index --- assets/theme/main.scss | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) (limited to 'assets/theme') diff --git a/assets/theme/main.scss b/assets/theme/main.scss index 4466d41..370af14 100644 --- a/assets/theme/main.scss +++ b/assets/theme/main.scss @@ -139,6 +139,36 @@ section.project { } } +section.recipe { + border-top: 1px solid var(--bodyForegroundColor); + padding: 0.5rem; + display: grid; + grid-template-columns: [preview] 1fr [description] 5fr [end]; + + div.picture { + grid-column-start: preview; + grid-column-end: description; + } + + div.description { + grid-column-start: description; + grid-column-end: end; + + ul.taglist { + li { + display: inline; + } + + margin: 0; + padding: 0; + } + } + + h2 { + margin: 0.5rem 0rem; + } +} + section.service { border-top: 1px solid var(--bodyForegroundColor); padding: 0.5rem; @@ -271,3 +301,13 @@ pre code { margin-right: 1em; } } + +.tag { + color: var(--linkForegroundColor); + font-family: monospace; + text-decoration: none; + border-bottom: 1px dotted var(--linkForegroundColor); +} +.tag::before { + content: "#"; +} -- cgit v1.1