.PreviewView { text-align: center; margin-bottom: 32px; } .PreviewView h1 { font-size: 24px; line-height: 32px; margin-bottom: 8px; word-wrap: anywhere; color: var(--foreground); /* Nutzt dein Weiß/Highlight */ } .PreviewView .avatarContainer { display: flex; justify-content: center; margin: 0; } .PreviewView .avatar { border-radius: 8px; /* Eckiger, wie in deinem Entwurf */ width: 80px; /* Etwas größer für mehr Wirkung */ height: 80px; border: 2px solid var(--borders); } .PreviewView .mxSpace .avatar { border-radius: 12px; } .PreviewView .defaultAvatar { width: 80px; height: 80px; border-radius: 8px; background-color: var(--lightgrey); background-image: url('../images/chat-icon.svg'); background-repeat: no-repeat; background-position: center; background-size: 60%; } .PreviewView .identifier { color: var(--sub-text); /* Das weichere Grau */ font-size: 13px; margin: 12px 0; opacity: 0.8; } .PreviewView .memberCount p:not(.placeholder) { padding: 6px 12px 6px 28px; border-radius: 4px; /* Eckiger statt Pille */ color: var(--foreground); background-image: url(../images/member-icon.svg); background-repeat: no-repeat; background-position: 6px center; background-color: var(--lightgrey); /* Dunkler Kontrast zur Card */ font-size: 12px; } .PreviewView .topic { font-size: 14px; line-height: 1.6; color: var(--sub-text); /* Dein Fließtext-Grau */ margin: 24px 0; padding: 0 10px; } /* Placeholder-Animation für dunkles Theme anpassen */ .placeholder { border-radius: 4px; --flash-bg: #383a59; /* Dracula Light Grey */ --flash-fg: #44475a; /* Dracula Current Line */ background: linear-gradient(120deg, var(--flash-bg), var(--flash-bg) 10%, var(--flash-fg) calc(10% + 25px), var(--flash-bg) calc(10% + 50px) ); animation: flash 2s linear infinite; background-size: 200%; }