Mercurial > libervia-templates
comparison sat_templates/default/static/styles.css @ 157:79e9d7bcd96e
css: use inline-flex only for avatar--generated + added avatar--float-left
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 02 Jul 2018 21:35:00 +0200 |
parents | b01b58d06894 |
children |
comparison
equal
deleted
inserted
replaced
156:b01b58d06894 | 157:79e9d7bcd96e |
---|---|
237 /*** avatars ***/ | 237 /*** avatars ***/ |
238 | 238 |
239 .avatar { | 239 .avatar { |
240 height: 2rem; | 240 height: 2rem; |
241 width: 2rem; | 241 width: 2rem; |
242 display: inline-flex; | |
243 flex-direction: column; | |
244 align-content: center; | 242 align-content: center; |
245 justify-content: center; | 243 justify-content: center; |
246 background: #ccc; | 244 background: #ccc; |
247 border-radius: 0.2rem; | 245 border-radius: 0.2rem; |
246 } | |
247 | |
248 .avatar--generated{ | |
249 display: inline-flex; | |
250 flex-direction: column; | |
251 } | |
252 | |
253 .avatar--float-left { | |
254 float: left; | |
255 margin-top: 0.3em; | |
256 margin-right: 0.5em; | |
248 } | 257 } |
249 | 258 |
250 .avatar__content { | 259 .avatar__content { |
251 | 260 |
252 } | 261 } |