aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--data/style.scss5
-rw-r--r--src/renderer.rs8
2 files changed, 9 insertions, 4 deletions
diff --git a/data/style.scss b/data/style.scss
index 9bfbeaf..7d8a73d 100644
--- a/data/style.scss
+++ b/data/style.scss
@@ -42,6 +42,11 @@ body {
word-break: break-word;
}
+.title a {
+ font-weight: bold;
+ color: var(--directory_link_color);
+}
+
.footer {
text-align: center;
padding-top: 1.5rem;
diff --git a/src/renderer.rs b/src/renderer.rs
index c9ec9cd..c99ea67 100644
--- a/src/renderer.rs
+++ b/src/renderer.rs
@@ -80,14 +80,14 @@ pub fn page(
(color_scheme_selector(show_qrcode))
div.container {
span#top { }
- h1.title {
+ h1.title dir="ltr" {
@for el in breadcrumbs {
@if el.link == "." {
// wrapped in span so the text doesn't shift slightly when it turns into a link
- span { (el.name) }
+ span { bdi { (el.name) } }
} @else {
- a.directory href=(parametrized_link(&el.link, sort_method, sort_order)) {
- (el.name)
+ a href=(parametrized_link(&el.link, sort_method, sort_order)) {
+ bdi { (el.name) }
}
}
"/"