From d6d64835a436424525b1449ebacf68bdadaad5a2 Mon Sep 17 00:00:00 2001 From: Aadil Ayub Date: Thu, 15 Jul 2021 18:37:29 +0500 Subject: [PATCH] fix image attribution text on mobile --- themes/coopcloud.tech/assets/scss/main.scss | 22 +++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/themes/coopcloud.tech/assets/scss/main.scss b/themes/coopcloud.tech/assets/scss/main.scss index d063225..05d4e83 100644 --- a/themes/coopcloud.tech/assets/scss/main.scss +++ b/themes/coopcloud.tech/assets/scss/main.scss @@ -242,14 +242,20 @@ footer .separator { } figcaption { - font-weight: 300; - color: white; - padding: 5px; - background: #00000063; - text-align: end; - position: relative; - bottom: 34px; - width: max-content; + font-weight: 100; + text-align: center; + margin: 1em 0; + + @media (min-width: 768px) { + font-weight: 300; + color: white; + padding: 5px; + background: #00000063; + position: relative; + bottom: 34px; + width: max-content; + margin: 0; + } } }