Skip to content

Commit

Permalink
Necessary updates to css styles for material mkdocs version 8.3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
exequielrafaela committed Jul 9, 2022
1 parent b220555 commit d6045d9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/assets/stylesheets/extra.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@
}
}

* {
--md-primary-fg-color: #0a192f;
--md-primary-fg-color--light: #029c8e;
--md-primary-fg-color--dark: #303C55;
--md-typeset-color: var(--md-default-fg-color);
--md-typeset-a-color: var(--md-primary-fg-color--light);
}

:root {
--md-primary-fg-color: #0a192f;
--md-primary-fg-color--light: #029c8e;
Expand Down
2 changes: 2 additions & 0 deletions material/overrides/main-styles.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
}

.tx-container {
--md-primary-fg-color: #0a192f;
height: fit-content;
padding-top: 0rem;
background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1123 258'><path d='M1124,2c0,0 0,256 0,256l-1125,0l0,-48c0,0 16,5 55,5c116,0 197,-92 325,-92c121,0 114,46 254,46c140,0 214,-167 572,-166Z' style='fill: white' /></svg>") no-repeat bottom, linear-gradient(to bottom, var(--md-primary-fg-color), #2a978d 99%, #fff 99%)
Expand Down Expand Up @@ -164,6 +165,7 @@
}

.tx-container-3 {
--md-primary-fg-color: #0a192f;
height: auto;
background: linear-gradient(to bottom, var(--md-primary-fg-color), #02162f 100%, #fff 99%);
}
Expand Down

0 comments on commit d6045d9

Please sign in to comment.