diff options
author | danielkvist <d94.zaragoza@gmail.com> | 2019-01-28 20:25:55 +0300 |
---|---|---|
committer | danielkvist <d94.zaragoza@gmail.com> | 2019-01-28 21:11:19 +0300 |
commit | 7d4cd4550301d3bdd8b7798820369ad36604338b (patch) | |
tree | 706ede5a9bf98faea91868cda433e421e9b0af47 | |
parent | ea8b7b78d27a7344f272d2847e179d0c925f51eb (diff) |
add text justification to sections and posts
-rw-r--r-- | assets/css/media-queries.css | 8 | ||||
-rw-r--r-- | assets/css/style.css | 10 |
2 files changed, 7 insertions, 11 deletions
diff --git a/assets/css/media-queries.css b/assets/css/media-queries.css index 6635b7b..90747d8 100644 --- a/assets/css/media-queries.css +++ b/assets/css/media-queries.css @@ -5,7 +5,7 @@ } .section { - margin: 2.75rem 20%; + margin: 2.75rem 19%; } .card { @@ -13,7 +13,7 @@ } .post__body { - margin: 0 20%; + margin: 0 19%; } .pagination { @@ -78,7 +78,7 @@ } .section { - margin: 2.75rem 10%; + margin: 2.75rem 9%; } .card { @@ -110,7 +110,7 @@ } .post__body { - margin: 0 10%; + margin: 0 9%; } .post__footer { diff --git a/assets/css/style.css b/assets/css/style.css index aeab7f5..f0c3aa5 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -125,7 +125,6 @@ margin: 1.75rem 0 0 2.75rem; } - .hamburger__items__item__link { color: var(--primary-text); } @@ -177,7 +176,8 @@ /* SECTION */ .section { - margin: 2.75rem 30%; + margin: 2.75rem 24%; + text-justify: distribute; } .section__title { @@ -261,11 +261,7 @@ } .post__body { - align-items: center; - display: flex; - flex-direction: column; - justify-content: center; - margin: 1.75rem 30% 0.75rem; + margin: 1.75rem 24% 0.75rem; } .post__body > figure { |