1
0
Fork 0

Fix toot layout

This commit is contained in:
Sebastian Schulze 2020-07-09 13:01:01 +02:00
parent a585699ba3
commit 24680f6799
Signed by: bascht
GPG Key ID: 5BCB1D3B4D38A35A
2 changed files with 13 additions and 2 deletions

View File

@ -2,11 +2,11 @@
<body>
{{ partial "navbar.html" . }}
<div class="main wrapper clearfix">
<h1>Tweet from {{ .Date.Format "January, 02th 2006" }}</h1>
<h1>Toot from {{ .Date.Format "January, 02th 2006" }}</h1>
<article>
<div class="post-content">
<blockquote class="mastodon-toot">
<p lang="de" dir="ltr">{{ .Params.text }}</p>&mdash; Bascht (@bascht)
<p lang="de" dir="ltr">{{ .Params.text | markdownify }}</p>&mdash; Bascht (<a href="https://social.yakshed.org/@bascht">@bascht</a>)
</blockquote>
</div>
{{ if .Params.media_url }}

View File

@ -129,6 +129,17 @@ article img {
max-width: 90%;
}
div.post-content blockquote.twitter-tweet, div.post-content blockquote.mastodon-toot {
background-color: #fcfcfc;
border: 2px solid #eaeaea;
padding: 1em;
border-radius: 8px 8px;
}
div.post-content blockquote.twitter-tweet, div.post-content blockquote.mastodon-toot a {
color: #464646;
}
footer ul li {
color: #CDCDCD;
display: inline;