diff --git a/docs/_document.html b/docs/_document.html index c77922af42..b76588947c 100644 --- a/docs/_document.html +++ b/docs/_document.html @@ -4,6 +4,7 @@ <!--{{title}}-->Marked Documentation + diff --git a/docs/css/shared.css b/docs/css/shared.css new file mode 100644 index 0000000000..c71c2fba4d --- /dev/null +++ b/docs/css/shared.css @@ -0,0 +1,26 @@ +.github-corner { + position: absolute; + top: 0; + border: 0; + right: 0; +} + +.github-corner:hover .octo-arm { + animation:octocat-wave 560ms ease-in-out; +} + +@keyframes octocat-wave { + 0%,100%{transform:rotate(0)} + 20%,60%{transform:rotate(-25deg)} + 40%,80%{transform:rotate(10deg)} +} + +@media (max-width:500px) { + .github-corner:hover .octo-arm { + animation:none + } + + .github-corner .octo-arm { + animation:octocat-wave 560ms ease-in-out; + } +} diff --git a/docs/css/style.css b/docs/css/style.css index c4e146c206..2398e0af36 100644 --- a/docs/css/style.css +++ b/docs/css/style.css @@ -186,30 +186,3 @@ pre code { .div-copy.click .tooltip-copy::after { opacity: 1; } - -.github-corner { - position: absolute; - top: 0; - border: 0; - right: 0; -} - -.github-corner:hover .octo-arm { - animation:octocat-wave 560ms ease-in-out; -} - -@keyframes octocat-wave { - 0%,100%{transform:rotate(0)} - 20%,60%{transform:rotate(-25deg)} - 40%,80%{transform:rotate(10deg)} -} - -@media (max-width:500px) { - .github-corner:hover .octo-arm { - animation:none - } - - .github-corner .octo-arm { - animation:octocat-wave 560ms ease-in-out; - } -} diff --git a/docs/demo/demo.css b/docs/demo/demo.css index f7fb106086..30941e1ba8 100644 --- a/docs/demo/demo.css +++ b/docs/demo/demo.css @@ -78,30 +78,3 @@ header h1 { #responseTime { display: inline-block; } - -.github-corner { - position: absolute; - top: 0; - border: 0; - right: 0; -} - -.github-corner:hover .octo-arm { - animation:octocat-wave 560ms ease-in-out; -} - -@keyframes octocat-wave { - 0%,100%{transform:rotate(0)} - 20%,60%{transform:rotate(-25deg)} - 40%,80%{transform:rotate(10deg)} -} - -@media (max-width:500px) { - .github-corner:hover .octo-arm { - animation:none - } - - .github-corner .octo-arm { - animation:octocat-wave 560ms ease-in-out; - } -} diff --git a/docs/demo/index.html b/docs/demo/index.html index 62e143e405..b85a4de926 100644 --- a/docs/demo/index.html +++ b/docs/demo/index.html @@ -4,6 +4,7 @@ Marked Demo +