diff options
Merge pull request #6 from picturepan2/feature/update-doc
Feature/update doc
3 files changed, 19 insertions, 24 deletions
| -rw-r--r-- | src/animations.less | 19 | ||||
| -rw-r--r-- | src/navigation.less | 4 | ||||
| -rw-r--r-- | src/utilities.less | 20 |
diff --git a/src/animations.less b/src/animations.less new file mode 100644 index 0000000..a54d61c --- /dev/null +++ b/src/animations.less @@ -0,0 +1,19 @@ +// Animations +@keyframes loading { + 0% { + transform: rotate(0deg); + } + 100% { + transform: rotate(360deg); + } +} +@keyframes slide-down { + 0% { + margin-top: -3rem; + opacity: 0; + } + 100% { + margin-top: 0; + opacity: 1; + } +}
\ No newline at end of file diff --git a/src/navigation.less b/src/navigation.less index 80cba1a..b7f42f7 100644 --- a/src/navigation.less +++ b/src/navigation.less @@ -38,18 +38,14 @@ .tab { display: block; border-bottom: .1rem solid @control-color; - .clearfix(); .tab-item { display: inline-block; margin-bottom: -.1rem; - margin-right: .2rem; - padding: .5rem 1.5rem; a { display: block; padding: .5rem 1.5rem; - margin: -.5rem -1.5rem; border-bottom: .2rem solid transparent; color: @body-font-color; text-decoration: none; diff --git a/src/utilities.less b/src/utilities.less index 9dcd35e..25c8bc1 100644 --- a/src/utilities.less +++ b/src/utilities.less @@ -196,24 +196,4 @@ height: 1.6rem; animation: loading 500ms infinite linear; } -} - -// Animations -@keyframes loading { - 0% { - transform: rotate(0deg); - } - 100% { - transform: rotate(360deg); - } -} -@keyframes slide-down { - 0% { - margin-top: -3rem; - opacity: 0; - } - 100% { - margin-top: 0; - opacity: 1; - } }
\ No newline at end of file |