Skip to content

Commit

Permalink
new button image
Browse files Browse the repository at this point in the history
  • Loading branch information
muckelba committed Nov 9, 2023
1 parent b0268ff commit a178cdb
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
7 changes: 3 additions & 4 deletions src/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,16 @@ button.setting-button {
}

.tutorial-button {
background-image: url("/sgvideothumbnail.jpg");
background-image: url("/button_bg.jpg");
background-size: auto 250%;
background-position: center;
position: relative;
}

.tutorial-button:hover {
filter: brightness(1.3);
filter: brightness(0.9);
}

.tutorial-button:hover .foo {
.tutorial-button:active {
filter: brightness(0.8);
}

Expand Down
4 changes: 2 additions & 2 deletions src/routes/superglidetrainer/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -674,9 +674,9 @@
</label>
<span class:has-text-grey-light={!$isController} class="label-right">Controller</span>
</div>
<a class="button is-primary tutorial-button" href="https://www.youtube.com/watch?v=_cP1YO5Idts" target="_blank">
<a class="button is-size-5 is-primary tutorial-button" href="https://www.youtube.com/watch?v=_cP1YO5Idts" target="_blank">
<div class="transparent">
<span class="foo">Superglide Tutorial Video</span>
<strong>Superglide Tutorial Video</strong>
</div>
</a>
</div>
Expand Down
Binary file added static/button_bg.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed static/sgvideothumbnail.jpg
Binary file not shown.

0 comments on commit a178cdb

Please sign in to comment.