diff options
author | Guillermo Ramos | 2020-02-11 16:09:06 +0100 |
---|---|---|
committer | Guillermo Ramos | 2020-02-11 16:09:06 +0100 |
commit | 840e37b56a2af853631c8f583e28e5bd576f34f5 (patch) | |
tree | a637bff6ef05809a2c2c57e58007d856fc0fb5d8 /assets | |
parent | 8d352d2f05874dd9283360ed3dfc1fa7fc3e530d (diff) | |
download | waev-840e37b56a2af853631c8f583e28e5bd576f34f5.tar.gz |
Pretty avatars
Diffstat (limited to 'assets')
-rw-r--r-- | assets/css/app.css | 43 |
1 files changed, 34 insertions, 9 deletions
diff --git a/assets/css/app.css b/assets/css/app.css index 408167b..e7f42f7 100644 --- a/assets/css/app.css +++ b/assets/css/app.css @@ -9,33 +9,57 @@ body { .container { margin: 0 auto; max-width: 90.0rem; - padding: 0 2.0rem; + padding: 0 1.0rem; position: relative; width: 100%; } -.wa-avatar { +.wa-avatars { + display: flex; + flex-direction: row; + align-items: center; +} +.wa-avatars .wa-avatar { + flex: 0 0 50%; text-align: center; + padding: 16px 40px 12px 40px; +} +.wa-avatars .wa-avatar figure { + margin: 0; +} + +.wa-avatar img { + max-height: 140px; + border-radius: 50%; +} + +.wa-avatar--tiny { + max-height: 42px; + border-radius: 50%; } .wa-row { + margin-top: 10px; display: flex; - flex-direction: column; + align-items: center; } .wa-row-left { - align-items: flex-start; + flex-direction: row; } .wa-row-right { - align-items: flex-end; + flex-direction: row-reverse; } -/* Message box */ -.wa-message { - padding: 0px !important; - margin-top: 10px; +.wa-white-box { background-color: white; border-radius: 5px; box-shadow: 1px 1px 2px grey; +} + +/* Message box */ +.wa-message { + padding: 0px !important; + margin: 0 10px 0 10px; max-width: 65%; } @@ -47,6 +71,7 @@ body { .wa-message-box { padding: 0 10px 0 10px; margin-top: 5px; + overflow-wrap: break-word; } .wa-message-date { |