Skip to content

Commit

Permalink
Add styling
Browse files Browse the repository at this point in the history
  • Loading branch information
SmartGecko44 committed Aug 31, 2024
1 parent b629f3a commit e1e7b86
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions gxcko.me/src/components/PageTime.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ export default function PageTime() {
return (
<div id="pageTime" className={blur ? 'blur' : ""}>
<p>Time wasted on this page: {secondsToString(seconds)}</p>
{seconds > 3600 ? <p>Why are you still here?</p> : ""}
</div>
)
}
4 changes: 2 additions & 2 deletions gxcko.me/styles/text.css
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@
position: fixed;
bottom: 0;
right: 1%;

transition: all 1s ease-in-out,
color 0s;
}

#pageTime.blur {
filter: blur(5px);
transition: filter 1s ease-in-out;
}

0 comments on commit e1e7b86

Please sign in to comment.