diff options
| author | 2023-10-06 22:59:21 +0000 | |
|---|---|---|
| committer | 2023-10-06 22:59:21 +0000 | |
| commit | dfa4989a90e3631b7757639d4dccf84fa9ee029c (patch) | |
| tree | 25f07bef63f9144f664e773d089620fdc0cc705f /dev/css/timeago.css | |
| parent | fb40e7c2fc5aa00bd7d066abfc9fb25c26c5a299 (diff) | |
| download | infini-dfa4989a90e3631b7757639d4dccf84fa9ee029c.tar.gz infini-dfa4989a90e3631b7757639d4dccf84fa9ee029c.zip | |
Deployed 77edb63 to dev with MkDocs 1.5.3 and mike 1.1.2
Diffstat (limited to 'dev/css/timeago.css')
| -rw-r--r-- | dev/css/timeago.css | 15 |
1 files changed, 15 insertions, 0 deletions
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 } +} + |
