diff options
author | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2018-09-23 02:15:57 -0700 |
---|---|---|
committer | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2018-09-23 02:15:57 -0700 |
commit | 102b03ef3474e21cba164a6bcd8e950874cfef37 (patch) | |
tree | 607f07b3d5cfd0841d6343d6146ad66cf629bd05 | |
parent | d6cdea0624fe3da9f6de3ba73cb2ec3515633288 (diff) | |
download | journal-102b03ef3474e21cba164a6bcd8e950874cfef37.tar.gz journal-102b03ef3474e21cba164a6bcd8e950874cfef37.tar.xz |
bold dates via HTML for better rendering in links
-rw-r--r-- | journal.c | 2 | ||||
-rw-r--r-- | style.css | 4 |
2 files changed, 1 insertions, 5 deletions
@@ -41,7 +41,7 @@ static void print_entry(char *path, char *ts) struct tm tm; strptime(ts, "%s", &tm); printf( - "<div class='entry'><p><span class='date'>%d/%02d/%02d</span> ", + "<div class='entry'><p><strong>%d/%02d/%02d</strong> ", tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday); for (int c = getc(f), nl = 0; c != EOF; c = getc(f)) { @@ -25,7 +25,3 @@ h1 { line-height: 1.4; margin: 0.5em 0; } - -.entry p .date { - font-weight: bold; -} |