snort/src/element/Note.css

67 lines
1.1 KiB
CSS
Raw Normal View History

2022-12-18 14:51:47 +00:00
.note {
margin-bottom: 10px;
border-bottom: 1px solid var(--gray);
}
.note.thread {
border-bottom: none;
2022-12-18 14:51:47 +00:00
}
2023-01-08 15:00:28 +00:00
.note.active {
background-color: var(--gray-secondary);
border-left: 3px solid var(--highlight);
2023-01-08 15:00:28 +00:00
}
2022-12-27 23:46:13 +00:00
.note > .header > .pfp {
2022-12-18 14:51:47 +00:00
flex-grow: 1;
}
2022-12-27 23:46:13 +00:00
.note > .header .reply {
2022-12-18 14:51:47 +00:00
font-size: small;
color: var(--gray-light);
2022-12-18 14:51:47 +00:00
}
.note > .header > .info {
font-size: small;
2023-01-09 16:18:34 +00:00
white-space: nowrap;
color: var(--gray-light);
2022-12-18 14:51:47 +00:00
}
.note > .body {
padding: 10px 5px;
white-space: pre-wrap;
overflow: hidden;
word-break: normal;
}
2023-01-06 20:38:51 +00:00
.note > .body > img, .note > .body > video, .note > .body > iframe {
2023-01-04 11:52:16 +00:00
max-width: 100%;
max-height: 500px;
margin: 10px;
margin-left: auto;
margin-right: auto;
display: block;
2023-01-06 20:38:51 +00:00
}
2022-12-18 14:51:47 +00:00
.note > .header > img:hover, .note > .header > .name > .reply:hover, .note > .body:hover {
cursor: pointer;
}
2022-12-20 23:14:13 +00:00
.note > .footer {
padding: 10px 0;
text-align: right;
2023-01-06 13:01:54 +00:00
}
.indented {
border-left: 3px solid var(--gray-tertiary);
2023-01-06 13:01:54 +00:00
padding-left: 2px;
}
.indented .note {
border-bottom: none;
padding: 0 4px;
}
.note .body a {
color: var(--highlight);
}