readthedocs.org/media/css/readthedocs-doc-embed.css

155 lines
3.0 KiB
CSS
Raw Normal View History

2013-10-25 23:21:26 +00:00
/* Left for CSS overrides we need to make in the future */
2013-10-26 01:02:04 +00:00
/* Fix badge on RTD Theme */
2014-10-19 21:10:29 +00:00
/* Please keep RTD badge displayed on your site */
2014-10-19 21:07:39 +00:00
.rst-versions.rst-badge {
display: block;
}
2013-10-26 01:02:04 +00:00
.rst-other-versions {
text-align: left;
}
.rst-other-versions a {
border: 0;
}
.rst-other-versions dl {
margin: 0;
}
2014-10-16 01:22:16 +00:00
/* Fix RTD theme bottom margin */
.rst-content .line-block {
margin-bottom: 24px
}
2015-09-23 17:33:28 +00:00
/* Fix for nav bottom padding with flyout */
nav.wy-nav-side {
padding-bottom: 3em;
}
2014-11-06 23:02:57 +00:00
/* bookmark icon */
.bookmark-added-msg {display: none;}
.bookmark-active {display: none;}
.bookmark-inactive {display: none;}
2015-02-08 01:37:22 +00:00
/* Read the Docs promotional block, only applicable to RTD.org
To support sphinx_rtd_theme, a `wy-menu` element is added. Other themes are
targeted using the theme identifier and use custom elements instead of a CSS
framework html structure.
div.rst-pro is deprecated in favor of div.rtd-pro here, though we still need
both rules for historical docs.
*/
div.rtd-pro,
div.rst-pro {
display: block;
padding: .5em;
margin: 1em 0em 1em 0em;
2015-05-05 07:29:05 +00:00
text-align: center;
}
div.rtd-pro.wy-menu,
div.rtd-pro.wy-menu {
width: 300px;
}
div.rtd-pro.alabaster {
width: 100%;
box-sizing: border-box;
}
2015-02-08 01:37:22 +00:00
div.rtd-pro.wy-menu,
div.rst-pro.wy-menu {
bottom: 60px;
2015-05-05 07:29:05 +00:00
background: rgba(0, 0, 0, .06);
2015-02-08 01:37:22 +00:00
}
div.rtd-pro.alabaster {
background: rgba(220, 220, 220, .1);
2015-02-08 01:37:22 +00:00
}
div.rtd-pro > span,
div.rst-pro > span {
2015-05-05 07:29:05 +00:00
display: block;
font-size: 90%;
}
div.rtd-pro.wy-menu > span,
div.rst-pro.wy-menu > span {
color: #838383;
}
div.rtd-pro.wy-menu a,
div.rtd-pro.wy-menu a:link,
div.rtd-pro.wy-menu a:visited,
div.rst-pro.wy-menu a,
div.rst-pro.wy-menu a:link,
div.rst-pro.wy-menu a:visited { color: #b3b3b3; }
2015-02-08 01:37:22 +00:00
div.rtd-pro.wy-menu a:hover,
div.rtd-pro.wy-menu a:active,
div.rst-pro.wy-menu a:hover,
div.rst-pro.wy-menu a:active { color: #c3c3c3; }
2015-02-08 01:37:22 +00:00
div.rtd-pro a.rtd-pro-image-wrapper {
2015-05-05 07:29:05 +00:00
display: inline-block;
padding: 6px;
margin: 5px 0px 10px 0px;
border: 1px solid #434343;
border-radius: 3px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
}
div.rtd-pro.wy-menu a.rtd-pro-image-wrapper,
div.rst-pro.wy-menu a.rst-pro-image-wrapper {
border-color: #434343;
}
div.rtd-pro.alabaster a.rtd-pro-image-wrapper {
border-color: #d3d3d3;
}
div.rtd-pro img,
div.rst-pro.wy-menu img {
2015-05-05 07:29:05 +00:00
width: 120px;
height: 90px;
2015-02-08 01:37:22 +00:00
}
div.rtd-pro div.rtd-pro-about {
2015-05-05 07:29:05 +00:00
float: right;
2015-02-08 01:37:22 +00:00
text-align: right;
font-size: 90%;
}
div.rtd-pro.wy-menu div.rtd-pro-about,
div.rst-pro.wy-menu div.rst-pro-about {
color: white;
}
div.rtd-pro.alabaster div.rtd-pro-about a {
border-bottom: 0px;
}
div.rtd-pro.alabaster div.rtd-pro-about i.fa-info-circle:before {
content: "";
color: #a3a3a3;
}
@media (max-width: 768px) {
div.rst-pro.wy-menu {
display: none;
}
div.rtd-pro.alabaster {
background: rgba(220, 220, 220, .05);
}
div.rtd-pro.alabaster a.rtd-pro-image-wrapper {
border-color: #656565;
}
}