Skip to content

Commit 73a6a40

Browse files
Make button respond to hover and delete cruft (#373)
1 parent b135ea4 commit 73a6a40

3 files changed

Lines changed: 5 additions & 33 deletions

File tree

assets/theme-css/styles.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,10 @@ a > code {
119119
cursor: pointer;
120120
}
121121

122+
.cta-button:hover {
123+
color: var(--pst-color-link-hover);
124+
}
125+
122126
#feature-card {
123127
height: 475px;
124128
}

layouts/partials/hero-body.html

Lines changed: 0 additions & 32 deletions
This file was deleted.

layouts/partials/hero.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
{{ end }}
2323
{{ if $buttonText }}
2424
<div class="hero-cta">
25-
<a href="{{ $buttonLink }}"><button class="cta-button">{{ $buttonText }}</button></a>
25+
<a href="{{ $buttonLink }}"><button class="cta-button button">{{ $buttonText }}</button></a>
2626
</div>
2727
{{ end }}
2828
</div>

0 commit comments

Comments
 (0)