From ed54b79220481f921ca90ced4b923e6369a68225 Mon Sep 17 00:00:00 2001
From: Patrick Spek
Date: Mon, 13 Mar 2023 16:19:04 +0100
Subject: Add projects page
---
assets/theme/main.scss | 33 ++++++++++++++++++++++++++++++++-
1 file changed, 32 insertions(+), 1 deletion(-)
(limited to 'assets/theme/main.scss')
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;
--
cgit v1.1