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

64 lines
1.1 KiB
Text
Raw Normal View History

2018-04-16 00:33:54 +00:00
.news__preview {
2018-10-22 21:10:38 +00:00
margin-bottom: 2px;
2018-04-16 00:33:54 +00:00
&__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-10-23 23:03:05 +00:00
padding: 2px 5px;
2018-04-16 00:33:54 +00:00
}
&__info {
display: flex;
justify-content: space-between;
2018-09-09 22:44:10 +00:00
border-top: 1px solid var(--accent-colour);
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;
}
2018-09-23 14:42:15 +00:00
&__name {
color: var(--user-colour);
text-shadow: 0 0 5px var(--user-colour);
}
2018-04-16 00:33:54 +00:00
}
}