diff --git a/css/default.css b/css/default.css index d3e52c4..b1ca460 100644 --- a/css/default.css +++ b/css/default.css @@ -10,13 +10,6 @@ --color-notice: #fb4f4f; } -@media (prefers-color-scheme: dark) { - :root { - --color-text: white; - --color-bg: black; - } -} - html { scrollbar-gutter: stable; } @@ -78,10 +71,6 @@ header { align-items: start; } -.navright a { - margin: 0 0 0 1em; -} - /* Links inside the navbar */ .navbar a { text-decoration: none; @@ -93,6 +82,8 @@ header { } .navright a, .navright a:visited { + white-space: nowrap; + margin: 0 0.5rem 0 0.5rem; color: var(--color-linkh); text-decoration: underline; } @@ -100,7 +91,7 @@ header { background-color: var(--color-linkhbg); } .navright { - gap: 0.75rem 1.25rem; /* row gap | column gap */ + gap: 1rem 1rem; /* row gap | column gap */ } @@ -317,6 +308,15 @@ code { /* phones -- no sidebar no sidenotes*/ @media (max-width: 768px) { + a.home{ + font-size: 2rem; + white-space: wrap; + padding-top: 1rem; + text-align: left; + } + .navright a{ + display: block; + } body { /* width: 90%; */ margin: auto; @@ -342,7 +342,7 @@ code { } /* sidebar. no sidenotes */ -@media (min-width: 769px) { +@media (min-width: 900px) { a.home{ font-size: 2rem; white-space: nowrap; @@ -391,7 +391,7 @@ code { padding-top: 0; padding-left: 1rem; text-align: left; - max-width: 80%; + max-width: 45%; clear: both; margin-right: 1.7em; margin-left: 0.25em; diff --git a/index.md b/index.md index 016368f..2c71f7d 100644 --- a/index.md +++ b/index.md @@ -1,5 +1,6 @@ --- -title: 19th Asian Logic Conference (ALC) +title: 19th Asian Logic Conference (ALC) +showtoc: true ---

October 18 - 22, 2027
@@ -59,3 +60,5 @@ Bakh Khoussainov – Chair (UESTC, China) - Yifan Jia (PhD student) - Xinyao Wang (PhD student) - Ting Gao (admin secretary) + +# Contact \ No newline at end of file diff --git a/src/site.hs b/src/site.hs index 860dd6d..f4a128a 100644 --- a/src/site.hs +++ b/src/site.hs @@ -61,17 +61,19 @@ main = hakyll $ do match "index.md" $ do route $ setExtension "html" - compile $ + compile $ do + tocCtx <- getTocCtx defaultContext chaoDocCompiler - >>= loadAndApplyTemplate "templates/index.html" (defaultContext `mappend` constField "root" root) + >>= loadAndApplyTemplate "templates/index.html" (tocCtx `mappend` constField "root" root) >>= relativizeUrls >>= cleanIndexHtmls - match ( fromList["talks.md","invited_speaker.md","registration.md","program.md","venue.md","travel.md","social_event.md","travel_support.md","contact.md"] ) $ do + match ( fromList["talks.md","invited_speaker.md","registration.md","program.md","venue.md","travel.md","social_event.md","contact.md"] ) $ do route cleanRoute - compile $ + compile $ do + tocCtx <- getTocCtx defaultContext chaoDocCompiler - >>= loadAndApplyTemplate "templates/standalone.html" (defaultContext `mappend` constField "root" root) + >>= loadAndApplyTemplate "templates/standalone.html" (tocCtx `mappend` constField "root" root) >>= relativizeUrls -- -- build up tags diff --git a/templates/index.html b/templates/index.html index f8340b3..79cc4b2 100644 --- a/templates/index.html +++ b/templates/index.html @@ -14,6 +14,14 @@
@@ -22,12 +30,13 @@ diff --git a/templates/standalone.html b/templates/standalone.html index 1a6079f..bb61250 100644 --- a/templates/standalone.html +++ b/templates/standalone.html @@ -57,12 +57,13 @@ diff --git a/travel.md b/travel.md index a29a9e7..58cba3f 100644 --- a/travel.md +++ b/travel.md @@ -1,3 +1,7 @@ --- title: Travel ---- \ No newline at end of file +--- + +# Travel + +# Travel Support \ No newline at end of file diff --git a/travel_support.md b/travel_support.md deleted file mode 100644 index 120cbda..0000000 --- a/travel_support.md +++ /dev/null @@ -1,3 +0,0 @@ ---- -title: Travel Support ---- \ No newline at end of file