Skip to content

Commit

Permalink
better css
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewgryan committed May 25, 2024
1 parent 3677cea commit d0cac47
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions docs/static/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,37 @@ h3 {
font-style: normal;
}

h1 {
--color-1: #550527;
--color-2: #688e26;
--color-3: #faa613;
--color-4: #f44708;
--color-5: #a10702;
color: transparent;
text-wrap: balance;
background: linear-gradient(
135deg,
var(--color-1) calc(19% - 1px),
transparent 19%,
transparent calc(20% - 1px),
var(--color-2) 20%,
var(--color-2) calc(39% - 1px),
transparent 39%,
transparent calc(40% - 1px),
var(--color-3) 40%,
var(--color-3) calc(59% - 1px),
transparent 59%,
transparent calc(60% - 1px),
var(--color-4) 60%,
var(--color-4) calc(79% - 1px),
transparent 79%,
transparent calc(80% - 1px),
var(--color-5) 80%
);
background-clip: text;
-webkit-background-clip: text;
}

pre {
padding-inline: 0.75rem;
padding-block: 0.5rem;
Expand Down

0 comments on commit d0cac47

Please sign in to comment.