mirror of
https://github.com/dergigi/boris.git
synced 2025-12-26 11:04:24 +01:00
63 lines
1.1 KiB
CSS
63 lines
1.1 KiB
CSS
/* Nostr content parsing and URI resolution styles */
|
|
.parsed-content,
|
|
.nostr-mention,
|
|
.nostr-link,
|
|
.nostr-uri-link {
|
|
word-wrap: break-word;
|
|
overflow-wrap: break-word;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.parsed-content {
|
|
margin: 1rem 0;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.nostr-mention,
|
|
.nostr-uri-link {
|
|
color: rgb(59 130 246); /* blue-500 */
|
|
text-decoration: none;
|
|
font-family: monospace;
|
|
background: rgb(248 250 252); /* slate-50 */
|
|
padding: 0.2rem 0.4rem;
|
|
border-radius: 3px;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.nostr-uri-link {
|
|
font-size: 0.9em;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.nostr-mention:hover,
|
|
.nostr-uri-link:hover {
|
|
background: rgb(226 232 240); /* slate-200 */
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.nostr-link {
|
|
color: rgb(59 130 246); /* blue-500 */
|
|
text-decoration: none;
|
|
}
|
|
|
|
.nostr-link:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
/* Empty state */
|
|
.empty-state {
|
|
text-align: center;
|
|
padding: 3rem;
|
|
color: rgb(161 161 170); /* zinc-400 */
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.empty-state p {
|
|
margin: 0.5rem 0;
|
|
}
|
|
|