diff options
| author | 2023-10-06 23:57:09 +0000 | |
|---|---|---|
| committer | 2023-10-06 23:57:09 +0000 | |
| commit | 1cc287ab5ff17e9dc90034a465d549dd0ce34c82 (patch) | |
| tree | a424fe4c30bd6dd8b2d0d9c9f4c247d45fba804f /v1.0/css | |
| parent | cdc0e23c934c6dcd2e15b478aeb5baccd5123d1c (diff) | |
| download | infini-1cc287ab5ff17e9dc90034a465d549dd0ce34c82.tar.gz infini-1cc287ab5ff17e9dc90034a465d549dd0ce34c82.zip | |
Deployed 06904e4 to v1.0 with MkDocs 1.5.3 and mike 1.1.2
Diffstat (limited to 'v1.0/css')
| -rw-r--r-- | v1.0/css/timeago.css | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/v1.0/css/timeago.css b/v1.0/css/timeago.css new file mode 100644 index 00000000..f7ab7d69 --- /dev/null +++ b/v1.0/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 } +} + |