diff options
author | ByteHamster <info@bytehamster.com> | 2019-11-13 11:02:07 +0100 |
---|---|---|
committer | ByteHamster <info@bytehamster.com> | 2019-11-13 11:02:07 +0100 |
commit | cf2e78479202306ccaaf91e35295c4280d1f5b79 (patch) | |
tree | 32e9671c8cf8a9083eb6d13c2ccd15a24b9f419e /core/src/main/java/de/danoeh | |
parent | 19a6f613e97448b05c2e2fdb1554eac65f0edd08 (diff) | |
download | AntennaPod-cf2e78479202306ccaaf91e35295c4280d1f5b79.zip |
Reformatted css for readability
Diffstat (limited to 'core/src/main/java/de/danoeh')
-rw-r--r-- | core/src/main/java/de/danoeh/antennapod/core/util/playback/Timeline.java | 29 |
1 files changed, 28 insertions, 1 deletions
diff --git a/core/src/main/java/de/danoeh/antennapod/core/util/playback/Timeline.java b/core/src/main/java/de/danoeh/antennapod/core/util/playback/Timeline.java index 0fe1f0036..e246c183c 100644 --- a/core/src/main/java/de/danoeh/antennapod/core/util/playback/Timeline.java +++ b/core/src/main/java/de/danoeh/antennapod/core/util/playback/Timeline.java @@ -32,7 +32,34 @@ import de.danoeh.antennapod.core.util.ShownotesProvider; public class Timeline { private static final String TAG = "Timeline"; - private static final String WEBVIEW_STYLE = "@font-face { font-family: 'Roboto-Light'; src: url('file:///android_asset/Roboto-Light.ttf'); } * { color: %s; font-family: roboto-Light; font-size: 13pt; } a { font-style: normal; text-decoration: none; font-weight: normal; color: #00A8DF; } a.timecode { color: #669900; } img { display: block; margin: 10 auto; max-width: %s; height: auto; } body { margin: %dpx %dpx %dpx %dpx; }"; + private static final String WEBVIEW_STYLE = + "@font-face {" + + "font-family: 'Roboto-Light';" + + "src: url('file:///android_asset/Roboto-Light.ttf');" + + "}" + + "* {" + + "color: %s;" + + "font-family: roboto-Light;" + + "font-size: 13pt;" + + "}" + + "a {" + + "font-style: normal;" + + "text-decoration: none;" + + "font-weight: normal;" + + "color: #00A8DF;" + + "}" + + "a.timecode {" + + "color: #669900;" + + "}" + + "img {" + + "display: block;" + + "margin: 10 auto;" + + "max-width: %s;" + + "height: auto;" + + "}" + + "body {" + + "margin: %dpx %dpx %dpx %dpx;" + + "}"; private ShownotesProvider shownotesProvider; |