diff options
author | Patrick Spek <p.spek@tyil.nl> | 2023-03-13 16:19:04 +0100 |
---|---|---|
committer | Patrick Spek <p.spek@tyil.nl> | 2023-03-13 16:19:04 +0100 |
commit | ed54b79220481f921ca90ced4b923e6369a68225 (patch) | |
tree | a5f106b1d1a02923e5d71e4e8daa905bc687ebff /assets/theme/main.scss | |
parent | dd7ebf0815d33e93a3cec6a046b88bb4997697d9 (diff) |
Add projects page
Diffstat (limited to 'assets/theme/main.scss')
-rw-r--r-- | assets/theme/main.scss | 33 |
1 files changed, 32 insertions, 1 deletions
diff --git a/assets/theme/main.scss b/assets/theme/main.scss index 3221dd3..8b62b23 100644 --- a/assets/theme/main.scss +++ b/assets/theme/main.scss @@ -109,6 +109,37 @@ section.admonition { } } +section.project { + border-top: 1px solid var(--bodyForegroundColor); + padding: 0.5rem 0.5rem; + + h2 { + margin: 0.5rem 0rem; + + small { + margin-left: 1.5rem; + font-weight: normal; + font-size: small; + } + } + + p { + margin-top: 0; + } + + nav.project { + a, a:visited { + margin: 0.5rem; + text-decoration: underline; + color: var(--bodyForegroundColor); + } + + a::before { + content: "ยป "; + } + } +} + @media(min-width: $mainWidth) { section.admonition { display: grid; @@ -145,7 +176,7 @@ section.admonition { } // Navigation bar -nav { +nav.main { padding-bottom: 8px; border-bottom: double var(--bodyForegroundColor); text-align: center; |