From 102b03ef3474e21cba164a6bcd8e950874cfef37 Mon Sep 17 00:00:00 2001 From: David Vazgenovich Shakaryan Date: Sun, 23 Sep 2018 02:15:57 -0700 Subject: bold dates via HTML for better rendering in links --- journal.c | 2 +- style.css | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/journal.c b/journal.c index bc7aa3f..c2e6249 100644 --- a/journal.c +++ b/journal.c @@ -41,7 +41,7 @@ static void print_entry(char *path, char *ts) struct tm tm; strptime(ts, "%s", &tm); printf( - "

%d/%02d/%02d ", + "

%d/%02d/%02d ", tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday); for (int c = getc(f), nl = 0; c != EOF; c = getc(f)) { diff --git a/style.css b/style.css index e2797ce..465571a 100644 --- a/style.css +++ b/style.css @@ -25,7 +25,3 @@ h1 { line-height: 1.4; margin: 0.5em 0; } - -.entry p .date { - font-weight: bold; -} -- cgit v1.2.3-70-g09d2