1
0
Fork 0

Fixup Tweet display

This commit is contained in:
Sebastian Schulze 2019-11-14 11:26:34 +01:00
parent 173dcaf565
commit a1201c47af
Signed by: bascht
GPG Key ID: 5BCB1D3B4D38A35A
2 changed files with 23 additions and 23 deletions

View File

@ -2,15 +2,13 @@
<body>
{{ partial "navbar.html" . }}
<div class="main wrapper clearfix">
<h1>{{ .Title }}</h1>
<h1>Tweet from {{ .Date.Format "January, 02th 2006" }}</h1>
<article>
<div class="post-content">
{{ .Params.text }}
{{ if .Params.media_url }}
<img src="{{ .Params.media_url }}">
{{ end }}
<hr/>
Originally posted to <a href="{{ .Params.original_url }}">{{ .Params.original_url }}</a>
<blockquote class="twitter-tweet">
<p lang="de" dir="ltr">{{ .Params.text }}</p>&mdash; Bascht (@bascht)
</blockquote>
Originally posted to <a href="{{ default .Params.original_url .Params.src }}">{{ default .Params.original_url .Params.src }}</a>
</div>
</article>
<aside>

View File

@ -212,6 +212,7 @@ article.summary a.anchor {
/* align-items: center; */
align-content: stretch;
}
.social_bar a,
.posts a {
padding: 1em;
box-sizing: border-box;
@ -245,6 +246,7 @@ article.summary a.anchor {
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f2f2f2', endColorstr='#ffffff',GradientType=0 );
}
.posts .summary.instagram_image img {
width: 85%;
}
@ -273,28 +275,28 @@ div.social_bar {
clear: both;
padding-left: 3em;
}
div.social_bar > a {
margin-left: 2em
margin-left: 2em;
display: inline-block;
width: 20%;
height: 100%;
}
.social_bar .instagram_image img {
width: 20%;
}
.tech-notes a {
width: 15em;
padding: 1em;
margin: 1em;
float: left;
height: 200px;
border: 1px solid #cdcdcd;
border-radius: 5px;
overflow: hidden;
text-decoration: none;
color: inherit;
background: -moz-linear-gradient(top, #f2f2f2 0%, #ffffff 100%);
background: -webkit-linear-gradient(top, #f2f2f2 0%,#ffffff 100%);
background: linear-gradient(to bottom, #f2f2f2 0%,#ffffff 100%);
}
.pagination {
list-style-type: none;
text-align: center;
}
.pagination .page-item {
display: inline-block;
width: 2em;
}
.tech-notes a:hover {
background: #f2f2f2;