Skip to content

Commit

Permalink
Fix css transition
Browse files Browse the repository at this point in the history
  • Loading branch information
jotonedev committed Mar 1, 2024
1 parent fa26a58 commit d62f458
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
jekyll-theme-tallneck (0.2.6)
jekyll-theme-tallneck (0.2.7)
jekyll (>= 4.0, < 5.0)
jekyll-feed (~> 0.17)
jekyll-seo-tag (~> 2.8)
Expand Down
3 changes: 1 addition & 2 deletions _sass/tallneck/components/post-card.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,10 @@
border: 3px solid transparent;
border-image: linear-gradient(45deg, var(--accent-primary), var(--accent-secondary)) 1;

transition: 0.4s;
transition: 0.4s ease;
&:hover {
box-shadow: 0 0 10px 0 var(--border-primary);
border-image: linear-gradient(45deg, var(--accent-secondary), var(--accent-primary)) 1;
transition: 0.4s;
}

.post-card--link {
Expand Down
3 changes: 1 addition & 2 deletions _sass/tallneck/components/post-preview.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
.post-preview {
width: 100%;

transition: 0.4s;
transition: 0.4s ease;

padding-left: 1rem;
padding-right: 1rem;
Expand All @@ -22,7 +22,6 @@
&:hover {
border-radius: 5px;
box-shadow: 0 0 5px 0 var(--border-primary);
transition: 0.4s;
}

.post-preview--link {
Expand Down
2 changes: 1 addition & 1 deletion jekyll-theme-tallneck.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Gem::Specification.new do |spec|
spec.name = "jekyll-theme-tallneck"
spec.version = "0.2.6"
spec.version = "0.2.7"
spec.authors = ["John Toniutti"]
spec.email = ["[email protected]"]

Expand Down

0 comments on commit d62f458

Please sign in to comment.