diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2020-05-07 15:23:22 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2020-05-07 15:23:22 +0200 |
commit | b7f54a7c4f8fb062473603fe80b7996b0bf14d1f (patch) | |
tree | 5d1bc80de31d53021229e20d993d8f9a5c6b3379 /assets/css | |
parent | 0548d5b3f24ffa1ed7950f97905fae0315fad910 (diff) |
html: Add a sidebar to quickly jump to messages.
Diffstat (limited to 'assets/css')
-rw-r--r-- | assets/css/screen.css | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/assets/css/screen.css b/assets/css/screen.css index deb4ce0..ba043ce 100644 --- a/assets/css/screen.css +++ b/assets/css/screen.css @@ -172,10 +172,35 @@ table { display: block; } +a.message-anchor { + display: block; + position: relative; + top: -80px; + visibility: hidden; +} + +#sidebar { + display: none; + position: fixed; + right: 10px; + top: 30%; + background: white; + border: 1px solid #ddd; + border-radius: 6px; + padding: .5em; +} + +@media (min-width: 1200px) { + #sidebar { + display: block; + } +} + .conversation .avatar { display: none; } +#sidebar .avatar, .message .from .avatar { width: 1.2em; height: 1.2em; |