mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-08-11 09:13:57 -04: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
@ -402,7 +402,3 @@ img, object, svg|svg {
|
|||||||
height: auto;
|
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 @@ class Serializer(object):
|
|||||||
itemhref = re.sub(r'article_\d+/', '', itemhref)
|
itemhref = re.sub(r'article_\d+/', '', itemhref)
|
||||||
self.href_offsets[itemhref].append(buf.tell())
|
self.href_offsets[itemhref].append(buf.tell())
|
||||||
buf.write('0000000000')
|
buf.write('0000000000')
|
||||||
buf.write(' ><font size="+1" color="blue"><b><u>')
|
buf.write(' ><font size="+1"><b><u>')
|
||||||
t = tocitem.title
|
t = tocitem.title
|
||||||
if isinstance(t, unicode):
|
if isinstance(t, unicode):
|
||||||
t = t.encode('utf-8')
|
t = t.encode('utf-8')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user