X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=app%2FResources%2Fstatic%2Fthemes%2F_global%2Fshare.scss;h=d6f6b669599c6c235187a291bd7d64c2a65378e0;hb=970e1075245f40792e01131f934dfdb803dd77ca;hp=5a853324c89c5ebaa1de2c790d239cd3924b3883;hpb=1d91f14516e109978f497e9f55d2f87c8268e1d7;p=github%2Fwallabag%2Fwallabag.git diff --git a/app/Resources/static/themes/_global/share.scss b/app/Resources/static/themes/_global/share.scss index 5a853324..d6f6b669 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,37 @@ tbody { border-width: 1px 0; } -article { - padding: 0 1em; +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; - max-width: 43.75em; - padding: 0 1.25em; + header { + margin-top: 32px; } - header { + .block { + margin-left: auto; + margin-right: auto; max-width: 43.75em; - margin: 0 auto; - margin-top: 32px; - text-align: center; + padding: 0 1.25em; } }