Skip to content

Commit

Permalink
Update styles
Browse files Browse the repository at this point in the history
  • Loading branch information
gpbl committed May 7, 2024
1 parent 9115ee8 commit 5dc5968
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions website/src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,13 @@ html[data-theme="dark"] .rdp {
--rdp-selected-color: var(--ifm-color-content);
}

html[data-theme="dark"] {
background-image: linear-gradient(to bottom, #0a0a0a, #131313) !important;
background-attachment: fixed !important;
background-size: cover !important;
background-repeat: no-repeat !important;
}

/* Style the main content area */
.main-wrapper main {
max-width: 110ch; /* Constrain the maximum width of the content for better readability */
Expand Down Expand Up @@ -271,6 +278,15 @@ pre {
font-size: 0.75rem;
}

.navbar {
background: rgba(255, 255, 255, 0.6); /* Black with 60% opacity */
backdrop-filter: blur(10px);
}

html[data-theme="dark"] .navbar {
background: rgba(1, 1, 1, 0.6); /* Black with 60% opacity */
}

div[class^="docRoot"],
.navbar__inner {
max-width: 1400px;
Expand Down

0 comments on commit 5dc5968

Please sign in to comment.