diff options
author | vimux <vimux@protonmail.com> | 2018-11-18 19:00:23 +0300 |
---|---|---|
committer | vimux <vimux@protonmail.com> | 2018-11-18 19:00:23 +0300 |
commit | 0038cc1f58dcfe8b331976448b041a20d2a072f1 (patch) | |
tree | a7d57d498d4bd4645d150da54bfe8d9d4b27c670 /static | |
parent | 290d1cb0aeb00689f785a08501a97971d685986d (diff) |
Add authorbox
Diffstat (limited to 'static')
-rw-r--r-- | static/css/main.css | 24 | ||||
-rw-r--r-- | static/img/avatar.png | bin | 0 -> 428 bytes |
2 files changed, 24 insertions, 0 deletions
diff --git a/static/css/main.css b/static/css/main.css index 3823a17..73934d9 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -816,6 +816,30 @@ mark { text-align: center; } +/* Authorbox */ +.author { + display: flex; + align-items: flex-start; +} + +.author__avatar { + margin-right: .875rem; + margin-bottom: 0; +} + +.author__img { + border-radius: 50%; +} + +.author__body { + flex: 1; +} + +.author__name { + margin-bottom: .625rem; + font-weight: 700; +} + /* Comments */ .comments { margin-top: .625rem; diff --git a/static/img/avatar.png b/static/img/avatar.png Binary files differnew file mode 100644 index 0000000..c1eb30f --- /dev/null +++ b/static/img/avatar.png |