Merge branch 'master' into dev
This commit is contained in:
@@ -269,6 +269,7 @@ class ToHtml(Tokenizer):
|
|||||||
theStyles.append(r"h1, h2 {color: rgb(66, 113, 174);}")
|
theStyles.append(r"h1, h2 {color: rgb(66, 113, 174);}")
|
||||||
theStyles.append(r"h3, h4 {color: rgb(50, 50, 50);}")
|
theStyles.append(r"h3, h4 {color: rgb(50, 50, 50);}")
|
||||||
theStyles.append(r"h1, h2, h3, h4 {page-break-after: avoid;}")
|
theStyles.append(r"h1, h2, h3, h4 {page-break-after: avoid;}")
|
||||||
|
theStyles.append(r"a {color: rgb(66, 113, 174);}")
|
||||||
theStyles.append(r".title {font-size: 2.5em;}")
|
theStyles.append(r".title {font-size: 2.5em;}")
|
||||||
theStyles.append(r".tags {color: rgb(245, 135, 31); font-weight: bold;}")
|
theStyles.append(r".tags {color: rgb(245, 135, 31); font-weight: bold;}")
|
||||||
theStyles.append(r".break {text-align: left;}")
|
theStyles.append(r".break {text-align: left;}")
|
||||||
|
|||||||
+1
-2
@@ -982,8 +982,7 @@ class GuiBuildNovelDocView(QTextBrowser):
|
|||||||
if not theStyles:
|
if not theStyles:
|
||||||
theStyles.append(r"h1, h2 {color: rgb(66, 113, 174);}")
|
theStyles.append(r"h1, h2 {color: rgb(66, 113, 174);}")
|
||||||
theStyles.append(r"h3, h4 {color: rgb(50, 50, 50);}")
|
theStyles.append(r"h3, h4 {color: rgb(50, 50, 50);}")
|
||||||
theStyles.append(r"a {color: rgb(137, 89, 168);}")
|
theStyles.append(r"a {color: rgb(66, 113, 174);}")
|
||||||
theStyles.append(r"mark {background-color: rgb(240, 198, 116);}")
|
|
||||||
theStyles.append(r".tags {color: rgb(245, 135, 31); font-weight: bold;}")
|
theStyles.append(r".tags {color: rgb(245, 135, 31); font-weight: bold;}")
|
||||||
|
|
||||||
self.qDocument.setDefaultStyleSheet("\n".join(theStyles))
|
self.qDocument.setDefaultStyleSheet("\n".join(theStyles))
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ p {text-align: left;}
|
|||||||
h1, h2 {color: rgb(66, 113, 174);}
|
h1, h2 {color: rgb(66, 113, 174);}
|
||||||
h3, h4 {color: rgb(50, 50, 50);}
|
h3, h4 {color: rgb(50, 50, 50);}
|
||||||
h1, h2, h3, h4 {page-break-after: avoid;}
|
h1, h2, h3, h4 {page-break-after: avoid;}
|
||||||
|
a {color: rgb(66, 113, 174);}
|
||||||
.title {font-size: 2.5em;}
|
.title {font-size: 2.5em;}
|
||||||
.tags {color: rgb(245, 135, 31); font-weight: bold;}
|
.tags {color: rgb(245, 135, 31); font-weight: bold;}
|
||||||
.break {text-align: left;}
|
.break {text-align: left;}
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ p {text-align: justify;}
|
|||||||
h1, h2 {color: rgb(66, 113, 174);}
|
h1, h2 {color: rgb(66, 113, 174);}
|
||||||
h3, h4 {color: rgb(50, 50, 50);}
|
h3, h4 {color: rgb(50, 50, 50);}
|
||||||
h1, h2, h3, h4 {page-break-after: avoid;}
|
h1, h2, h3, h4 {page-break-after: avoid;}
|
||||||
|
a {color: rgb(66, 113, 174);}
|
||||||
.title {font-size: 2.5em;}
|
.title {font-size: 2.5em;}
|
||||||
.tags {color: rgb(245, 135, 31); font-weight: bold;}
|
.tags {color: rgb(245, 135, 31); font-weight: bold;}
|
||||||
.break {text-align: left;}
|
.break {text-align: left;}
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ p {text-align: justify;}
|
|||||||
h1, h2 {color: rgb(66, 113, 174);}
|
h1, h2 {color: rgb(66, 113, 174);}
|
||||||
h3, h4 {color: rgb(50, 50, 50);}
|
h3, h4 {color: rgb(50, 50, 50);}
|
||||||
h1, h2, h3, h4 {page-break-after: avoid;}
|
h1, h2, h3, h4 {page-break-after: avoid;}
|
||||||
|
a {color: rgb(66, 113, 174);}
|
||||||
.title {font-size: 2.5em;}
|
.title {font-size: 2.5em;}
|
||||||
.tags {color: rgb(245, 135, 31); font-weight: bold;}
|
.tags {color: rgb(245, 135, 31); font-weight: bold;}
|
||||||
.break {text-align: left;}
|
.break {text-align: left;}
|
||||||
|
|||||||
Reference in New Issue
Block a user