Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions docs/public/assets/sky.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 9 additions & 5 deletions docs/public/styles/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
@media (prefers-color-scheme: dark) {
:root {
--color-text: #ebf4f1;
--color-bg: #272b34;
--color-bg: #0b0e12;
--color-header-bg: rgba(37, 41, 49, 0.95);
--color-header-shadow: #220f2d;
--color-border: #525252;
Expand Down Expand Up @@ -115,9 +115,13 @@ body {

body {
font: 100%/1.5 system-ui, helvetica, sans-serif;
background: var(--color-bg);
background-color: var(--color-bg);
color: var(--color-text);
transition: background 0.3s;
transition: background-color 0.3s;
background-image: url('/assets/sky.svg');
background-position: top center;
background-repeat: repeat-x;
background-size: auto 40em;
}

/** Wraps the content */
Expand Down Expand Up @@ -339,7 +343,7 @@ h5:hover .anchor {
height: var(--header-height);
}
.header {
background: var(--color-bg);
background: transparent;
position: fixed;
top: 0;
left: 0;
Expand All @@ -352,7 +356,7 @@ h5:hover .anchor {
padding: 0 1rem;

/* top glow */
box-shadow: inset 0 4px 0 #49b9f5, inset 0 -1px 0 var(--color-header-shadow);
/* box-shadow: inset 0 4px 0 #49b9f5, inset 0 -1px 0 var(--color-header-shadow); */
/* make items appear centered visually, glow messes with preception */
padding-top: 0.25rem;
}
Expand Down