nitter/src/sass/profile/_base.scss

80 lines
1.3 KiB
SCSS
Raw Normal View History

2019-09-13 08:44:21 +00:00
@import '_variables';
@import '_mixins';
@import 'card';
@import 'photo-rail';
2019-09-13 17:52:05 +00:00
.profile-tabs {
2019-09-13 08:44:21 +00:00
@include panel(auto, 900px);
2019-09-13 17:52:05 +00:00
.timeline-container {
float: right;
2019-09-13 08:44:21 +00:00
width: 68% !important;
2019-09-13 17:52:05 +00:00
max-width: unset;
2019-09-13 08:44:21 +00:00
}
}
.profile-banner {
margin-bottom: 4px;
background-color: var(--bg_panel);
2019-09-13 08:44:21 +00:00
a {
display: block;
position: relative;
padding: 33.34% 0 0 0;
2019-09-13 08:44:21 +00:00
}
img {
max-width: 100%;
position: absolute;
top: 0;
2019-09-13 08:44:21 +00:00
}
}
.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: 50px;
}
2019-09-13 20:24:58 +00:00
.profile-result .username {
margin: 0 !important;
}
.profile-result .tweet-header {
margin-bottom: unset;
}
2022-01-06 14:21:42 +00:00
@media(max-width: 700px) {
2019-09-13 08:44:21 +00:00
.profile-tabs {
width: 100vw;
2022-01-06 14:21:42 +00:00
max-width: 600px;
2019-09-13 08:44:21 +00:00
2019-09-13 17:57:27 +00:00
.timeline-container {
2019-09-13 08:44:21 +00:00
width: 100% !important;
2020-06-10 15:04:48 +00:00
.tab-item wide {
flex-grow: 1.4;
}
2019-09-13 08:44:21 +00:00
}
}
.profile-tab {
width: 100%;
max-width: unset;
position: initial !important;
padding: 0;
}
}
2022-01-06 14:21:42 +00:00
@media (min-height: 900px) {
.profile-tab.sticky {
position: sticky;
}
}