diff options
-rw-r--r-- | contexts.c | 2 | ||||
-rw-r--r-- | default.css | 4 | ||||
-rw-r--r-- | events.c | 2 | ||||
-rw-r--r-- | networks.c | 2 | ||||
-rw-r--r-- | search.c | 2 |
5 files changed, 8 insertions, 4 deletions
diff --git a/contexts.c b/contexts.c index 859fc96..be48628 100644 --- a/contexts.c +++ b/contexts.c @@ -67,7 +67,7 @@ enum kcgi_err contextsPage(struct kreq *req) { struct khtmlreq html; error = error || khttp_body(req) - || khtml_open(&html, req, KHTML_PRETTY) + || khtml_open(&html, req, 0) || htmlHead(&html, scope.network) || htmlNav(&html, scope); if (error) return error; diff --git a/default.css b/default.css index 1606b6f..1d3d3e5 100644 --- a/default.css +++ b/default.css @@ -55,6 +55,10 @@ nav ol li { } nav ol li::before { content: '/'; + padding: 0 1ch; +} +nav ol li:first-child::before { + padding-left: 0; } table { diff --git a/events.c b/events.c index bdeb3f6..a8c2be0 100644 --- a/events.c +++ b/events.c @@ -152,7 +152,7 @@ enum kcgi_err eventsPage(struct kreq *req) { struct khtmlreq html; error = error || khttp_body(req) - || khtml_open(&html, req, KHTML_PRETTY) + || khtml_open(&html, req, 0) || htmlHead(&html, scope.context) || htmlNav(&html, scope) || dateForm(&html, scope, time) diff --git a/networks.c b/networks.c index f860efc..f2f059a 100644 --- a/networks.c +++ b/networks.c @@ -53,7 +53,7 @@ enum kcgi_err networksPage(struct kreq *req) { struct khtmlreq html; error = error || khttp_body(req) - || khtml_open(&html, req, KHTML_PRETTY) + || khtml_open(&html, req, 0) || htmlHead(&html, "Litterbox") || htmlNav(&html, scope); if (error) return error; diff --git a/search.c b/search.c index 88c59a8..878e0f7 100644 --- a/search.c +++ b/search.c @@ -58,7 +58,7 @@ enum kcgi_err searchPage(struct kreq *req) { struct khtmlreq html; error = error || khttp_body(req) - || khtml_open(&html, req, KHTML_PRETTY) + || khtml_open(&html, req, 0) || htmlHead(&html, scope.query) || htmlNav(&html, scope) || khtml_elem(&html, KELEM_TABLE); |