From b31636072338d2879b528258de8accf4a66c68d3 Mon Sep 17 00:00:00 2001 From: <> Date: Sun, 18 Feb 2024 11:51:10 +0000 Subject: Deployed 9b916be with MkDocs version: 1.5.3 --- css/timeago.css | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 css/timeago.css (limited to 'css/timeago.css') 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 } +} + -- cgit v1.2.3-70-g09d2