Fix kodama2 custom cursor disappearing on scroll
Set min-height: 100vh on html/body so the cursor-bearing elements fill the viewport even when content is short. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
aff8c654cc
commit
23b634d0e0
1 changed files with 5 additions and 2 deletions
|
|
@ -6,7 +6,11 @@
|
|||
<style>
|
||||
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=IBM+Plex+Sans:ital,wght@0,400;0,500;0,600;1,400&display=swap');
|
||||
|
||||
* { margin: 0; padding: 0; box-sizing: border-box; }
|
||||
* { margin: 0; padding: 0; box-sizing: border-box;
|
||||
cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Ccircle cx='10' cy='10' r='3' fill='none' stroke='%23557766' stroke-width='1.5'/%3E%3Ccircle cx='10' cy='10' r='1' fill='%2377aa88'/%3E%3C/svg%3E") 10 10, default;
|
||||
}
|
||||
|
||||
html, body { min-height: 100vh; }
|
||||
|
||||
body {
|
||||
font-family: 'IBM Plex Sans', -apple-system, sans-serif;
|
||||
|
|
@ -14,7 +18,6 @@
|
|||
line-height: 1.65;
|
||||
color: #9ab4b8;
|
||||
background: #070d14;
|
||||
cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Ccircle cx='10' cy='10' r='3' fill='none' stroke='%23557766' stroke-width='1.5'/%3E%3Ccircle cx='10' cy='10' r='1' fill='%2377aa88'/%3E%3C/svg%3E") 10 10, default;
|
||||
}
|
||||
|
||||
a, button, input[type="submit"], summary, label {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue