This repository has been archived on 2024-06-26. You can view files and clone it, but cannot push or open issues or pull requests.
sakura/resources/assets/less/yuuno/bem/topic.less

75 lines
1.3 KiB
Text
Raw Normal View History

2016-11-12 01:52:51 +00:00
.topic {
display: flex;
min-height: 40px;
align-items: center;
&--highlight {
background-color: #C2AFFE;
}
&__icon {
width: 40px;
line-height: 40px;
color: #444;
text-shadow: 0 0 5px #444;
text-align: center;
flex-shrink: 0;
&--unread {
color: #6C5D7B;
text-shadow: 0 0 5px #9475B2;
}
}
&__info {
flex-grow: 1;
flex-shrink: 1;
}
&__author {
font-size: 0.8em;
line-height: 1em;
}
&__stats {
text-align: center;
2016-11-12 18:49:38 +00:00
padding: 0 10px;
min-width: 50px;
2016-11-12 01:52:51 +00:00
}
&__stat {
font-size: 0.8em;
color: #555;
line-height: 1em;
&--big {
font-size: 1.3em;
color: #111;
}
}
&__recent {
display: flex;
width: 250px;
align-items: center;
&-avatar {
width: 20px;
height: 20px;
flex-shrink: 0;
}
&-info {
text-align: right;
flex-grow: 1;
padding: 0 4px;
font-size: 0.9em;
line-height: 1.4em;
}
@media (max-width: 768px) {
display: none;
}
}
}