_base.scss 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. @import '_variables';
  2. @import '_mixins';
  3. @import 'card';
  4. @import 'photo-rail';
  5. .profile-tabs {
  6. @include panel(auto, 900px);
  7. .timeline-container {
  8. float: right;
  9. width: 68% !important;
  10. max-width: unset;
  11. }
  12. }
  13. .profile-banner {
  14. margin-bottom: 4px;
  15. background-color: var(--bg_panel);
  16. a {
  17. display: block;
  18. position: relative;
  19. padding: 33.34% 0 0 0;
  20. }
  21. img {
  22. max-width: 100%;
  23. position: absolute;
  24. top: 0;
  25. }
  26. }
  27. .profile-tab {
  28. padding: 0 4px 0 0;
  29. box-sizing: border-box;
  30. display: inline-block;
  31. font-size: 14px;
  32. text-align: left;
  33. vertical-align: top;
  34. max-width: 32%;
  35. top: 50px;
  36. }
  37. .profile-result .username {
  38. margin: 0 !important;
  39. }
  40. .profile-result .tweet-header {
  41. margin-bottom: unset;
  42. }
  43. @media(max-width: 700px) {
  44. .profile-tabs {
  45. width: 100vw;
  46. max-width: 600px;
  47. .timeline-container {
  48. width: 100% !important;
  49. .tab-item wide {
  50. flex-grow: 1.4;
  51. }
  52. }
  53. }
  54. .profile-tab {
  55. width: 100%;
  56. max-width: unset;
  57. position: initial !important;
  58. padding: 0;
  59. }
  60. }
  61. @media (min-height: 900px) {
  62. .profile-tab.sticky {
  63. position: sticky;
  64. }
  65. }