diff --git a/style.css b/style.css index 10990e8..b9a2c6f 100644 --- a/style.css +++ b/style.css @@ -67,12 +67,14 @@ hr { from { content: "_"; } to { content: ""; } } -h1::after { - content: "_"; - animation-name: cursor; - animation-iteration-count: infinite; - animation-timing-function: cubic-bezier(1.0,0,0,1.0); - animation-duration: 1s; +@media not (prefers-reduced-motion: reduce) { + h1::after { + content: "_"; + animation-name: cursor; + animation-iteration-count: infinite; + animation-timing-function: cubic-bezier(1.0,0,0,1.0); + animation-duration: 1s; + } } h1 { text-transform: uppercase; diff --git a/wiki/wiki.tmpl b/wiki/wiki.tmpl index c5bb654..5b43190 100644 --- a/wiki/wiki.tmpl +++ b/wiki/wiki.tmpl @@ -46,54 +46,56 @@ $highlighting-css$ $for(include-before)$ $include-before$ $endfor$ - $if(title)$ -
-

$$ $title$

+
+ $if(title)$ +
+

$$ $title$

- $if(subtitle)$ -

$subtitle$

- $endif$ + $if(subtitle)$ +

$subtitle$

+ $endif$ - $if(author)$ -

authors:

- $for(author)$ -

~$author$

- $endfor$ - $endif$ + $if(author)$ +

authors:

+ $for(author)$ +

~$author$

+ $endfor$ + $endif$ - $if(date)$ -

$date$

+ $if(date)$ +

$date$

+ $endif$ +
$endif$ -
- $endif$ -
-
-
- -
- - $if(toc)$ - $if(toc-title)$ -

$toc-title$

- $endif$ - -
+
+
+
+ +
+ + $if(toc)$ + $if(toc-title)$ +

$toc-title$

$endif$ + +
+ $endif$ $body$ - $for(include-after)$ - $include-after$ - $endfor$ + $for(include-after)$ + $include-after$ + $endfor$ +
+
- - +
+ -