diff options
author | Leonardo Faria <leonardofaria@gmail.com> | 2020-10-28 06:53:51 +0300 |
---|---|---|
committer | Leonardo Faria <leonardofaria@gmail.com> | 2020-10-28 06:53:51 +0300 |
commit | b653b98982c026e747805922d0a8c61ed04388f8 (patch) | |
tree | c742071a6fe29b50aba823cd50a21574e3015096 | |
parent | eb22616295525405a521982ffa8d7cbc357353c7 (diff) |
Implement image/video/block wider than article content
-rw-r--r-- | assets/css/site.css | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/assets/css/site.css b/assets/css/site.css index d5c0c53..ccc0906 100644 --- a/assets/css/site.css +++ b/assets/css/site.css @@ -69,6 +69,15 @@ html { @apply text-2xl; } +.article__content > p > img, +.article__content > video, +.article__content > .wide { + @apply max-w-4xl; + position: relative; + left: 50%; + transform: translateX(-50%); +} + .article a { @apply underline; @apply text-gray-700; |