124 lines
2.5 KiB
Text
124 lines
2.5 KiB
Text
.forum__post {
|
|
display: flex;
|
|
margin: 2px 0;
|
|
|
|
@media (max-width: @site-mobile-width) {
|
|
flex-direction: column;
|
|
}
|
|
|
|
&__content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex-grow: 1;
|
|
flex-shrink: 1;
|
|
word-wrap: break-word;
|
|
overflow: hidden;
|
|
}
|
|
|
|
&__details {
|
|
font-size: .9em;
|
|
line-height: 1.7em;
|
|
padding: 0 2px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
color: #888;
|
|
}
|
|
|
|
&__datetime,
|
|
&__id {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
|
|
&:hover {
|
|
text-decoration: underline;
|
|
}
|
|
}
|
|
|
|
&__text {
|
|
margin: 2px;
|
|
line-height: 1.2em;
|
|
|
|
@media (max-width: @site-mobile-width) {
|
|
margin: 4px;
|
|
font-size: 1.2em;
|
|
line-height: 1.3em;
|
|
}
|
|
}
|
|
|
|
&__info {
|
|
background-image: linear-gradient(90deg, var(--user-colour), transparent);
|
|
min-width: 150px;
|
|
text-align: center;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
padding: 15px;
|
|
flex: 0 0 auto;
|
|
margin-right: 4px;
|
|
|
|
@media (max-width: @site-mobile-width) {
|
|
background-image: linear-gradient(180deg, var(--user-colour), transparent);
|
|
flex-direction: row;
|
|
margin: 0;
|
|
padding: 5px;
|
|
}
|
|
}
|
|
|
|
&__icons {
|
|
display: flex;
|
|
align-items: center;
|
|
|
|
@media (max-width: @site-mobile-width) {
|
|
flex-direction: column;
|
|
align-items: flex-end;
|
|
}
|
|
}
|
|
|
|
&__posts-count {
|
|
font-size: .9em;
|
|
margin-left: 4px;
|
|
}
|
|
|
|
&__joined {
|
|
flex: 1 1 auto;
|
|
margin: 2px;
|
|
max-width: 170px;
|
|
font-size: .9em;
|
|
justify-self: flex-end;
|
|
margin-top: 10px;
|
|
margin-bottom: -10px;
|
|
|
|
@media (max-width: @site-mobile-width) {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
&__avatar {
|
|
width: 120px;
|
|
height: 120px;
|
|
|
|
@media (max-width: @site-mobile-width) {
|
|
width: 40px;
|
|
height: 40px;
|
|
margin-right: 4px;
|
|
}
|
|
}
|
|
|
|
&__username {
|
|
color: inherit;
|
|
font-size: 1.4em;
|
|
line-height: 1.5em;
|
|
text-decoration: none;
|
|
margin: 2px 0 1px;
|
|
|
|
&[href]:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
@media (max-width: @site-mobile-width) {
|
|
flex: 1 1 auto;
|
|
text-align: left;
|
|
margin: 0 4px;
|
|
}
|
|
}
|
|
}
|