Skip to content

Commit

Permalink
update transition
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinBatdorf committed Nov 10, 2022
1 parent 4da30f2 commit 85b68c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/front/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
counter-increment: step calc(var(--cbp-line-number-start, 1) - 1);
}
.wp-block-kevinbatdorf-code-block-pro.cbp-has-line-numbers:not(.code-block-pro-editor) pre code .line::before {
@apply inline-block text-right opacity-30;
@apply inline-block text-right opacity-30 transition-opacity duration-500;
margin-right: 12px;
content: counter(step);
color: var(--cbp-line-number-color, #999);
Expand All @@ -46,7 +46,7 @@
counter-increment: step;
}
.wp-block-kevinbatdorf-code-block-pro.cbp-has-line-numbers:not(.code-block-pro-editor) pre code .line:hover::before {
@apply opacity-70 transition-opacity duration-200
@apply opacity-70;
}
.wp-block-kevinbatdorf-code-block-pro:not(.code-block-pro-editor) pre * {
font-family: inherit;
Expand Down

0 comments on commit 85b68c2

Please sign in to comment.