This repository has been archived on 2024-06-26. You can view files and clone it, but cannot push or open issues or pull requests.
sakura/resources/assets/less/yuuno/bem/news.less

61 lines
1.2 KiB
Text
Raw Normal View History

2016-11-09 18:32:23 +00:00
.news {
&__head {
margin: -1px -2px;
padding: 4px;
2016-12-08 23:10:56 +00:00
background: #c2affe;
2016-11-09 18:32:23 +00:00
color: inherit !important;
font-weight: 700;
display: block;
font-size: 16px;
color: inherit;
text-decoration: none !important;
}
&__body {
font-size: 11px;
line-height: 14px;
padding: 2px 0 0 3px;
p { // another oops for backwards compatiblity, fix this later with parsing
margin: 0;
margin-bottom: 1em;
}
}
&__date {
font-size: 11px;
padding: 6px 15px;
text-align: right;
font-weight: 700;
}
&__poster {
margin-top: -20px;
float: right;
text-align: center;
min-width: 140px;
z-index: 2;
text-decoration: none !important;
color: inherit !important;
}
&__avatar {
width: 120px;
height: 120px;
@media (max-width: 400px) {
display: none;
}
}
&__username {
font-size: 20px;
line-height: 22px;
2016-11-13 23:29:31 +00:00
font-family: @cute-font;
2016-11-09 18:32:23 +00:00
@media (max-width: 400px) {
margin-top: 22px;
}
}
}