diff options
| author | 2023-10-06 19:46:53 +0000 | |
|---|---|---|
| committer | 2023-10-06 19:46:53 +0000 | |
| commit | fb40e7c2fc5aa00bd7d066abfc9fb25c26c5a299 (patch) | |
| tree | 7353615c17953be7dd1110d6dcdb81ebd013de77 /css | |
| download | infini-fb40e7c2fc5aa00bd7d066abfc9fb25c26c5a299.tar.gz infini-fb40e7c2fc5aa00bd7d066abfc9fb25c26c5a299.zip | |
Deployed d629000 with MkDocs version: 1.5.3
Diffstat (limited to '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 00000000..f7ab7d69 --- /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 } +} + |
