mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 16:54:28 +02:00
No longer explicitly set the color of links to blue. This was needed for old versions of ADE which did not display links correctly without it. Since newer versions of ADE no longer have this problem, remove the workaround.
This commit is contained in:
parent
7a272a05d7
commit
4131aa18da
2 changed files with 1 additions and 5 deletions
|
|
@ -402,7 +402,3 @@ img, object, svg|svg {
|
|||
height: auto;
|
||||
}
|
||||
|
||||
/* These are needed because ADE renders anchors the same as links */
|
||||
|
||||
a { text-decoration: inherit; color: inherit; cursor: inherit }
|
||||
a[href] { text-decoration: underline; color: blue; cursor: pointer }
|
||||
|
|
|
|||
|
|
@ -235,7 +235,7 @@ def serialize_toc_level(tocref, href=None):
|
|||
itemhref = re.sub(r'article_\d+/', '', itemhref)
|
||||
self.href_offsets[itemhref].append(buf.tell())
|
||||
buf.write('0000000000')
|
||||
buf.write(' ><font size="+1" color="blue"><b><u>')
|
||||
buf.write(' ><font size="+1"><b><u>')
|
||||
t = tocitem.title
|
||||
if isinstance(t, unicode):
|
||||
t = t.encode('utf-8')
|
||||
|
|
|
|||
Loading…
Reference in a new issue