diff options
| author | 2024-02-18 11:51:10 +0000 | |
|---|---|---|
| committer | 2024-02-18 11:51:10 +0000 | |
| commit | b31636072338d2879b528258de8accf4a66c68d3 (patch) | |
| tree | a1fa4ba9a199c265bef5239e78b8a1a50edb7ab0 /css/timeago.css | |
| download | TRPGNivis-gh-pages.tar.gz TRPGNivis-gh-pages.zip | |
Deployed 9b916be with MkDocs version: 1.5.3gh-pages
Diffstat (limited to 'css/timeago.css')
| -rw-r--r-- | css/timeago.css | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/css/timeago.css b/css/timeago.css new file mode 100644 index 0000000..f7ab7d6 --- /dev/null +++ b/css/timeago.css @@ -0,0 +1,15 @@ +/* + timeago output is dynamic, which breaks when you print a page. + + This CSS is only included when type: timeago + and ensures fallback to type "iso_date" when printing. + + */ + +.git-revision-date-localized-plugin-iso_date { display: none } + +@media print { + .git-revision-date-localized-plugin-iso_date { display: inline } + .git-revision-date-localized-plugin-timeago { display: none } +} + |
