diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-10-03 16:10:17 +0200 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-10-03 16:17:28 +0200 |
commit | b3c7c8700d7ddf73d6fef4076f15ae7c3d39ce67 (patch) | |
tree | b86f8a8f5800bc99f3634c68f798a122bb91aaf4 /app/assets/stylesheets/accounts.scss | |
parent | 188c6f326b991793239c47751ef45226c0cd8890 (diff) |
Fix most pages on small screens
Diffstat (limited to 'app/assets/stylesheets/accounts.scss')
-rw-r--r-- | app/assets/stylesheets/accounts.scss | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/app/assets/stylesheets/accounts.scss b/app/assets/stylesheets/accounts.scss index 57da32856..f2be0fcf7 100644 --- a/app/assets/stylesheets/accounts.scss +++ b/app/assets/stylesheets/accounts.scss @@ -63,6 +63,13 @@ margin-top: 30px; position: relative; z-index: 2; + flex-direction: row; + } + + .details-counters { + display: flex; + flex-direction: row; + order: 0; } .counter { @@ -129,6 +136,26 @@ line-height: 18px; padding: 5px 10px; color: #d9e1e8; + order: 1; + } + + @media screen and (max-width: 360px) { + .details { + display: block; + } + + .bio { + text-align: center; + margin-bottom: 20px; + } + + .counter { + flex: 1 1 auto; + } + + .counter:last-child { + border-right: none; + } } } @@ -186,6 +213,18 @@ cursor: default; color: lighten(#282c37, 10%); } + + @media screen and (max-width: 360px) { + padding: 30px 20px; + + a, .current, .next_page, .previous_page, .gap { + display: none; + } + + .next_page, .previous_page { + display: inline-block; + } + } } .accounts-grid { |