File tree Expand file tree Collapse file tree 2 files changed +14
-18
lines changed Expand file tree Collapse file tree 2 files changed +14
-18
lines changed Original file line number Diff line number Diff line change @@ -1612,15 +1612,13 @@ def _line_pair_iterator():
16121612
16131613
16141614_file_template = """
1615- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
1616- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
1617-
1618- <html>
1615+ <!DOCTYPE html>
1616+ <html lang="en">
16191617
16201618<head>
1621- <meta http-equiv="Content-Type"
1622- content="text/html; charset=%(charset)s" / >
1623- <title></title>
1619+ <meta name="viewport" content="width=device-width, initial-scale=1">
1620+ <meta charset=" %(charset)s">
1621+ <title>Comparison page </title>
16241622 <style type="text/css">%(styles)s
16251623 </style>
16261624</head>
@@ -1643,9 +1641,9 @@ def _line_pair_iterator():
16431641
16441642 @media (prefers-color-scheme: dark) {
16451643 .diff_header {background-color:#666}
1646- .diff_next {background-color:#444 }
1644+ .diff_next {background-color:#393939 }
16471645 .diff_add {background-color:darkgreen}
1648- .diff_chg {background-color:goldenrod }
1646+ .diff_chg {background-color:#847415 }
16491647 .diff_sub {background-color:darkred}
16501648 }"""
16511649
Original file line number Diff line number Diff line change 11
2- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4-
5- < html >
2+ <!DOCTYPE html>
3+ < html lang ="en ">
64
75< head >
8- < meta http-equiv =" Content-Type "
9- content =" text/html; charset=utf-8 " / >
10- < title > </ title >
6+ < meta name =" viewport " content =" width=device-width, initial-scale=1 " >
7+ < meta charset =" utf-8 ">
8+ < title > Comparison page </ title >
119 < style type ="text/css ">
1210 : root {color-scheme : light dark}
1311 table .diff {font-family : Courier; border : medium;}
2018
2119 @media (prefers-color-scheme : dark) {
2220 .diff_header {background-color : # 666 }
23- .diff_next {background-color : # 444 }
21+ .diff_next {background-color : # 393939 }
2422 .diff_add {background-color : darkgreen}
25- .diff_chg {background-color : goldenrod }
23+ .diff_chg {background-color : # 847415 }
2624 .diff_sub {background-color : darkred}
2725 }
2826 </ style >
You can’t perform that action at this time.
0 commit comments