Skip to content

Commit

Permalink
Light inset shadow on body
Browse files Browse the repository at this point in the history
  • Loading branch information
xezno committed Jun 20, 2024
1 parent 8bf514b commit 8e3eb07
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,17 @@ body {
text-rendering: optimizeLegibility;
}

body::before {
content: "";
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
box-shadow: 0 -50vh 50vh 0 rgba(0, 0, 0, 0.05) inset;
z-index: -1;
}

.serif {
font-family: "Instrument Serif", serif;
font-size: 1.25em; /* Optical match */
Expand Down

0 comments on commit 8e3eb07

Please sign in to comment.