UNPKG

@derockdev/discord-components-core

Version:

Web components to easily build and display fake Discord messages on your webpages.

62 lines (53 loc) 1.09 kB
.discord-thread { background-color: #2f3136; border-radius: 4px; cursor: pointer; margin-top: 8px; max-width: 480px; min-width: 0; padding: 8px; display: inline-flex; width: fit-content; flex-direction: column; } .discord-light-theme .discord-thread { background-color: #f2f3f5; } .discord-thread .discord-thread-top { display: flex; } .discord-thread .discord-thread-bottom { font-size: 0.875rem; line-height: 1.125rem; align-items: center; color: #b9bbbe; display: flex; margin-top: 2px; white-space: nowrap; } .discord-light-theme .discord-thread-bottom { color: #4f5660; } .discord-thread .discord-thread-name { font-size: 0.875rem; font-weight: 600; line-height: 1.125rem; color: white; margin-right: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .discord-light-theme .discord-thread-name { color: #060607; } .discord-thread .discord-thread-cta { color: #00aff4; flex-shrink: 0; font-size: 0.875rem; font-weight: 600; line-height: 1.125rem; } .discord-thread:hover .discord-thread-cta { text-decoration: underline; }