Skip to content

Commit

Permalink
Make button respond to hover and delete cruft (#373)
Browse files Browse the repository at this point in the history
  • Loading branch information
jarrodmillman authored Nov 2, 2023
1 parent b135ea4 commit 73a6a40
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 33 deletions.
4 changes: 4 additions & 0 deletions assets/theme-css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,10 @@ a > code {
cursor: pointer;
}

.cta-button:hover {
color: var(--pst-color-link-hover);
}

#feature-card {
height: 475px;
}
Expand Down
32 changes: 0 additions & 32 deletions layouts/partials/hero-body.html

This file was deleted.

2 changes: 1 addition & 1 deletion layouts/partials/hero.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
{{ end }}
{{ if $buttonText }}
<div class="hero-cta">
<a href="{{ $buttonLink }}"><button class="cta-button">{{ $buttonText }}</button></a>
<a href="{{ $buttonLink }}"><button class="cta-button button">{{ $buttonText }}</button></a>
</div>
{{ end }}
</div>
Expand Down

0 comments on commit 73a6a40

Please sign in to comment.