diff options
Diffstat (limited to 'src/themes')
| -rw-r--r-- | src/themes/plain.hbs | 11 | 
1 files changed, 9 insertions, 2 deletions
| diff --git a/src/themes/plain.hbs b/src/themes/plain.hbs index fe33d28..bbd0589 100644 --- a/src/themes/plain.hbs +++ b/src/themes/plain.hbs @@ -1,5 +1,5 @@  <!doctype html> -<html lang="en" style="font-size: 0.5cm; margin: 0.5rem; overflow: hidden;"> +<html lang="en" style="margin: 20px; overflow: hidden;">    <head>      <meta charset="UTF-8"/>      <title>{{#if error}}Error!{{else}}@{{user.name}}'s Last.fm Stats{{/if}}</title> @@ -11,6 +11,13 @@          a:visited { color: pink }          a { color: cyan; }        {{/if}} +      * { font-size: {{#if font}}17px{{else}}20px{{/if}}; } +      {{#if font.css}} +        {{{font.css}}} +      {{/if}} +      {{#if (or font.name font.css)}} +        * { font-family: '{{#if font.name}}{{font.name}}{{/if}}{{#if font.url}}included_font{{/if}}' } +      {{/if}}        p { margin: 0px; padding: 0px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }      </style>    </head> @@ -18,7 +25,7 @@      {{#if error}}        <p style="white-space: unset;">{{error}}</p>      {{else}} -      <a style="float: left;" target="_blank" href="{{scrobble.url}}"><img src="{{scrobble.image_url}}" style="height: 4.0rem; border: solid var(--b) 0.2rem; margin: 0.1rem;" /></a> +      <a style="float: left;" target="_blank" href="{{scrobble.url}}"><img src="{{scrobble.image_url}}" style="height: 80px; border: solid var(--b) 4px; margin: 2px;" /></a>        <p><a target="_blank" href="{{user.url}}">@{{user.name}}</a>{{#if scrobble.now_playing}}          is scrobbling{{else}}'s last scrobble was        {{/if}} | 
