timekeeper

[Abandoned unfinished] CGI web application in C for time tracking. (My first, just a learning project)
Log | Files | Refs | README

commit ca66c35a4404dc43ebbe6b87901c9dae90102905
parent 9f07f181ad2f2922cfde2b1e32b246e040c7f0fb
Author: Jacob R. Edwards <jacob@jacobedwards.org>
Date:   Sat, 23 Mar 2024 18:51:28 -0700

Add menu css

Diffstat:
Acss/menu.css | 11+++++++++++
Mpages/main.c | 4+++-
2 files changed, 14 insertions(+), 1 deletion(-)

diff --git a/css/menu.css b/css/menu.css @@ -0,0 +1,11 @@ +ul.menu { + padding: 0; +} + +ul.menu > li { + display: inline-block; +} + +ul.menu > li:not(:nth-child(1))::before { + content: " | "; +} diff --git a/pages/main.c b/pages/main.c @@ -318,7 +318,9 @@ breakform(struct pagedata *pd) enum kcgi_err pagemain(struct pagedata *pd) { - static char *css[] = { "css/main.css", "css/timesheet.css", NULL }; + static char *css[] = { + "css/main.css", "css/timesheet.css", "css/menu.css", NULL + }; static char *scripts[] = { "scripts/localize.js", "scripts/counter.js",