|
|
@ -3,232 +3,281 @@ |
|
|
|
box-shadow: 0 0 15px rgba(0, 0, 0, 0.2); |
|
|
|
box-shadow: 0 0 15px rgba(0, 0, 0, 0.2); |
|
|
|
|
|
|
|
|
|
|
|
.entry { |
|
|
|
.entry { |
|
|
|
|
|
|
|
.status.light, .detailed-status.light { |
|
|
|
border-bottom: 1px solid #d9e1e8; |
|
|
|
border-bottom: 1px solid #d9e1e8; |
|
|
|
background: #fff; |
|
|
|
|
|
|
|
border-left: 2px solid #fff; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
&.entry-reblog { |
|
|
|
|
|
|
|
border-left-color: #2b90d9; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
&.entry-predecessor, &.entry-successor { |
|
|
|
|
|
|
|
background: #d9e1e8; |
|
|
|
|
|
|
|
border-left-color: #d9e1e8; |
|
|
|
|
|
|
|
border-bottom-color: darken(#d9e1e8, 10%); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.header { |
|
|
|
|
|
|
|
.header__right { |
|
|
|
|
|
|
|
.counter-btn { |
|
|
|
|
|
|
|
color: darken(#d9e1e8, 15%); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
&.entry-center { |
|
|
|
|
|
|
|
border-bottom-color: darken(#d9e1e8, 10%); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
&.entry-follow, &.entry-favourite { |
|
|
|
|
|
|
|
.content { |
|
|
|
|
|
|
|
padding-top: 10px; |
|
|
|
|
|
|
|
padding-bottom: 10px; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
strong { |
|
|
|
|
|
|
|
font-weight: 500; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
&:last-child { |
|
|
|
&:last-child { |
|
|
|
|
|
|
|
.status.light, .detailed-status.light { |
|
|
|
border-bottom: 0; |
|
|
|
border-bottom: 0; |
|
|
|
border-radius: 0 0 4px 4px; |
|
|
|
border-radius: 0 0 4px 4px; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.entry:first-child { |
|
|
|
&:first-child { |
|
|
|
|
|
|
|
.status.light, .detailed-status.light { |
|
|
|
border-radius: 4px 4px 0 0; |
|
|
|
border-radius: 4px 4px 0 0; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
&:last-child { |
|
|
|
&:last-child { |
|
|
|
|
|
|
|
.status.light, .detailed-status.light { |
|
|
|
border-radius: 4px; |
|
|
|
border-radius: 4px; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@media screen and (max-width: 700px) { |
|
|
|
.status.light { |
|
|
|
border-radius: 0; |
|
|
|
padding: 14px 14px 14px (48px + 14px*2); |
|
|
|
box-shadow: none; |
|
|
|
position: relative; |
|
|
|
|
|
|
|
min-height: 48px; |
|
|
|
|
|
|
|
cursor: default; |
|
|
|
|
|
|
|
background: lighten(#d9e1e8, 8%); |
|
|
|
|
|
|
|
|
|
|
|
.entry { |
|
|
|
.status__header { |
|
|
|
&:last-child { |
|
|
|
font-size: 15px; |
|
|
|
border-radius: 0; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
&:first-child { |
|
|
|
.status__meta { |
|
|
|
border-radius: 0; |
|
|
|
float: right; |
|
|
|
|
|
|
|
font-size: 14px; |
|
|
|
|
|
|
|
|
|
|
|
&:last-child { |
|
|
|
.status__relative-time { |
|
|
|
border-radius: 0; |
|
|
|
color: #9baec8; |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.entry__container { |
|
|
|
.status__display-name { |
|
|
|
overflow: hidden; |
|
|
|
display: block; |
|
|
|
|
|
|
|
max-width: 100%; |
|
|
|
|
|
|
|
padding-right: 25px; |
|
|
|
|
|
|
|
color: #282c37; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.avatar { |
|
|
|
.status__avatar { |
|
|
|
width: 56px; |
|
|
|
position: absolute; |
|
|
|
padding: 15px 10px; |
|
|
|
left: 14px; |
|
|
|
padding-right: 5px; |
|
|
|
top: 14px; |
|
|
|
float: left; |
|
|
|
width: 48px; |
|
|
|
|
|
|
|
height: 48px; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
& > div { |
|
|
|
|
|
|
|
width: 48px; |
|
|
|
|
|
|
|
height: 48px; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
img { |
|
|
|
img { |
|
|
|
width: 56px; |
|
|
|
|
|
|
|
height: 56px; |
|
|
|
|
|
|
|
display: block; |
|
|
|
display: block; |
|
|
|
border-radius: 4px; |
|
|
|
border-radius: 4px; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.entry__container__container { |
|
|
|
.display-name { |
|
|
|
margin-left: 71px; |
|
|
|
display: block; |
|
|
|
|
|
|
|
max-width: 100%; |
|
|
|
|
|
|
|
overflow: hidden; |
|
|
|
|
|
|
|
white-space: nowrap; |
|
|
|
|
|
|
|
text-overflow: ellipsis; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
strong { |
|
|
|
|
|
|
|
font-weight: 500; |
|
|
|
|
|
|
|
color: #282c37; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.header { |
|
|
|
span { |
|
|
|
margin-bottom: 10px; |
|
|
|
font-size: 14px; |
|
|
|
padding: 15px; |
|
|
|
color: #9baec8; |
|
|
|
padding-bottom: 0; |
|
|
|
} |
|
|
|
padding-left: 8px; |
|
|
|
} |
|
|
|
display: flex; |
|
|
|
|
|
|
|
|
|
|
|
.status__content { |
|
|
|
|
|
|
|
color: #282c37; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
a { |
|
|
|
|
|
|
|
color: #2b90d9; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.header__left { |
|
|
|
.status__attachments { |
|
|
|
flex: 1; |
|
|
|
margin-top: 8px; |
|
|
|
|
|
|
|
overflow: hidden; |
|
|
|
|
|
|
|
width: 100%; |
|
|
|
|
|
|
|
box-sizing: border-box; |
|
|
|
|
|
|
|
height: 110px; |
|
|
|
|
|
|
|
display: flex; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.header__right { |
|
|
|
.detailed-status.light { |
|
|
|
|
|
|
|
padding: 14px; |
|
|
|
|
|
|
|
background: #fff; |
|
|
|
|
|
|
|
cursor: default; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.detailed-status__display-name { |
|
|
|
|
|
|
|
display: block; |
|
|
|
|
|
|
|
overflow: hidden; |
|
|
|
|
|
|
|
margin-bottom: 15px; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
& > div { |
|
|
|
|
|
|
|
float: left; |
|
|
|
|
|
|
|
margin-right: 10px; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.name { |
|
|
|
.display-name { |
|
|
|
text-decoration: none; |
|
|
|
display: block; |
|
|
|
color: #9baec8; |
|
|
|
max-width: 100%; |
|
|
|
|
|
|
|
overflow: hidden; |
|
|
|
|
|
|
|
white-space: nowrap; |
|
|
|
|
|
|
|
text-overflow: ellipsis; |
|
|
|
|
|
|
|
|
|
|
|
strong { |
|
|
|
strong { |
|
|
|
color: #282c37; |
|
|
|
|
|
|
|
font-weight: 500; |
|
|
|
font-weight: 500; |
|
|
|
|
|
|
|
color: #282c37; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
&:hover { |
|
|
|
span { |
|
|
|
strong { |
|
|
|
font-size: 14px; |
|
|
|
text-decoration: underline; |
|
|
|
color: #9baec8; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.avatar { |
|
|
|
|
|
|
|
width: 48px; |
|
|
|
|
|
|
|
height: 48px; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
img { |
|
|
|
|
|
|
|
display: block; |
|
|
|
|
|
|
|
border-radius: 4px; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.pre-header { |
|
|
|
.status__content { |
|
|
|
border-bottom: 1px solid #d9e1e8; |
|
|
|
color: #282c37; |
|
|
|
color: #2b90d9; |
|
|
|
|
|
|
|
padding: 5px 10px; |
|
|
|
|
|
|
|
padding-left: 8px; |
|
|
|
|
|
|
|
clear: both; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.name { |
|
|
|
a { |
|
|
|
color: #2b90d9; |
|
|
|
color: #2b90d9; |
|
|
|
font-weight: 500; |
|
|
|
} |
|
|
|
text-decoration: none; |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
&:hover { |
|
|
|
.detailed-status__meta { |
|
|
|
text-decoration: underline; |
|
|
|
margin-top: 15px; |
|
|
|
|
|
|
|
color: #9baec8; |
|
|
|
|
|
|
|
font-size: 14px; |
|
|
|
|
|
|
|
line-height: 18px; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
a { |
|
|
|
|
|
|
|
color: inherit; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
span > span { |
|
|
|
|
|
|
|
font-weight: 500; |
|
|
|
|
|
|
|
font-size: 12px; |
|
|
|
|
|
|
|
margin-left: 6px; |
|
|
|
|
|
|
|
display: inline-block; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.content { |
|
|
|
.detailed-status__attachments { |
|
|
|
font-size: 14px; |
|
|
|
margin-top: 8px; |
|
|
|
padding: 0 15px; |
|
|
|
|
|
|
|
padding-left: 8px; |
|
|
|
|
|
|
|
padding-bottom: 15px; |
|
|
|
|
|
|
|
color: #282c37; |
|
|
|
|
|
|
|
word-wrap: break-word; |
|
|
|
|
|
|
|
overflow: hidden; |
|
|
|
overflow: hidden; |
|
|
|
white-space: pre-wrap; |
|
|
|
width: 100%; |
|
|
|
|
|
|
|
box-sizing: border-box; |
|
|
|
|
|
|
|
height: 300px; |
|
|
|
|
|
|
|
display: flex; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
p { |
|
|
|
.video-player { |
|
|
|
margin-bottom: 18px; |
|
|
|
margin-top: 8px; |
|
|
|
|
|
|
|
height: 300px; |
|
|
|
|
|
|
|
overflow: hidden; |
|
|
|
|
|
|
|
|
|
|
|
&:last-child { |
|
|
|
video { |
|
|
|
margin-bottom: 0; |
|
|
|
position: relative; |
|
|
|
|
|
|
|
z-index: 1; |
|
|
|
|
|
|
|
width: 100%; |
|
|
|
|
|
|
|
height: 100%; |
|
|
|
|
|
|
|
object-fit: cover; |
|
|
|
|
|
|
|
top: 50%; |
|
|
|
|
|
|
|
transform: translateY(-50%); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
a { |
|
|
|
.media-item, .video-item { |
|
|
|
color: #2b90d9; |
|
|
|
box-sizing: border-box; |
|
|
|
text-decoration: none; |
|
|
|
position: relative; |
|
|
|
|
|
|
|
left: auto; |
|
|
|
|
|
|
|
top: auto; |
|
|
|
|
|
|
|
right: auto; |
|
|
|
|
|
|
|
bottom: auto; |
|
|
|
|
|
|
|
float: left; |
|
|
|
|
|
|
|
border: medium none; |
|
|
|
|
|
|
|
display: block; |
|
|
|
|
|
|
|
flex: 1 1 auto; |
|
|
|
|
|
|
|
height: 100%; |
|
|
|
|
|
|
|
margin-right: 2px; |
|
|
|
|
|
|
|
|
|
|
|
&:hover { |
|
|
|
&:last-child { |
|
|
|
text-decoration: underline; |
|
|
|
margin-right: 0; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
&.mention { |
|
|
|
a { |
|
|
|
&:hover { |
|
|
|
display: block; |
|
|
|
|
|
|
|
width: 100%; |
|
|
|
|
|
|
|
height: 100%; |
|
|
|
|
|
|
|
background: no-repeat scroll center center / cover; |
|
|
|
text-decoration: none; |
|
|
|
text-decoration: none; |
|
|
|
|
|
|
|
cursor: zoom-in; |
|
|
|
span { |
|
|
|
|
|
|
|
text-decoration: underline; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.video-item { |
|
|
|
|
|
|
|
max-width: 196px; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
a { |
|
|
|
|
|
|
|
cursor: pointer; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.video-item__play { |
|
|
|
|
|
|
|
position: absolute; |
|
|
|
|
|
|
|
top: 50%; |
|
|
|
|
|
|
|
left: 50%; |
|
|
|
|
|
|
|
font-size: 36px; |
|
|
|
|
|
|
|
transform: translate(-50%, -50%); |
|
|
|
|
|
|
|
padding: 5px; |
|
|
|
|
|
|
|
border-radius: 100px; |
|
|
|
|
|
|
|
color: rgba(255, 255, 255, 0.8); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.time { |
|
|
|
.media-spoiler { |
|
|
|
text-decoration: none; |
|
|
|
background: #9baec8; |
|
|
|
color: #9baec8; |
|
|
|
width: 100%; |
|
|
|
|
|
|
|
height: 100%; |
|
|
|
|
|
|
|
cursor: pointer; |
|
|
|
|
|
|
|
display: flex; |
|
|
|
|
|
|
|
align-items: center; |
|
|
|
|
|
|
|
justify-content: center; |
|
|
|
|
|
|
|
flex-direction: column; |
|
|
|
|
|
|
|
text-align: center; |
|
|
|
|
|
|
|
transition: all 100ms linear; |
|
|
|
|
|
|
|
|
|
|
|
&:hover { |
|
|
|
&:hover { |
|
|
|
text-decoration: underline; |
|
|
|
background: darken(#9baec8, 5%); |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.media-attachments { |
|
|
|
span { |
|
|
|
list-style: none; |
|
|
|
|
|
|
|
margin: 0; |
|
|
|
|
|
|
|
padding: 0; |
|
|
|
|
|
|
|
display: block; |
|
|
|
display: block; |
|
|
|
overflow: hidden; |
|
|
|
|
|
|
|
padding-left: 10px; |
|
|
|
|
|
|
|
margin-bottom: 15px; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
li { |
|
|
|
&:first-child { |
|
|
|
display: block; |
|
|
|
font-size: 14px; |
|
|
|
float: left; |
|
|
|
|
|
|
|
width: 120px; |
|
|
|
|
|
|
|
height: 100px; |
|
|
|
|
|
|
|
border-radius: 4px; |
|
|
|
|
|
|
|
margin-right: 4px; |
|
|
|
|
|
|
|
margin-bottom: 4px; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
a { |
|
|
|
|
|
|
|
display: block; |
|
|
|
|
|
|
|
width: 120px; |
|
|
|
|
|
|
|
height: 100px; |
|
|
|
|
|
|
|
border-radius: 4px; |
|
|
|
|
|
|
|
background-position: center; |
|
|
|
|
|
|
|
background-repeat: none; |
|
|
|
|
|
|
|
background-size: cover; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@media screen and (max-width: 360px) { |
|
|
|
&:last-child { |
|
|
|
.avatar { |
|
|
|
font-size: 11px; |
|
|
|
display: none; |
|
|
|
font-weight: 500; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.entry__container__container { |
|
|
|
|
|
|
|
margin-left: 7px; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|