summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcyfraeviolae <cyfraeviolae>2021-01-01 01:52:20 -0500
committercyfraeviolae <cyfraeviolae>2021-01-01 01:52:20 -0500
commit03db8207a463c713d968345fca48de1846d2d528 (patch)
treeb06e5e170f005d590e7af696506a428c0414f658
parentb1eec95b6d578b890b5a957b6e61378d5eedab14 (diff)
nonbreaking
-rw-r--r--src/Lib.hs2
-rw-r--r--static/style.css9
2 files changed, 8 insertions, 3 deletions
diff --git a/src/Lib.hs b/src/Lib.hs
index 32cbb3f..02ef79b 100644
--- a/src/Lib.hs
+++ b/src/Lib.hs
@@ -306,7 +306,7 @@ gameCrumbs _ labels periods level = [
instance ToHtml HomeView where
toHtml (HomeView (Manifest mediums)) =
pageTemplate
- [a_ [href_ "https://git.cyfraeviolae.org/antiquitysort"] "source code"]
+ [a_ [href_ "https://git.cyfraeviolae.org/antiquitysort", class_ "nonbreaking"] "source code"]
homeBody
where
homeBody = div_ [class_ "narrow"] $ do
diff --git a/static/style.css b/static/style.css
index 6280df7..b46b683 100644
--- a/static/style.css
+++ b/static/style.css
@@ -99,6 +99,11 @@ p {
}
.sep {
- margin-left: 10px;
- margin-right: 10px;
+ margin-left: 6px;
+ margin-right: 6px;
}
+
+.nonbreaking {
+ white-space: nowrap;
+}
+