/*
 * 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; }
