75 lines
1.4 KiB
CSS
75 lines
1.4 KiB
CSS
.root-note {
|
|
max-width: 45rem;
|
|
background-color: var(--foreground-color);
|
|
/*width, padding and margin are a hack to make some mfm art look correct*/
|
|
width: calc(100% + 3rem);
|
|
padding: 1.5rem 1.5rem 1rem;
|
|
margin: -1.5rem -1.5rem 0;
|
|
border-bottom: solid var(--highlight-color) 0.1rem;
|
|
overflow: clip;
|
|
border-radius: 0.75rem;
|
|
}
|
|
|
|
.descendants {
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: 100%;
|
|
align-items: center;
|
|
}
|
|
|
|
.wrapper {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
@media (max-width: 1000px) {
|
|
padding-bottom: 5rem;
|
|
}
|
|
|
|
}
|
|
|
|
|
|
::deep {
|
|
.detail-entry {
|
|
display: flex;
|
|
margin: 0.75rem 0.25rem;
|
|
cursor: pointer;
|
|
|
|
.icon {
|
|
border-radius: 8px;
|
|
object-fit: cover;
|
|
width: 3em;
|
|
height: 3em;
|
|
align-self: center;
|
|
margin-right: 0.5rem;
|
|
}
|
|
}
|
|
}
|
|
|
|
::deep {
|
|
.detail-entry > .name-section {
|
|
margin-left: 0.25rem;
|
|
white-space: nowrap;
|
|
word-break: break-all;
|
|
text-overflow: ellipsis;
|
|
overflow: hidden;
|
|
}
|
|
}
|
|
|
|
::deep {
|
|
.detail-entry .username {
|
|
font-size: 0.9rem;
|
|
}
|
|
}
|
|
|
|
.container {
|
|
background-color: var(--foreground-color);
|
|
border-radius: 0.75rem;
|
|
padding: 1.5rem 1.5rem 1rem;
|
|
margin: 1.5rem 1rem 1rem;
|
|
max-width: 45rem;
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
.ascendants {
|
|
}
|