Skip to content

Commit

Permalink
Fix position of snow canvas.
Browse files Browse the repository at this point in the history
  • Loading branch information
t-paul committed Dec 1, 2023
1 parent 2bc9598 commit b2473f7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ section-area.snow { color: rgba(249, 215, 44, 1); background:#444; }
section-area.snow a { color: #e5f1d3; }
section-area.warning { color: rgba(249, 215, 44, 1); background:#a00; }
section-area.warning a { color: #e5f1d3; text-decoration:underline; }
#snow { position: relative; }

section {margin-bottom:20px; background:#fff; border-radius:8px; border:1px solid #ddd; padding:10px 20px 20px 20px;}
.subsection {margin-bottom:20px;}
Expand Down
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@
<script src="assets/js/home.js"></script>
<script src="assets/js/header.js"></script>
<script type="text/javascript">
window.onload = function() {
document.addEventListener("DOMContentLoaded", function() {
new Snow('#snow', { number:12, r: 2.5, v: 1 });
}
});
</script>
<style>
.header {
Expand Down

0 comments on commit b2473f7

Please sign in to comment.