Skip to content

Commit 4abad1c

Browse files
committed
tweak link layout
1 parent 961f8f8 commit 4abad1c

2 files changed

Lines changed: 12 additions & 1 deletion

File tree

index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@
3838
Hover over a shape / pinch to move it<br>
3939
Move a shape into the recycle bin to delete it
4040
</div>
41-
<p id="links-para"><a href="https://x.com/measure_plan" target="_blank">Twitter</a> | <a href="https://www.instagram.com/stereo.drift/" target="_blank">Instagram</a> | <a href="https://github.com/collidingScopes/shape-creator-tutorial" target="_blank">Source Code</a> | <a href="https://buymeacoffee.com/stereodrift" target="_blank">❤️</a></p>
41+
<span id="links-para"><a href="https://x.com/measure_plan" target="_blank">Twitter</a> | <a href="https://www.instagram.com/stereo.drift/" target="_blank">Instagram</a> | <a href="https://github.com/collidingScopes/shape-creator-tutorial" target="_blank">Code</a></span>
42+
<span id="coffee-link"><a href="https://buymeacoffee.com/stereodrift" target="_blank">Support my free tutorials & code ❤️</a></span>
4243

4344
<script src="https://cdn.jsdelivr.net/npm/@mediapipe/hands/hands.js"></script>
4445
<script src="https://cdn.jsdelivr.net/npm/@mediapipe/camera_utils/camera_utils.js"></script>

styles.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,14 @@ body, html {
5353

5454
a {
5555
color: #0000FF !important;
56+
}
57+
58+
#coffee-link {
59+
position: absolute;
60+
top: 5px;
61+
right: 5px;
62+
font-family: Helvetica, sans-serif;
63+
font-size: 16px;
64+
background-color: rgba(255, 255, 255, 0.5);
65+
padding: 10px;
5666
}

0 commit comments

Comments
 (0)