From dfa4989a90e3631b7757639d4dccf84fa9ee029c Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Fri, 6 Oct 2023 22:59:21 +0000 Subject: Deployed 77edb63 to dev with MkDocs 1.5.3 and mike 1.1.2 --- dev/css/timeago.css | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 dev/css/timeago.css (limited to 'dev/css/timeago.css') diff --git a/dev/css/timeago.css b/dev/css/timeago.css new file mode 100644 index 00000000..f7ab7d69 --- /dev/null +++ b/dev/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