style: refactor styles

This commit is contained in:
Pan
2017-10-24 14:49:29 +08:00
parent cddace507d
commit a8459fa572
5 changed files with 58 additions and 124 deletions

View File

@@ -11,3 +11,32 @@
</a>
</template>
<style scoped>
.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
}
}
</style>

View File

@@ -20,3 +20,13 @@ export default {
}
}
</script>
<style scoped>
.svg-icon {
width: 1em;
height: 1em;
vertical-align: -0.15em;
fill: currentColor;
overflow: hidden;
}
</style>

View File

@@ -79,7 +79,6 @@ export default {
<style>
.simplemde-container .CodeMirror {
/*height: 150px;*/
min-height: 150px;
}
@@ -109,6 +108,11 @@ export default {
font-weight: bold;
color: #E61E1E;
}
.simplemde-container .editor-toolbar.fullscreen,
.simplemde-container .CodeMirror-fullscreen {
z-index: 1003;
}
</style>