Fix articles

This commit is contained in:
Bruno Rybársky 2024-02-22 18:08:12 +01:00
parent 5ede5b37ab
commit c905e929f6
2 changed files with 19 additions and 2 deletions

@ -388,4 +388,19 @@ body:has(.ye-span:hover) {
.hidden {
display: none !important;
}
div#articleslist{
width: 80vw;
left: 10vw;
position: relative;
}
div#articleslist > article > div#articleinfo{
display: flex;
flex-direction: row;
}
div#articleslist>article{
border: 4px solid var(--primary);
}

@ -1,7 +1,9 @@
<article>
<h2 class='newstitle'>__TEMPLATE_ARTICLE_TITLE__</h2>
<p class='newsauthor'><i class="ri-user-line"></i>__TEMPLATE_ARTICLE_AUTHOR__</p>
<p class='newsdate'><i class="ri-calendar-line"></i>__TEMPLATE_ARTICLE_DATE__</p>
<div class="articleinfo">
<p class='newsauthor'><i class="ri-user-line"></i>__TEMPLATE_ARTICLE_AUTHOR__</p>
<p class='newsdate'><i class="ri-calendar-line"></i>__TEMPLATE_ARTICLE_DATE__</p>
</div>
<hr>
<div class='newsbody'>
__TEMPLATE_ARTICLE_BODY__