39 lines
2.3 KiB
Cheetah
39 lines
2.3 KiB
Cheetah
|
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="32em">
|
||
|
<foreignObject x="0" y="0" width="32em" height="100%" fill="#eade52">
|
||
|
<style>
|
||
|
.tweetsvg{clear:none;font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;}
|
||
|
.tweetsvg.text{font-size: 23px;}
|
||
|
a.tweetsvg{color: rgb(27, 149, 224); text-decoration:none;}
|
||
|
blockquote.tweetsvg{margin:1px; background-color:#fefefe; border-radius:2%; border-style:solid; border-width:.1em; border-color:#ddd; padding:1em; font-family:sans; width:29rem}
|
||
|
.avatar-tweetsvg{float:left; width:4rem; height:4rem; border-radius:50%;margin-right:.5rem;;margin-bottom:.5rem;border-style: solid; border-width:.1em; border-color:#ddd;}
|
||
|
h1.tweetsvg{margin:0;font-size:15px;text-decoration:none;color:#000;}
|
||
|
h2.tweetsvg{margin:0;font-size:15px;font-weight:normal;text-decoration:none;color:rgb(101, 119, 134);}
|
||
|
p.tweetsvg{font-size:1rem; clear:both;}
|
||
|
hr.tweetsvg{color:#ddd;}
|
||
|
.media-tweetsvg{border-radius:2%; max-width:100%;border-radius: 2%; border-style: solid; border-width: .1em; border-color: #ddd;}
|
||
|
time.tweetsvg{font-size:15px;margin:0;margin-left: 2px;padding-bottom:1rem;color:rgb(101, 119, 134);text-decoration:none;}
|
||
|
</style>
|
||
|
<blockquote class="tweetsvg" xmlns="http://www.w3.org/1999/xhtml">
|
||
|
<a class="tweetsvg" href="https://twitter.com/{{ .User.ScreenName }}/"><img class="avatar-tweetsvg" alt="" src="data:image/jpeg;base64,{{ base64 .User.ProfileImageUrlHttps }}" /></a>
|
||
|
|
||
|
<a class="tweetsvg" href="https://twitter.com/{{ .User.ScreenName }}/"><h1 class="tweetsvg">{{ .User.Name }}</h1></a>
|
||
|
|
||
|
<a class="tweetsvg" href="https://twitter.com/{{ .User.ScreenName }}/"><h2 class="tweetsvg">@{{ .User.ScreenName }}</h2></a>
|
||
|
|
||
|
<p class="tweetsvg text">{{ .Text }}</p>
|
||
|
|
||
|
{{ if .ExtendedEntities }}
|
||
|
{{ range .ExtendedEntities.Media }}
|
||
|
|
||
|
<a href="{{ .Media_url_https }}" target="_blank"><img class="media-tweetsvg" width="{{ .Sizes.Small.W }}" src="data:image/jpeg;base64,{{ base64 .Media_url }}" alt="{{ .ExtAltText }}"/></a>
|
||
|
|
||
|
{{ end }}
|
||
|
{{ end }}
|
||
|
|
||
|
<a class="tweetsvg" href="https://twitter.com/{{ .User.ScreenName }}/status/{{ .Id }}">
|
||
|
<time class="tweetsvg" datetime="{{ isoDate .CreatedAt }}">{{ humanDate .CreatedAt }}</time>
|
||
|
</a>
|
||
|
</blockquote>
|
||
|
</foreignObject>
|
||
|
</svg>
|