Skip to content

Commit

Permalink
💄 improve text visibility in browse section (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
chase-manning authored Oct 25, 2023
1 parent affce9f commit fdb112e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/components/Browse.css
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,17 @@
z-index: 2;
}

.browse-highlight {
position: absolute;
bottom: -5rem;
left: 6rem;
width: 50%;
height: 50%;
background: rgba(255, 255, 255, 0.4);
border-radius: 50%;
filter: blur(200px);
}

.browse-header {
color: var(--main);
font-size: 8.8rem;
Expand Down
1 change: 1 addition & 0 deletions src/components/Browse.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ const Browse = () => {
<Section id="browse">
<div className="browse" ref={containerRef}>
<div className="browse-content" style={fixedStyles}>
<div className="browse-highlight" />
<h2 className="browse-header">Browse anime art from the community</h2>
<Button
link="https://uwucrew.art/derivatives"
Expand Down

0 comments on commit fdb112e

Please sign in to comment.