Skip to content

Commit

Permalink
Add sponsorship footer
Browse files Browse the repository at this point in the history
  • Loading branch information
Folyd committed Jul 2, 2023
1 parent e0ec06d commit 6342d7c
Show file tree
Hide file tree
Showing 4 changed files with 188 additions and 43 deletions.
2 changes: 1 addition & 1 deletion static/footer.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

33 changes: 33 additions & 0 deletions static/rustacean-flat-happy.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
52 changes: 52 additions & 0 deletions static/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,55 @@ main, footer {
.prose, .max-w-prose {
max-width: 80ch !important;
}

/* ============== sponsorship styles ======================= */
.hill {
position: absolute;
contain: paint;
height: 100%;
width: 100%;
}

.hill::before {
z-index: 0;
border-top-left-radius: 100%;
border-top-right-radius: 100%;
position: absolute;
top: 2rem;
}

.hill::before, :not(.has-ferris)>.hill::before {
background: rgb(240 236 232);
right: -16rem;
left: -16rem;
bottom: -8rem;
content: "";
}

.friendship-footer .friendship-tier h3 {
font-size: 22px;
color: rgb(122, 95, 79);
font-weight: 600;
position: relative;
margin-bottom: 1rem;
}

.friendship-footer .friendship-tier h3::before {
content: "";
display: block;
height: 1px;
width: 90%;
background-color: rgba(118,110,101,40%);
position: absolute;
top: 50%;
left: 50%;
transform: translateX(-50%);
max-width: 70rem;
}

.friendship-footer .friendship-tier h3>span {
background-color: rgb(240 236 232);
position: relative;
padding-right: 2rem;
padding-left: 2rem;
}
Loading

0 comments on commit 6342d7c

Please sign in to comment.