fix: limit article size

Fixes #15
This commit is contained in:
Kazhnuz 2021-01-03 10:25:14 +01:00
parent da572d47c7
commit c449c49408
3 changed files with 12 additions and 12 deletions

View file

@ -72,6 +72,12 @@ ul, ol {
/* 2.2 - Text Wrapper */
.container-article, .container-typographic {
max-width: 800px;
margin:auto;
margin-bottom: 3rem;
}
.container-typographic {
p {
padding:0;
@ -238,12 +244,6 @@ code {
color: $color-red;
}
.container-typographic {
max-width: 800px;
margin:auto;
margin-bottom: 3rem;
}
.small-text {
font-size: 0.9em;
}

View file

@ -14,7 +14,7 @@
<?php if(have_posts()) : ?><?php while(have_posts()) : the_post(); ?>
<article class="article" id="post-<?php the_ID(); ?>">
<article class="article container-article" id="post-<?php the_ID(); ?>">
<h1 class="page-title"><?php the_title(); ?></h1>
<div class="article-entry">

View file

@ -344,6 +344,11 @@ ul, ol {
color: #fdf6e3; }
/* 2.2 - Text Wrapper */
.container-article, .container-typographic {
max-width: 800px;
margin: auto;
margin-bottom: 3rem; }
.container-typographic p {
padding: 0;
margin: 0;
@ -492,11 +497,6 @@ code {
background: transparent;
color: #dc322f; }
.container-typographic {
max-width: 800px;
margin: auto;
margin-bottom: 3rem; }
.small-text {
font-size: 0.9em; }