47 lines
818 B
SCSS
47 lines
818 B
SCSS
.moment-media {
|
|
display: grid;
|
|
gap: calc(var(--size-theme-font) * 0.5);
|
|
margin: var(--size-theme-font) 0;
|
|
width: 80%;
|
|
|
|
video {
|
|
width: 100%;
|
|
height: calc(var(--size-theme-font) * 12.5);
|
|
object-fit: cover;
|
|
border-radius: var(--size-theme-font);
|
|
transition: transform 0.3s ease;
|
|
}
|
|
}
|
|
|
|
.moment-footer {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
margin-top: calc(var(--size-theme-font) * 0.8);
|
|
}
|
|
|
|
.moment-action-btn {
|
|
padding: 0;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.35em;
|
|
border: none;
|
|
font-size: calc(var(--size-theme-font) * 0.85);
|
|
color: var(--color-theme-text);
|
|
|
|
&:hover {
|
|
background: none;
|
|
}
|
|
|
|
&.active {
|
|
color: var(--color-theme-text-accent);
|
|
}
|
|
}
|
|
|
|
.moment-comment-section {
|
|
display: none;
|
|
|
|
&.active {
|
|
display: block;
|
|
}
|
|
} |