forked from fatiando/pooch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use the sphinx-book-theme instead of rtd-theme (fatiando#236)
The new theme is much nicer and includes some of the things we had to hack the template of RTD theme to achieve (edit buttons, open issue, etc).
- Loading branch information
Showing
8 changed files
with
81 additions
and
242 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 |
---|---|---|
@@ -1,123 +1,18 @@ | ||
/* To stick the footer to the bottom of the page */ | ||
html { | ||
span.project-version { | ||
color: #999999; | ||
font-size: 0.8em; | ||
font-weight: 600; | ||
margin-left: 5px; | ||
} | ||
|
||
body { | ||
font-family: 'Open Sans', sans-serif; | ||
.table td { | ||
padding: 0.5rem; | ||
} | ||
|
||
h1, h2, h3, h4 { | ||
font-weight: 300; | ||
font-family: "Open Sans",sans-serif; | ||
.table td p { | ||
margin-bottom: 0 !important; | ||
} | ||
|
||
h1 { | ||
font-size: 200%; | ||
} | ||
|
||
.sidebar-title { | ||
margin-top: 10px; | ||
margin-bottom: 0px; | ||
} | ||
|
||
.banner { | ||
padding-bottom: 60px; | ||
text-align: center; | ||
} | ||
|
||
.banner img { | ||
margin-bottom: 40px; | ||
} | ||
|
||
.api-module { | ||
margin-bottom: 80px; | ||
} | ||
|
||
.youtube-embed { | ||
max-width: 600px; | ||
margin-bottom: 24px; | ||
} | ||
|
||
.video-container { | ||
position:relative; | ||
padding-bottom:56.25%; | ||
padding-top:30px; | ||
height:0; | ||
overflow:hidden; | ||
} | ||
|
||
.video-container iframe, .video-container object, .video-container embed { | ||
position:absolute; | ||
top:0; | ||
left:0; | ||
width:100%; | ||
height:100%; | ||
} | ||
|
||
.wy-nav-content { | ||
max-width: 1000px; | ||
} | ||
|
||
.wy-nav-top { | ||
background-color: #555555; | ||
} | ||
|
||
.wy-side-nav-search { | ||
background-color: #555555; | ||
} | ||
|
||
.wy-side-nav-search > a img.logo { | ||
width: 30%; | ||
} | ||
|
||
.wy-side-nav-search input[type="text"] { | ||
border-color: #555555; | ||
} | ||
|
||
/* Remove the padding from the Parameters table */ | ||
.rst-content table.field-list .field-name { | ||
padding-left: 0px; | ||
} | ||
|
||
/* Lign up the Parameters section with the descriptions */ | ||
.rst-content table.field-list td { | ||
padding-top: 8px; | ||
} | ||
|
||
/* Don't let captions be italic */ | ||
.rst-content div.figure p.caption { | ||
font-style: normal; | ||
} | ||
|
||
.rst-content .highlight > pre { | ||
font-size: 14px; | ||
} | ||
|
||
.rst-content img { | ||
max-width: 100%; | ||
} | ||
|
||
.source-link { | ||
float: right; | ||
} | ||
|
||
.rst-content blockquote { | ||
margin-left: 0; | ||
padding-left: 10px; | ||
color: #888888; | ||
border-left: #dddddd solid 3px; | ||
padding-bottom: 4px; | ||
} | ||
|
||
.rst-content blockquote p { | ||
margin-bottom: 0; | ||
} | ||
|
||
/* Don't let the edit and notebook download links disappear on mobile. */ | ||
@media screen and (max-width: 480px) { | ||
.wy-breadcrumbs li.source-link { | ||
float:none; | ||
display: block; | ||
margin-top: 20px; | ||
} | ||
.py-obj { | ||
margin-right: 0.15rem; | ||
} |
This file was deleted.
Oops, something went wrong.
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
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
Oops, something went wrong.