summaryrefslogtreecommitdiff
path: root/assets/theme/main.scss
diff options
context:
space:
mode:
Diffstat (limited to 'assets/theme/main.scss')
-rw-r--r--assets/theme/main.scss33
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;