summaryrefslogtreecommitdiff
path: root/assets/css/main.css
diff options
context:
space:
mode:
authorSangeeth Sudheer <git@sangeeth.dev>2025-03-07 10:19:49 +0530
committerSangeeth Sudheer <git@sangeeth.dev>2025-03-09 01:50:55 +0530
commitc7188632b728bff9caf3bb0b9746e662f2eddee1 (patch)
treee8df4a97d88a1b2ddae7e4e133ac57dbd0761cf1 /assets/css/main.css
parentda22bc00a46bf3d0539bae77da9d278bc1131e02 (diff)
Add breadcrumbs config to hide current page and change home text
Changes `breadcrumbs` config into an object to add customizations such as hiding current page and changing the text of the home crumb. By default, Typo will now show breadcrumbs. If breadcrumbs are enabled, the current default of showing the current page crumb is preserved. BREAKING CHANGE: `breadcrumbs` is now an object so existing `breadcrumbs = <true/false>` line in config needs to be changed.
Diffstat (limited to 'assets/css/main.css')
-rw-r--r--assets/css/main.css8
1 files changed, 3 insertions, 5 deletions
diff --git a/assets/css/main.css b/assets/css/main.css
index 65ea0b4..6e83511 100644
--- a/assets/css/main.css
+++ b/assets/css/main.css
@@ -524,16 +524,14 @@ figcaption {
/* breadcrumbs */
.breadcrumbs {
+ display: flex;
+ flex-wrap: wrap;
+ gap: 2px;
font-size: small;
margin-bottom: calc(-0.5 * var(--h1-margin-top));
font-family: var(--font-mono);
}
-.breadcrumbs span {
- margin-right: -5px;
- margin-left: -5px;
-}
-
/* Comments */
.giscus {