diff --git a/app/Resources/static/themes/_global/share.scss b/app/Resources/static/themes/_global/share.scss index 5a853324c..72e73a9a7 100644 --- a/app/Resources/static/themes/_global/share.scss +++ b/app/Resources/static/themes/_global/share.scss @@ -148,7 +148,7 @@ article h3, article h4, article h5, article h6 { - text-align: left !important; + text-align: left; line-height: 1.3; } @@ -380,28 +380,45 @@ tbody { border-width: 1px 0; } -article { - padding: 0 1em; +figure { + text-align: center; +} + +figure > * { + margin: 0 auto; +} + +header { + text-align: center; +} + +.shared-by { + margin-bottom: 1em; } /* --------------------- Responsive design ------------------------- */ +@media (max-width: 719px) { + header > *:not(.preview), + article { + padding: 0 1em; + } +} + @media (min-width: 720px) { blockquote { margin-left: -1.4375em; padding-left: 1.25em; } - article { - margin: 0 auto; + header { + margin-top: 32px; + } + + .block { + margin-left: auto; + margin-right: auto; max-width: 43.75em; padding: 0 1.25em; } - - header { - max-width: 43.75em; - margin: 0 auto; - margin-top: 32px; - text-align: center; - } } diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/common/Entry/share.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/common/Entry/share.html.twig index 955420ba4..9b0503d65 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/common/Entry/share.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/common/Entry/share.html.twig @@ -1,6 +1,9 @@ +
+