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