diff options
| author | 2023-07-27 13:59:52 +0800 | |
|---|---|---|
| committer | 2023-07-27 13:59:52 +0800 | |
| commit | 913b5eaad25b9ba1cf0ad8d9b25633ec454c74e5 (patch) | |
| tree | 78728f9ba69a225ec4fae39019dc3f30e246f545 /docs/site/css | |
| parent | 610e826c7848db4f3b0b22ee23e4a2543723594b (diff) | |
| download | infini-913b5eaad25b9ba1cf0ad8d9b25633ec454c74e5.tar.gz infini-913b5eaad25b9ba1cf0ad8d9b25633ec454c74e5.zip | |
first push
Diffstat (limited to 'docs/site/css')
| -rw-r--r-- | docs/site/css/timeago.css | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/site/css/timeago.css b/docs/site/css/timeago.css new file mode 100644 index 00000000..f7ab7d69 --- /dev/null +++ b/docs/site/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 } +} + |
