calibre/manual/resources/custom.css
Kovid Goyal 197ec8c441
Better fix for static top nav bar
Use CSS grids. The earlier solution caused links to go to slightly
incorrect positions.
2020-11-27 13:21:51 +05:30

37 lines
1.0 KiB
CSS

/*
* custom.css
* Copyright (C) 2017 Kovid Goyal
*
* Distributed under terms of the GPLv3 license.
*/
pre, code {
white-space: pre-wrap;
}
div.body p, div.body dd, div.body li, div.body blockquote {
text-align: justify;
}
.float-left-img { float: left; margin-right: 1em; margin-bottom: 1em }
.float-right-img { float: right; margin-left: 1em; margin-bottom: 1em }
.half-with-img { max-width: 50% }
.fit-img { max-width: 95% }
a, input[type="submit"] { cursor: pointer; }
a { color: #006B8B; } /* increase contrast for links */
#calibre-homepage-logo img { width: 64px; height: 64px }
div.sphinxsidebar { user-select: none }
div.sphinxsidebar a, a.reference { border-bottom: none }
div.sphinxsidebar a:hover, a.reference:hover { color: red; border-bottom: none }
div.related { background-color: #39322b; color: white; font-family: sans-serif; padding: 0.5ex 0; }
div.related a { text-decoration: none; color: white; }
div.related a:hover { text-decoration: none; color: red; }
a.toc-backref { text-decoration: none; }