e7e7050c6e
Fixes #1381
118 lines
1.7 KiB
SCSS
118 lines
1.7 KiB
SCSS
@import "_variables";
|
|
@import "_mixins";
|
|
|
|
@import "card";
|
|
@import "about-account";
|
|
@import "photo-rail";
|
|
|
|
.profile-tabs {
|
|
@include panel(auto, 900px);
|
|
|
|
.timeline-container {
|
|
float: right;
|
|
width: 68% !important;
|
|
max-width: unset;
|
|
}
|
|
}
|
|
|
|
.profile-banner {
|
|
margin-bottom: 4px;
|
|
background-color: var(--bg_panel);
|
|
|
|
a {
|
|
display: block;
|
|
position: relative;
|
|
padding: 33.34% 0 0 0;
|
|
}
|
|
|
|
img {
|
|
max-width: 100%;
|
|
position: absolute;
|
|
top: 0;
|
|
}
|
|
}
|
|
|
|
.profile-tab {
|
|
padding: 0 4px 0 0;
|
|
box-sizing: border-box;
|
|
display: inline-block;
|
|
font-size: 14px;
|
|
text-align: left;
|
|
vertical-align: top;
|
|
max-width: 32%;
|
|
top: 0;
|
|
|
|
body.fixed-nav & {
|
|
top: 50px;
|
|
}
|
|
}
|
|
|
|
.profile-result {
|
|
min-height: 54px;
|
|
|
|
.username {
|
|
margin: 0 !important;
|
|
}
|
|
|
|
.tweet-header {
|
|
margin-bottom: unset;
|
|
}
|
|
}
|
|
|
|
.profile-tabs.media-only {
|
|
max-width: none;
|
|
width: 100%;
|
|
|
|
.timeline-container {
|
|
float: none;
|
|
width: 100% !important;
|
|
max-width: none;
|
|
padding: 0 10px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.timeline-container > .tab {
|
|
max-width: 900px;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 700px) {
|
|
.profile-tabs {
|
|
width: 100vw;
|
|
max-width: 600px;
|
|
|
|
.timeline-container {
|
|
width: 100% !important;
|
|
|
|
.tab-item wide {
|
|
flex-grow: 1.4;
|
|
}
|
|
}
|
|
}
|
|
|
|
.profile-tabs.media-only {
|
|
width: 100%;
|
|
max-width: none;
|
|
|
|
.timeline-container {
|
|
width: 100vw !important;
|
|
padding: 0;
|
|
}
|
|
}
|
|
|
|
.profile-tab {
|
|
width: 100%;
|
|
max-width: unset;
|
|
position: initial !important;
|
|
padding: 0;
|
|
}
|
|
}
|
|
|
|
@media (min-height: 900px) {
|
|
.profile-tab.sticky {
|
|
position: sticky;
|
|
}
|
|
}
|