Skip to content

Commit

Permalink
#4 Reduce line length and increase body font size to follow pocket an…
Browse files Browse the repository at this point in the history
…d firefox read style.
  • Loading branch information
aleixq committed May 29, 2017
1 parent 732fdbd commit 9ca32e9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions contents/ui/ArticlePage.qml
Original file line number Diff line number Diff line change
Expand Up @@ -302,8 +302,8 @@ PlasmaComponents.Page {
' text-rendering: optimizelegibility !important;'+
' letter-spacing: ' + (0.02 * units.devicePixelRatio) + 'em;'+
' text-align:center;'+
' //max-width:' + (12 * units.devicePixelRatio) + 'em !important;'+
' font-size: ' + (1.3 * units.devicePixelRatio) + 'em;'+
' /*max-width:' + (12 * units.devicePixelRatio) + 'em !important;*/'+
' font-size: ' + (1.5 * units.devicePixelRatio) + 'em;'+
'}'+
''+
'a {'+
Expand All @@ -316,7 +316,7 @@ PlasmaComponents.Page {
'header,article {'+
' margin: 0 auto;'+
' line-height: ' + (1.2 * units.devicePixelRatio) + 'em;'+
' max-width:' + (24 * units.devicePixelRatio) + 'em !important;'+
' max-width:' + (20 * units.devicePixelRatio) + 'em !important;'+
''+
'}'+
''+
Expand All @@ -327,11 +327,11 @@ PlasmaComponents.Page {
' opacity: 0.8; '+
' clear: both; '+
' line-height: ' + (1 * units.devicePixelRatio) + 'em;'+
' max-width:' + (24 * units.devicePixelRatio) + 'em !important;'+
' max-width:' + (20 * units.devicePixelRatio) + 'em !important;'+
'}'+
''+
'article p, .content div {'+
' text-align: justify;'+
' text-align: left;'+
'}'+
''+
'article {'+
Expand All @@ -351,7 +351,7 @@ PlasmaComponents.Page {
'}'+
'' +
'#authoring, #source {'+
' font-size: ' + (0.8 * units.devicePixelRatio) + 'em;'+
' font-size: ' + (0.4 * units.devicePixelRatio) + 'em;'+
' opacity: 0.5;'+
'}'+
''+
Expand Down

0 comments on commit 9ca32e9

Please sign in to comment.