| 1 |
/* |
| 2 |
* custom.css |
| 3 |
* Copyright (C) 2017 Kovid Goyal |
| 4 |
* |
| 5 |
* Distributed under terms of the GPLv3 license. |
| 6 |
*/ |
| 7 |
|
| 8 |
pre, code { |
| 9 |
white-space: pre-wrap; |
| 10 |
} |
| 11 |
|
| 12 |
div.body p, div.body dd, div.body li, div.body blockquote { |
| 13 |
text-align: justify; |
| 14 |
} |
| 15 |
|
| 16 |
.float-left-img { float: left; margin-right: 1em; margin-bottom: 1em } |
| 17 |
|
| 18 |
.float-right-img { float: right; margin-left: 1em; margin-bottom: 1em } |
| 19 |
|
| 20 |
.half-with-img { max-width: 50% } |
| 21 |
|
| 22 |
.fit-img { max-width: 95% } |
| 23 |
|
| 24 |
a, input[type="submit"] { cursor: pointer; } |
| 25 |
|
| 26 |
a { color: #006B8B; } /* increase contrast for links */ |
| 27 |
|
| 28 |
#calibre-homepage-logo img { width: 64px; height: 64px } |
| 29 |
|
| 30 |
div.sphinxsidebar { user-select: none } |
| 31 |
div.sphinxsidebar a, a.reference { border-bottom: none } |
| 32 |
div.sphinxsidebar a:hover, a.reference:hover { color: red; border-bottom: none } |
| 33 |
div.related { background-color: #39322b; color: white; font-family: sans-serif; padding: 0.5ex 0; } |
| 34 |
div.related a { text-decoration: none; color: white; } |
| 35 |
div.related a:hover { text-decoration: none; color: red; } |
| 36 |
a.toc-backref { text-decoration: none; } |