diff options
author | Patrick Spek <p.spek@tyil.nl> | 2023-03-15 15:20:57 +0100 |
---|---|---|
committer | Patrick Spek <p.spek@tyil.nl> | 2023-03-15 15:20:57 +0100 |
commit | edc1f4261cdbfe15f6680cb5a38abc4f09df1a4e (patch) | |
tree | 3182f3846a710fdef9363ee50c5b8d06814e5547 /assets/theme | |
parent | 4f93698b16a5f22a29f086296425c63907f7bfec (diff) |
Overhaul cookbook index
Diffstat (limited to 'assets/theme')
-rw-r--r-- | assets/theme/main.scss | 40 |
1 files changed, 40 insertions, 0 deletions
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: "#"; +} |