Skip to content

Commit

Permalink
add shared styles
Browse files Browse the repository at this point in the history
  • Loading branch information
UziTech committed Aug 12, 2023
1 parent 7b58600 commit d5096be
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 54 deletions.
1 change: 1 addition & 0 deletions docs/_document.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<meta charset="utf-8"/>
<title><!--{{title}}-->Marked Documentation</title>
<link rel="stylesheet" href="/css/style.css" type="text/css" />
<link rel="stylesheet" href="/css/shared.css" type="text/css" />
<link rel="stylesheet" href="/css/hljs-github.css" type="text/css" />
</head>
<body>
Expand Down
26 changes: 26 additions & 0 deletions docs/css/shared.css
Original file line number Diff line number Diff line change
@@ -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;
}
}
27 changes: 0 additions & 27 deletions docs/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
27 changes: 0 additions & 27 deletions docs/demo/demo.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
1 change: 1 addition & 0 deletions docs/demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<head>
<title>Marked Demo</title>
<link rel="stylesheet" href="./demo.css" type="text/css" />
<link rel="stylesheet" href="../css/shared.css" type="text/css" />
</head>

<body>
Expand Down

0 comments on commit d5096be

Please sign in to comment.