mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
DOCX Input: Fix hyperlink showing as underlined even if the hyperlink style in word is set to not show underlines.
This commit is contained in:
parent
4992f3fb37
commit
2e2f74ea09
@ -446,6 +446,9 @@ class Styles(object):
|
|||||||
/* In word all paragraphs have zero margins unless explicitly specified in a style */
|
/* In word all paragraphs have zero margins unless explicitly specified in a style */
|
||||||
ul, ol, p, h1, h2, h3, h4, h5, h6 { margin: 0; padding: 0 }
|
ul, ol, p, h1, h2, h3, h4, h5, h6 { margin: 0; padding: 0 }
|
||||||
|
|
||||||
|
/* The word hyperlink styling will set text-decoration to underline if needed */
|
||||||
|
a { text-decoration: none }
|
||||||
|
|
||||||
sup.noteref a { text-decoration: none }
|
sup.noteref a { text-decoration: none }
|
||||||
|
|
||||||
h1.notes-header { page-break-before: always }
|
h1.notes-header { page-break-before: always }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user