diff options
| author | 2023-10-06 23:17:18 +0000 | |
|---|---|---|
| committer | 2023-10-06 23:17:18 +0000 | |
| commit | 17d3363456350d775480fa58c3da7e405d9626e5 (patch) | |
| tree | 526b2390120272b01551fba3b71ab08c1c79f149 /latest/css/timeago.css | |
| parent | 2aa681e4111a8c723bb3f9c6c431332264484bc8 (diff) | |
| download | infini-17d3363456350d775480fa58c3da7e405d9626e5.tar.gz infini-17d3363456350d775480fa58c3da7e405d9626e5.zip | |
Deployed 1712182 to v0.1 with MkDocs 1.5.3 and mike 1.1.2
Diffstat (limited to 'latest/css/timeago.css')
| -rw-r--r-- | latest/css/timeago.css | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/latest/css/timeago.css b/latest/css/timeago.css new file mode 100644 index 00000000..f7ab7d69 --- /dev/null +++ b/latest/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 } +} + |
