This forum has been archived. All content is frozen. Please use KDE Discuss instead.

KMail prominent CSS Styling

Tags: None
(comma "," separated)
User avatar
Sudhir Khanger
Registered Member
Posts
237
Karma
0
OS

KMail prominent CSS Styling

Tue Oct 28, 2014 5:22 am
I get my RSS feed into my email using rss2email. The CSS that rss2email defines is being taken too prominently by KMail. See the three screenshots below of KMail, GMail, and The Old Reader.

Code: Select all
# Optional CSS styling
USE_CSS_STYLING = 1
STYLE_SHEET='h1 {font: 18pt Georgia, "Times New Roman";} body {font: 12pt Arial;} a:link {font: 12pt Arial; font-weight: bold; color: #0000cc} blockquote {font-family: monospace; }  .header { background: #e0ecff; border-bottom: solid 4px #c3d9ff; padding: 5px; margin-top: 0px; color: red;} .header a { font-size: 20px; text-decoration: none; } .footer { background: #c3d9ff; border-top: solid 4px #c3d9ff; padding: 5px; margin-bottom: 0px; } #entry {border: solid 4px #c3d9ff; } #body { margin-left: 5px; margin-right: 5px; }'


KMail has the blue border around the title and another place and all the links are bigger and bold.
Image
Image
Image
User avatar
einar
Administrator
Posts
3402
Karma
7
OS

Re: KMail prominent CSS Styling

Mon Nov 03, 2014 6:23 am
Please file a bug on bugs.kde.org (I'm fairly sure this can be fixed by tweaking the message templates).


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python
User avatar
Sudhir Khanger
Registered Member
Posts
237
Karma
0
OS

Re: KMail prominent CSS Styling

Mon Nov 03, 2014 7:51 am
einar wrote:Please file a bug on bugs.kde.org (I'm fairly sure this can be fixed by tweaking the message templates).


What do you think the problem is here? If I don't use CSS styling everything goes back to normal which has made me not bother too much about it.
User avatar
einar
Administrator
Posts
3402
Karma
7
OS

Re: KMail prominent CSS Styling

Tue Nov 04, 2014 6:39 am
From the looks of it (but I'm no expert), either in the way the template is rendered or some quirk in the HTML view used by KMail (Webkit).


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python
User avatar
Sudhir Khanger
Registered Member
Posts
237
Karma
0
OS


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell, Yahoo [Bot]