user-profile.less 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. //
  2. // User Profile Page
  3. // --------------------------------------------------
  4. // Profile Header
  5. .user-page .page-header {
  6. .user-avatar {
  7. display: none;
  8. }
  9. // Small displays
  10. @media (max-width: @screen-sm-max) {
  11. padding-top: @line-height-computed - 1px;
  12. padding-bottom: @line-height-computed - 7px;
  13. h1 {
  14. margin: 0px;
  15. .user-avatar {
  16. border-radius: @avatar-radius;
  17. display: inline-block;
  18. vertical-align: middle;
  19. margin-top: -6px;
  20. width: 44px;
  21. height: 44px;
  22. }
  23. }
  24. }
  25. }
  26. // Profile Sidebar Avatar
  27. .user-page .side-avatar {
  28. background: @body-bg;
  29. border: 1px solid @page-header-border-color;
  30. border-radius: @avatar-radius + 4px;
  31. margin-top: @line-height-computed * -5.5;
  32. margin-bottom: @line-height-computed;
  33. padding: 4px;
  34. .user-avatar {
  35. border-radius: @avatar-radius;
  36. display: block;
  37. width: 100%;
  38. height: auto;
  39. }
  40. }
  41. // Profile small display details
  42. .user-page .profile-sidepanel .list-unstyled {
  43. font-size: @font-size-base * 1.5;
  44. li {
  45. margin: 0px 3px;
  46. }
  47. .material-icons {
  48. margin-right: @line-height-computed / 3;
  49. vertical-align: bottom;
  50. top: 0px;
  51. font-size: @font-size-base * 1.5 * 1.5;
  52. }
  53. }