timeline spacing and font-size tweaking

This commit is contained in:
Bruno Windels 2020-08-19 11:02:27 +02:00
parent fcf7052217
commit b2a01ba860

View file

@ -149,7 +149,7 @@ button.styled {
} }
.LeftPanel li { .LeftPanel li {
margin: 5px 10px; margin: 3px 10px;
padding: 5px; padding: 5px;
/* vertical align */ /* vertical align */
align-items: center; align-items: center;
@ -227,7 +227,6 @@ a {
color: #FF4B55; color: #FF4B55;
} }
.RoomHeader { .RoomHeader {
background: rgba(245, 245, 245, 0.90); background: rgba(245, 245, 245, 0.90);
padding: 10px; padding: 10px;
@ -235,6 +234,7 @@ a {
.RoomHeader h2 { .RoomHeader h2 {
font-size: 1.8rem; font-size: 1.8rem;
font-weight: 600;
} }
.RoomHeader button { .RoomHeader button {
@ -257,7 +257,7 @@ a {
} }
.RoomHeader .topic { .RoomHeader .topic {
font-size: 0.8em; font-size: 14rem;
} }
.RoomView_error { .RoomView_error {
@ -293,9 +293,16 @@ a {
background-color: #E3E8F0; background-color: #E3E8F0;
} }
ul.Timeline > li:not(.continuation) {
margin-top: 7px;
}
ul.Timeline > li.continuation .sender {
display: none;
}
.message-container { .message-container {
padding: 2px 10px; padding: 1px 10px 0px 10px;
margin: 5px 10px 0 10px; margin: 5px 10px 0 10px;
} }
@ -305,8 +312,9 @@ a {
} }
.message-container .sender { .message-container .sender {
margin: 5px 0; margin: 6px 0;
font-weight: bold; font-weight: bold;
line-height: 1.7rem;
} }
.hydrogen .sender.usercolor1 { color: var(--usercolor1); } .hydrogen .sender.usercolor1 { color: var(--usercolor1); }
@ -321,6 +329,7 @@ a {
.message-container time { .message-container time {
padding: 2px 0 0px 10px; padding: 2px 0 0px 10px;
font-size: 0.8em; font-size: 0.8em;
line-height: normal;
color: #aaa; color: #aaa;
} }
@ -329,7 +338,8 @@ a {
} }
.message-container p { .message-container p {
margin: 5px 0; margin: 3px 0;
line-height: 2.2rem;
} }
.AnnouncementView { .AnnouncementView {