Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/leonardofaria/bento.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Faria <leonardofaria@gmail.com>2020-10-28 06:53:51 +0300
committerLeonardo Faria <leonardofaria@gmail.com>2020-10-28 06:53:51 +0300
commitb653b98982c026e747805922d0a8c61ed04388f8 (patch)
treec742071a6fe29b50aba823cd50a21574e3015096
parenteb22616295525405a521982ffa8d7cbc357353c7 (diff)
Implement image/video/block wider than article content
-rw-r--r--assets/css/site.css9
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;