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

63 lines
1.1 KiB
Text
Raw Normal View History

2018-04-16 02:33:54 +02:00
.news__preview {
2018-10-22 23:10:38 +02:00
margin-bottom: 2px;
2018-04-16 02:33:54 +02:00
&__listing {
flex-grow: 1;
flex-shrink: 1;
}
&__container {
2018-04-16 02:33:54 +02:00
display: flex;
margin: 1px;
flex-direction: column;
2018-04-16 02:33:54 +02:00
}
&__content {
2018-04-16 02:33:54 +02:00
flex-grow: 1;
flex-shrink: 1;
display: flex;
}
&__text {
flex: 1 1 auto;
2018-10-24 01:03:05 +02:00
padding: 2px 5px;
2018-04-16 02:33:54 +02:00
}
&__info {
display: flex;
justify-content: space-between;
font-size: .9em;
2018-04-16 02:33:54 +02:00
}
&__link {
color: var(--accent-colour);
text-decoration: none;
padding: 2px 5px;
&:hover {
text-decoration: underline;
}
}
2018-04-16 02:33:54 +02:00
&__user {
text-align: center;
flex: 0 0 auto;
2018-04-16 02:33:54 +02:00
text-decoration: none;
color: inherit;
display: flex;
flex-direction: column;
padding: 5px;
align-items: center;
2018-04-16 02:33:54 +02:00
&__avatar {
height: 50px;
width: 50px;
2018-04-16 02:33:54 +02:00
}
2018-09-23 16:42:15 +02:00
&__name {
color: var(--user-colour);
text-shadow: 0 0 5px var(--user-colour);
}
2018-04-16 02:33:54 +02:00
}
}