Skip to content

Commit 90026f9

Browse files
committed
some encoding and cosmetic fixes
1 parent c962ace commit 90026f9

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed

resources/skins/nudus/html_wrapper.html

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,13 @@
1111
|| ||
1212
-->
1313
<head>
14+
<meta charset="utf-8">
15+
<meta name="viewport" content="width=device-width, initial-scale=1">
1416
<style>
1517
:root {
1618
--rssguard-base-unit: 10px;
1719
--rssguard-em-unit: .3em;
20+
1821
/* Qt5 fusion border grey */
1922
--rssguard-grey01: #B8B8B8;
2023

@@ -40,12 +43,19 @@
4043
margin-bottom: var(--rssguard-base-unit);
4144
}
4245
body {
43-
/* Another Qt grey */
46+
/*
47+
* Another Qt grey;
48+
* bg required for "newspaper mode"
49+
*/
4450
background-color: #FBFBFB;
4551

4652
box-sizing: border-box;
4753
cursor: default;
4854
font-kerning: normal;
55+
56+
/* redundant? */
57+
-webkit-font-feature-settings: "kern" 1;
58+
font-feature-settings: "kern" 1;
4959
-webkit-text-size-adjust: 100%;
5060
}
5161
h1, h2, h3, h4, h5, h6 {
@@ -119,7 +129,6 @@
119129
--rssguard-horiz: 13px;
120130

121131
border-radius: var(--rssguard-em-unit);
122-
margin 0;
123132
overflow-x: auto;
124133
padding: 7px var(--rssguard-horiz);
125134
white-space: pre !important;
@@ -167,7 +176,9 @@
167176
list-style-type: lower-roman;
168177
}
169178
img {
179+
/* redundant? */
170180
display: inline-block;
181+
171182
height: auto;
172183
width: auto;
173184
}
@@ -221,6 +232,7 @@
221232
visibility: visible;
222233
}
223234
@media only screen and (max-width: 800px) {
235+
224236
.rssguard-mbody img {
225237
max-width: 100% !important;
226238
}
@@ -236,7 +248,7 @@
236248
*/
237249
word-break: break-word;
238250
}
239-
/* fix at least some mess made by above */
251+
/* Fix at least some mess produced by above */
240252
table {
241253
word-break: normal;
242254
}
@@ -265,7 +277,6 @@
265277
height: 100vh;
266278
}
267279
</style>
268-
<meta name="viewport" content="width=device-width, initial-scale=1">
269280
<title>%1</title>
270281
</head>
271282

0 commit comments

Comments
 (0)