2018-04-16 00:33:54 +00:00
|
|
|
.news__post {
|
|
|
|
&__content {
|
|
|
|
margin: 2px;
|
|
|
|
display: flex;
|
|
|
|
|
2018-08-15 13:59:34 +00:00
|
|
|
@media (max-width: @site-mobile-width) {
|
2018-04-16 00:33:54 +00:00
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__text {
|
|
|
|
margin-left: 2px;
|
|
|
|
flex-grow: 1;
|
|
|
|
flex-shrink: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__details {
|
|
|
|
width: 200px;
|
|
|
|
|
2018-08-15 13:59:34 +00:00
|
|
|
@media (max-width: @site-mobile-width) {
|
2018-04-16 00:33:54 +00:00
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__detail {
|
2018-09-09 22:44:10 +00:00
|
|
|
border: 1px solid var(--accent-colour);
|
2018-04-16 00:33:54 +00:00
|
|
|
padding: 1px;
|
|
|
|
|
|
|
|
&:not(:last-child) {
|
|
|
|
margin-bottom: 2px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__user {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
text-decoration: none;
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__avatar {
|
|
|
|
text-align: right;
|
|
|
|
width: 50px;
|
|
|
|
height: 50px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__username {
|
|
|
|
flex-grow: 1;
|
|
|
|
flex-shrink: 1;
|
|
|
|
font-weight: 700;
|
|
|
|
font-size: 1.5em;
|
|
|
|
line-height: 1.2em;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__info {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
padding: 1px 4px;
|
|
|
|
text-decoration: none;
|
|
|
|
color: inherit;
|
|
|
|
|
2018-04-17 21:50:21 +00:00
|
|
|
&--link {
|
|
|
|
&:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
2018-04-16 00:33:54 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|