Minor CSS cleanup

This commit is contained in:
Timothy Farrell 2018-06-13 16:35:52 -05:00
parent 863f61eea9
commit 060da481a7
4 changed files with 28 additions and 28 deletions

View File

@ -25,8 +25,7 @@
"pouchdb-replication": "~6.4.1", "pouchdb-replication": "~6.4.1",
"pouchorm": "~1.0.0", "pouchorm": "~1.0.0",
"router": "2.1.0", "router": "2.1.0",
"semantic-ui-reset": "^2.2.12", "semantic-ui-reset": "~2.2.12",
"semantic-ui-site": "^2.2.12",
"style-loader": "^0.19.0", "style-loader": "^0.19.0",
"styletron": "^2.5.1", "styletron": "^2.5.1",
"styletron-utils": "^2.5.4" "styletron-utils": "^2.5.4"

View File

@ -12,29 +12,3 @@ body {
flex-direction: column; flex-direction: column;
font-family: Arial, sans-serif; font-family: Arial, sans-serif;
} }
/* http://tholman.com/github-corners/ */
.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
}
}

View File

@ -0,0 +1,25 @@
/* http://tholman.com/github-corners/ */
.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
}
}

View File

@ -1,3 +1,5 @@
import * as styles from '../../assets/github-corner.css';
import { defineElement as el, defineSvgElement as sv } from '../../utils/domvm.js'; import { defineElement as el, defineSvgElement as sv } from '../../utils/domvm.js';
export function GithubCorner(href) { export function GithubCorner(href) {