Fix toot layout
This commit is contained in:
parent
a585699ba3
commit
24680f6799
|
@ -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>— Bascht (@bascht)
|
||||
<p lang="de" dir="ltr">{{ .Params.text | markdownify }}</p>— Bascht (<a href="https://social.yakshed.org/@bascht">@bascht</a>)
|
||||
</blockquote>
|
||||
</div>
|
||||
{{ if .Params.media_url }}
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue