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

123 lines
2.6 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;
2013-10-26 01:02:04 +00:00
}
.rst-other-versions a {
border: 0;
2013-10-26 01:02:04 +00:00
}
.rst-other-versions dl {
margin: 0;
2013-10-26 01:02:04 +00:00
}
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.
*/
2018-03-04 07:55:21 +00:00
div.ethical-sidebar, div.ethical-footer {
display: block !important;
}
2018-03-04 07:55:21 +00:00
.ethical-sidebar, .ethical-footer {
padding: .5em;
margin: 1em 0;
}
2018-03-04 07:55:21 +00:00
.ethical-sidebar img, .ethical-footer img {
2015-05-05 07:29:05 +00:00
width: 120px;
height: 90px;
2018-03-04 07:55:21 +00:00
display: inline-block;
2015-02-08 01:37:22 +00:00
}
2018-03-04 07:55:21 +00:00
.ethical-sidebar .ethical-callout, .ethical-footer .ethical-callout {
padding-top: 1em;
clear: both;
2015-02-08 01:37:22 +00:00
}
2018-03-04 07:55:21 +00:00
.ethical-sidebar .ethical-pixel, .ethical-footer .ethical-pixel {
display: none !important;
}
2018-03-04 07:55:21 +00:00
.ethical-sidebar .ethical-text, .ethical-footer .ethical-text {
margin-top: 1em;
}
2018-03-04 07:55:21 +00:00
.ethical-sidebar .ethical-image-link, .ethical-footer .ethical-image-link {
border: 0;
}
2018-03-04 07:55:21 +00:00
/* Sidebar promotions */
.ethical-sidebar {
text-align: center;
}
2018-03-04 07:55:21 +00:00
/* Footer promotions */
.ethical-footer {
text-align: left;
2018-03-04 07:55:21 +00:00
font-size: 90%;
}
2018-03-04 07:55:21 +00:00
.ethical-footer img {
float: right;
margin-left: 25px;
}
2018-03-04 07:55:21 +00:00
.ethical-footer .ethical-callout {
text-align: right;
}
2018-03-04 07:55:21 +00:00
/* RTD Theme specific customizations */
.ethical-rtd .ethical-sidebar {
/* RTD theme doesn't set sidebar text color */
color: #b3b3b3;
2018-03-04 07:55:21 +00:00
/* RTD theme doesn't correctly set the sidebar width */
width: 300px;
2018-03-04 07:55:21 +00:00
font-size: 14px;
line-height: 20px;
}
.ethical-rtd .ethical-sidebar a,
.ethical-rtd .ethical-sidebar a:visited,
.ethical-rtd .ethical-sidebar a:hover,
.ethical-rtd .ethical-sidebar a:active {
/* RTD theme doesn't set sidebar link color */
color: #efefef;
}
2017-11-13 20:43:34 +00:00
2018-03-04 07:55:21 +00:00
/* Alabaster specific customizations */
.ethical-alabaster a.ethical-image-link {
/* Alabaster adds a border even to image links on hover */
border: 0 !important;
}
.ethical-alabaster hr {
/* Alabaster needs some extra spacing before the footer ad */
margin-top: 2em;
2017-11-13 20:43:34 +00:00
}
2018-04-02 19:26:22 +00:00
.ethical-alabaster {
/* Alabaster's search box above the ad is floating */
clear: both;
}