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

@ -389,3 +389,18 @@ body:has(.ye-span:hover) {
.hidden { .hidden {
display: none !important; 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> <article>
<h2 class='newstitle'>__TEMPLATE_ARTICLE_TITLE__</h2> <h2 class='newstitle'>__TEMPLATE_ARTICLE_TITLE__</h2>
<p class='newsauthor'><i class="ri-user-line"></i>__TEMPLATE_ARTICLE_AUTHOR__</p> <div class="articleinfo">
<p class='newsdate'><i class="ri-calendar-line"></i>__TEMPLATE_ARTICLE_DATE__</p> <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> <hr>
<div class='newsbody'> <div class='newsbody'>
__TEMPLATE_ARTICLE_BODY__ __TEMPLATE_ARTICLE_BODY__