Customizing docs styles.

This commit is contained in:
Alexander Zobnin
2016-10-30 21:02:21 +03:00
parent db8be35ce5
commit f14f608c5a
2 changed files with 39 additions and 0 deletions

View File

@@ -7,6 +7,8 @@ copyright: Copyright © 2015-2016, Alexander Zobnin
docs_dir: sources docs_dir: sources
theme: readthedocs theme: readthedocs
extra_css:
- css/custom.css
pages: pages:
- Project: - Project:

View File

@@ -0,0 +1,37 @@
.wy-side-nav-search {
background-color: #8e3030
}
p {
margin-bottom: 24px;
}
.rst-content blockquote {
margin-left: 0px;
padding: 0 1em;
color: #777;
border-left: 0.25em solid #ddd;
}
code, .rst-content tt {
font-size: 85%;
color: #404040;
background-color: #f4f4f4;
padding: 1px 5px;
border-radius: 2px;
}
.hljs {
font-size: 100%;
padding: 1em 0.5em;
border-radius: 4px;
border-color: #f4f4f4;
}
.btn-neutral:hover {
background-color: #8e3030 !important;
color: #f4f4f4 !important;
box-shadow:
0px 1px 2px -1px rgba(255,255,255,0.5) inset,
0px -2px 0px 0px rgba(0, 0, 0, 0.2) inset;
}