css fix for linux
This commit is contained in:
parent
288b4513c1
commit
6a52f0daa2
3 changed files with 13 additions and 8 deletions
|
@ -20,7 +20,7 @@ mac {
|
||||||
unix {
|
unix {
|
||||||
target.path = $$PREFIX/usr/local/bin
|
target.path = $$PREFIX/usr/local/bin
|
||||||
|
|
||||||
shortcutfiles.files += feedthemonkey.desktop
|
shortcutfiles.files = feedthemonkey.desktop
|
||||||
shortcutfiles.path = $$PREFIX/usr/share/applications/
|
shortcutfiles.path = $$PREFIX/usr/share/applications/
|
||||||
data.files += feedthemonkey.xpm
|
data.files += feedthemonkey.xpm
|
||||||
data.path = $$PREFIX/usr/share/pixmaps/
|
data.path = $$PREFIX/usr/share/pixmaps/
|
||||||
|
|
17
content.css
17
content.css
|
@ -1,7 +1,12 @@
|
||||||
|
html, body {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
background: #eee;
|
background: #eee;
|
||||||
font-family: sans-serif;
|
font-family: sans-serif;
|
||||||
padding: 1em 1.5em;
|
padding: 10pt 15pt;
|
||||||
font-weight: lighter;
|
font-weight: lighter;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -35,15 +40,15 @@ a {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
article {
|
||||||
|
line-height: 1.6;
|
||||||
|
}
|
||||||
|
|
||||||
article a {
|
article a {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
img {
|
img {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
height: auto;
|
height: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
article {
|
|
||||||
line-height: 1.6;
|
|
||||||
font-size: 0.8em;
|
|
||||||
}
|
|
||||||
|
|
2
main.qml
2
main.qml
|
@ -23,7 +23,7 @@ ApplicationWindow {
|
||||||
property Content content: content
|
property Content content: content
|
||||||
|
|
||||||
property variant fontSizes: [7,9,11,13,15,17,19,21,23,25,27,29,31]
|
property variant fontSizes: [7,9,11,13,15,17,19,21,23,25,27,29,31]
|
||||||
property int defaultTextFontSizeIndex: 4
|
property int defaultTextFontSizeIndex: 3
|
||||||
property int textFontSizeIndex: defaultTextFontSizeIndex
|
property int textFontSizeIndex: defaultTextFontSizeIndex
|
||||||
property int textFontSize: fontSizes[textFontSizeIndex]
|
property int textFontSize: fontSizes[textFontSizeIndex]
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue