feat: improve changelog version highlight style

This commit is contained in:
Justineo 2021-10-21 14:44:15 +08:00
parent 6112f81c46
commit 2bfe8ad8ec
No known key found for this signature in database
GPG Key ID: B73F0979CF18A0EA
2 changed files with 14 additions and 6 deletions

View File

@ -339,7 +339,7 @@ margin-y($top, $bottom = $top)
color #c5e478 color #c5e478
[data-target] [data-target]
animation target-blink 5s ease 1 both animation target-blink 6s ease 1 both
@keyframes target-blink @keyframes target-blink
0% 0%

View File

@ -269,16 +269,13 @@ export default {
bottom -2px bottom -2px
left -12px left -12px
width 3px width 3px
background-color #e1edff background-color #0052cc
border-radius 1px border-radius 1px
opacity 0 opacity 0
transform-origin 50% 0 transform-origin 50% 0
transform scaleY(0)
transition opacity 0.3s, transform 0.3s
&[data-target]::before &[data-target]::before
opacity 1 animation line-enter 6s ease 1 both
transform none
h2 h2
display flex display flex
@ -342,4 +339,15 @@ h2
p p
margin 0 -0.75em 0 0 margin 0 -0.75em 0 0
@keyframes line-enter
0%
100%
transform scaleY(0)
opacity 0
5%
95%
transform none
opacity 1
</style> </style>