This repository has been archived by the owner on Jan 18, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from YosefLab/docs
use simpler rtd theme
- Loading branch information
Showing
4 changed files
with
102 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
/* influenced by and borrowed from: https://github.com/cvxgrp/pymde/blob/main/docs_src/source/_static/css/custom.css */ | ||
|
||
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,600;1,300;1,400;1,600&display=swap'); | ||
|
||
:root { | ||
--sidebarcolor: #003262; | ||
--sidebarfontcolor: #ffffff; | ||
--sidebarhover: #295e97; | ||
|
||
--bodyfontcolor: #333; | ||
--webfont: 'Roboto'; | ||
|
||
--contentwidth: 1000px; | ||
} | ||
|
||
/* Fonts and text */ | ||
h1, h2, h3, h4, h5, h6 { | ||
font-family: var(--webfont), 'Helvetica Neue', Helvetica, Arial, sans-serif; | ||
font-weight: 400; | ||
} | ||
|
||
h2, h3, h4, h5, h6 { | ||
padding-top: 0.25em; | ||
margin-bottom: 0.5em; | ||
} | ||
|
||
h1 { | ||
font-size: 225%; | ||
} | ||
|
||
body { | ||
font-family: var(--webfont), 'Helvetica Neue', Helvetica, Arial, sans-serif; | ||
color: var(--bodyfontcolor); | ||
} | ||
|
||
p { | ||
font-size: 1em; | ||
line-height: 150%; | ||
} | ||
|
||
|
||
/* Sidebar */ | ||
.wy-side-nav-search { | ||
background-color: var(--sidebarcolor); | ||
} | ||
|
||
.wy-nav-side { | ||
background: var(--sidebarcolor); | ||
} | ||
|
||
.wy-menu-vertical header, .wy-menu-vertical p.caption { | ||
color: var(--sidebarfontcolor); | ||
} | ||
|
||
.wy-menu-vertical a { | ||
color: var(--sidebarfontcolor); | ||
} | ||
|
||
.wy-side-nav-search > div.version { | ||
color: var(--sidebarfontcolor); | ||
} | ||
|
||
.wy-menu-vertical a:hover { | ||
background-color: var(--sidebarhover); | ||
} | ||
|
||
/* Main content */ | ||
.wy-nav-content { | ||
max-width: var(--contentwidth); | ||
} | ||
|
||
|
||
html.writer-html5 .rst-content dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.glossary):not(.simple) dl:not(.field-list) > dt{ | ||
margin-bottom: 6px; | ||
border-left: none; | ||
background: none; | ||
color: #555; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters