Aligning text articles list to end.
This commit is contained in:
parent
67ec2d5432
commit
ff572e844b
@ -107,7 +107,10 @@ body {
|
||||
height: 12em; }
|
||||
body div.page-contents div.description div.articles a article div.article-down-part {
|
||||
margin-top: 2em;
|
||||
height: 9em; }
|
||||
height: 9em;
|
||||
display: flex;
|
||||
align-items: end;
|
||||
padding-bottom: 2em; }
|
||||
body div.page-contents div.description div.articles a article:hover {
|
||||
background: blueviolet;
|
||||
color: #f2eb8c; }
|
||||
|
@ -152,6 +152,9 @@ body {
|
||||
div.article-down-part {
|
||||
margin-top: 2em;
|
||||
height: 9em;
|
||||
display: flex;
|
||||
align-items: end;
|
||||
padding-bottom: 2em;
|
||||
}
|
||||
|
||||
padding: 5%;
|
||||
|
@ -16,7 +16,7 @@
|
||||
<img alt="Portada de <%=$post->{title}%>" src="<%=$post->{image}%>"/>
|
||||
</div><%
|
||||
}
|
||||
%></div><div class="article-down-part">
|
||||
%></div><div class="article-down-part"><div>
|
||||
<h3><%=$post->{title}%></h3><%
|
||||
my $xml = Mojo::DOM->new($post->{content});
|
||||
my $text = $xml->all_text;
|
||||
@ -24,7 +24,7 @@
|
||||
$text = substr($text, 0, 100).'...';
|
||||
}
|
||||
%><p><%=$text%></p><p class="author">Escrito por <%=$post->{author}%></p>
|
||||
</div></article>
|
||||
</div></div></article>
|
||||
</a>
|
||||
% }
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user