Skip to content
This repository was archived by the owner on Feb 21, 2022. It is now read-only.

Commit fa6063d

Browse files
committed
Added animation to mars theme
1 parent 5838b3a commit fa6063d

File tree

4 files changed

+17
-3
lines changed

4 files changed

+17
-3
lines changed

src/assets/style/index.styl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,12 @@ section
99
& h2
1010
margin 0px
1111

12+
:root
13+
font-size 16px
14+
1215
html
1316
font-family 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI',
1417
Roboto, 'Helvetica Neue', Arial, sans-serif;
15-
font-size 16px
1618
height 100vh
1719
overflow-y hidden
1820
word-spacing 1px

src/components/themes/mars.vue

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,24 +40,36 @@
4040
.blick
4141
background linear-gradient(to top, rgba(201, 41, 57, .8) 0%, transparent 70%)
4242
border-radius 50%
43+
animation resize 8s infinite alternate
4344
&:nth-child(1)
4445
width 150%
4546
height 150%
4647
&:nth-child(2)
4748
width 230%
4849
height 230%
50+
animation-delay .2s
4951
&:nth-child(3)
5052
width 330%
5153
height 330%
54+
animation-delay .4s
5255
&:nth-child(4)
5356
width 470%
5457
height 470%
58+
animation-delay .6s
5559
&:nth-child(5)
5660
width 670%
5761
height 670%
62+
animation-delay .8s
5863
&:nth-child(6)
5964
width 900%
6065
height 900%
66+
animation-delay 1s
67+
68+
@keyframes resize
69+
from
70+
transform translate(-50%, -50%) scale(1)
71+
to
72+
transform translate(-50%, -50%) scale(.8)
6173
6274
.mountain-back
6375
width 100vw

src/store/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export default new Vuex.Store({
5656
component: 'timeComponent',
5757
fullscreen: false,
5858
color: {
59-
active: '#04ded4',
59+
active: '#91e60a',
6060
background: '#13111c'
6161
},
6262
},

version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.0.2
1+
1.0.3

0 commit comments

Comments
 (0)