Skip to content

Commit

Permalink
Apply some cute colors
Browse files Browse the repository at this point in the history
  • Loading branch information
Kludex committed Apr 29, 2024
1 parent 351acf5 commit 6bf286f
Showing 1 changed file with 18 additions and 8 deletions.
26 changes: 18 additions & 8 deletions docs/extra/tweaks.css
Original file line number Diff line number Diff line change
@@ -1,16 +1,26 @@
/* Revert hue value to that of pre mkdocs-material v9.4.0 */
[data-md-color-scheme="slate"] {
--md-hue: 230;
--md-default-bg-color: hsla(230, 15%, 21%, 1);
}

/* https://squidfunk.github.io/mkdocs-material/setup/changing-the-colors/#custom-colors */
:root {
--md-primary-fg-color: #E520E9;
--md-primary-fg-color--light: #E520E9;
--md-primary-fg-color--dark: #E520E9;
}

.md-header {
background: linear-gradient(45deg, rgb(53, 112, 227) 0%, rgb(53, 112, 227) 24%, rgb(42, 125, 227) 53%, rgb(27, 141, 226) 78%, rgb(8, 162, 225) 100%);
/* background: #1D0214; */
}

.md-tabs {
background: linear-gradient(45deg, rgb(53, 112, 227) 0%, rgb(53, 112, 227) 24%, rgb(42, 125, 227) 53%, rgb(27, 141, 226) 78%, rgb(8, 162, 225) 100%);
/* background: #1D0214; */
}

/* Revert hue value to that of pre mkdocs-material v9.4.0 */
[data-md-color-scheme="slate"] {
--md-hue: 230;
--md-default-bg-color: hsla(230, 15%, 21%, 1);
}

.custom-login-button {
font-size: 0.8rem;
font-weight: 700;
Expand All @@ -21,10 +31,10 @@
}

/* make David happy - make the padding next to the login button smaller */
.md-header__source {
/* .md-header__source {
width: auto !important;
margin-left: 1rem !important;
}
} */

/* Hide all ToC entries for parameters. */
li.md-nav__item>a[href*="("] {
Expand Down

0 comments on commit 6bf286f

Please sign in to comment.