Skip to content

Commit

Permalink
paddings and colors
Browse files Browse the repository at this point in the history
  • Loading branch information
leiyre authored and dcfidalgo committed Jul 5, 2022
1 parent eeac67d commit f00a721
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 4 deletions.
18 changes: 17 additions & 1 deletion docs/_static/css/custom.css
Expand Up @@ -117,11 +117,17 @@ p.admonition-title::before {
.content div[class^=highlight], .content pre.literal-block {
border: none;
border-radius: 5px;
padding: 1em;
}
.highlight pre {
padding: 2em !important;
}
div.nbinput.container, div.nboutput.container {
margin: 2em 0 !important;
}
.article-container img {
margin: 2em 0;
display: flex;
}
:target>h1:first-of-type, :target>h2:first-of-type, :target>h3:first-of-type, :target>h4:first-of-type, :target>h5:first-of-type, :target>h6:first-of-type, span:target~h1:first-of-type, span:target~h2:first-of-type, span:target~h3:first-of-type, span:target~h4:first-of-type, span:target~h5:first-of-type, span:target~h6:first-of-type {
background: var(--color-sidebar-item-background--current);
}
Expand Down Expand Up @@ -279,6 +285,16 @@ a.back-to-top.muted-link {
border-radius: 3px;
min-height: 40px;
}
.sidebar-search::placeholder {
color: var(--color-search-placeholder)
}
.sidebar-scroll, .toc-scroll {
-ms-overflow-style: none; /* IE and Edge */
scrollbar-width: none; /* Firefox */
}
.sidebar-scroll::-webkit-scrollbar, .toc-scroll::-webkit-scrollbar {
display: none; /* Chrome, Safari and Opera */
}
.sidebar-search-container:before {
z-index: 12;
background: var(--color-search-icon)
Expand Down
8 changes: 5 additions & 3 deletions docs/conf.py
Expand Up @@ -177,7 +177,8 @@
"color-link--hover": "#0508D9",
"content-padding": "5em",
"content-padding--small": "2em",
"color-search-icon": "#0508D9"
"color-search-icon": "#0508D9",
"color-search-placeholder": "#0508D9",
},
"dark_css_variables": {
"color-sidebar-background": "#000000",
Expand All @@ -195,12 +196,13 @@
"color-sidebar-search-border": "#FFFFFF",
"color-sidebar-search-foreground": "#FFFFFF",
"color-content-foreground": "#FFFFFF",
"color-toc-title": "#7e8ee7",
"color-toc-title": "#FFFFFF",
"color-toc-item-text--hover": "#FFFFFF",
"color-toc-item-text--active": "#FFFFFF",
"color-link": "#7e8ee7",
"color-link--hover": "#98a4e4",
"color-search-icon": "#FFFFFF"
"color-search-icon": "#FFFFFF",
"color-search-placeholder": "#FFFFFF",
},
}
pygments_style = "material"
Expand Down

0 comments on commit f00a721

Please sign in to comment.