diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2018-08-09 12:58:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-09 12:58:20 +0200 |
commit | 0dcc1950d14cc4a7725ea1572d253c538a1f74e8 (patch) | |
tree | bdc2b4168abf0d09b997b8eec2abeccce9f0de14 /app/javascript/styles/mastodon/containers.scss | |
parent | f2404de871f0bdfda5c9aeeeb4c6c4d10a8da8ab (diff) |
Update /terms and /about/more to use public layout (#8142)
Diffstat (limited to 'app/javascript/styles/mastodon/containers.scss')
-rw-r--r-- | app/javascript/styles/mastodon/containers.scss | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/app/javascript/styles/mastodon/containers.scss b/app/javascript/styles/mastodon/containers.scss index 7b339277f..ba36d62d9 100644 --- a/app/javascript/styles/mastodon/containers.scss +++ b/app/javascript/styles/mastodon/containers.scss @@ -115,6 +115,34 @@ } } +.grid-3 { + display: grid; + grid-gap: 10px; + grid-template-columns: 3fr 1fr; + grid-auto-columns: 25%; + grid-auto-rows: max-content; + + .column-0 { + grid-column: 1/3; + grid-row: 1; + } + + .column-1 { + grid-column: 1; + grid-row: 2; + } + + .column-2 { + grid-column: 2; + grid-row: 2; + } + + .column-3 { + grid-column: 1/3; + grid-row: 3; + } +} + .public-layout { @media screen and (max-width: $no-gap-breakpoint) { padding-top: 48px; @@ -300,6 +328,15 @@ } } + &--no-bar { + margin-bottom: 0; + + .public-account-header__image, + .public-account-header__image img { + border-radius: 4px; + } + } + @media screen and (max-width: $no-gap-breakpoint) { margin-bottom: 0; box-shadow: none; |