diff options
author | Volpeon <git@volpeon.ink> | 2021-03-10 11:22:20 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2021-03-10 11:22:20 +0100 |
commit | a200dc47ebeccd8e31f8803b572c0602b9a835e7 (patch) | |
tree | c35afad47132049b6df310c2bd1f01e34a7a0bfd /theme.css | |
parent | Fix (diff) | |
download | thelounge-theme-vulpes-a200dc47ebeccd8e31f8803b572c0602b9a835e7.tar.gz thelounge-theme-vulpes-a200dc47ebeccd8e31f8803b572c0602b9a835e7.tar.bz2 thelounge-theme-vulpes-a200dc47ebeccd8e31f8803b572c0602b9a835e7.zip |
Add horizontal padding to date/unread marker
Diffstat (limited to 'theme.css')
-rw-r--r-- | theme.css | 42 |
1 files changed, 26 insertions, 16 deletions
@@ -494,22 +494,6 @@ textarea.input { | |||
494 | color: var(--color--header--fg); | 494 | color: var(--color--header--fg); |
495 | } | 495 | } |
496 | 496 | ||
497 | #chat .date-marker::before { | ||
498 | border-color: var(--color--date-marker--border); | ||
499 | } | ||
500 | |||
501 | #chat .date-marker, | ||
502 | #chat .unread-marker { | ||
503 | margin: calc(var(--dim--spacing) * 1.5) 0; | ||
504 | } | ||
505 | |||
506 | #chat .date-marker-container + .date-marker-container .date-marker, | ||
507 | #chat .date-marker-container + .unread-marker, | ||
508 | #chat .unread-marker + .unread-marker, | ||
509 | #chat .unread-marker + .date-marker-container .date-marker { | ||
510 | margin-top: 0; | ||
511 | } | ||
512 | |||
513 | @media (max-width: 768px) { | 497 | @media (max-width: 768px) { |
514 | .header .topic { | 498 | .header .topic { |
515 | font-size: 14px; | 499 | font-size: 14px; |
@@ -564,6 +548,32 @@ textarea.input { | |||
564 | } | 548 | } |
565 | } | 549 | } |
566 | 550 | ||
551 | /* DATE/UNREAD MARKER */ | ||
552 | |||
553 | #chat .date-marker::before { | ||
554 | border-color: var(--color--date-marker--border); | ||
555 | } | ||
556 | |||
557 | #chat .date-marker, | ||
558 | #chat .unread-marker { | ||
559 | margin: calc(var(--dim--spacing) * 1.5) var(--dim--container-lg--pad); | ||
560 | } | ||
561 | |||
562 | #chat .date-marker-container + .date-marker-container .date-marker, | ||
563 | #chat .date-marker-container + .unread-marker, | ||
564 | #chat .unread-marker + .unread-marker, | ||
565 | #chat .unread-marker + .date-marker-container .date-marker { | ||
566 | margin-top: 0; | ||
567 | } | ||
568 | |||
569 | @media (max-width: 479px) { | ||
570 | #chat .date-marker, | ||
571 | #chat .unread-marker { | ||
572 | margin-right: var(--dim--container--pad); | ||
573 | margin-left: var(--dim--container--pad); | ||
574 | } | ||
575 | } | ||
576 | |||
567 | /* MESSAGE */ | 577 | /* MESSAGE */ |
568 | 578 | ||
569 | .irc-bold { | 579 | .irc-bold { |