misuzu/assets/less/mio/classes/news/preview.less

57 lines
978 B
Text
Raw Normal View History

2018-04-16 00:33:54 +00:00
.news__preview {
&__listing {
flex-grow: 1;
flex-shrink: 1;
}
&__container {
2018-04-16 00:33:54 +00:00
display: flex;
margin: 1px;
flex-direction: column;
2018-04-16 00:33:54 +00:00
}
&__content {
2018-04-16 00:33:54 +00:00
flex-grow: 1;
flex-shrink: 1;
display: flex;
}
&__text {
flex: 1 1 auto;
2018-04-16 00:33:54 +00:00
}
&__info {
display: flex;
justify-content: space-between;
border-top: 1px solid #9475b2;
font-size: .9em;
padding: 0 2px;
margin-top: 1px;
2018-04-16 00:33:54 +00:00
}
&__link {
color: inherit;
text-decoration: underline dotted;
&:hover {
text-decoration: underline;
}
}
2018-04-16 00:33:54 +00:00
&__user {
text-align: center;
flex: 0 0 auto;
2018-04-16 00:33:54 +00:00
text-decoration: none;
color: inherit;
display: flex;
flex-direction: column;
2018-04-16 00:33:54 +00:00
&__avatar {
height: 50px;
width: 50px;
2018-04-16 00:33:54 +00:00
margin-left: 4px;
}
}
}