Skip to content

Commit b05883c

Browse files
committed
Improve Jolla appearance
1 parent ae33ee0 commit b05883c

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

src/project/types/website/about/website-about.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,10 @@ import { quartoConfig } from "../../../../core/quarto.ts";
2020
import { projectTypeResourcePath } from "../../../../core/resources.ts";
2121
import { sassLayerFile } from "../../../../core/sass.ts";
2222
import { TempContext } from "../../../../core/temp.ts";
23-
import { kBootstrapDependencyName } from "../../../../format/html/format-html-shared.ts";
23+
import {
24+
kAnchorSections,
25+
kBootstrapDependencyName,
26+
} from "../../../../format/html/format-html-shared.ts";
2427
import { NavItem, ProjectContext } from "../../../types.ts";
2528
import { kImage } from "../website-constants.ts";
2629
import { navigationItem } from "../website-navigation.ts";
@@ -91,6 +94,7 @@ export async function aboutHtmlDependencies(
9194
if (aboutPage) {
9295
// About pages do not allow TOCs
9396
format.pandoc[kToc] = false;
97+
format.metadata[kAnchorSections] = false;
9498
}
9599

96100
// Compute any scss that should be included

src/resources/projects/website/about/about.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,14 @@ div.quarto-about-jolla {
7171
}
7272
@include image-shapes();
7373

74+
.quarto-title h1.title {
75+
text-align: center;
76+
}
77+
78+
.quarto-title .description {
79+
text-align: center;
80+
}
81+
7482
h2 {
7583
border-bottom: none;
7684
}

0 commit comments

Comments
 (0)