user-profile.less 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. //
  2. // Forum Profile
  3. // --------------------------------------------------
  4. .page-user-profile .page-header {
  5. h1 {
  6. margin-bottom: 0px;
  7. }
  8. .btn-aligned {
  9. margin-top: 0px;
  10. }
  11. }
  12. // Small displays
  13. @media screen and (max-width: @screen-sm-max) {
  14. .page-user-profile .page-header {
  15. h1 img {
  16. width: 40px;
  17. height: 40px;
  18. }
  19. h1.pull-left img {
  20. margin-right: 6px;
  21. }
  22. h1 .user-name {
  23. position: relative;
  24. top: 2px;
  25. }
  26. .header-stats ul {
  27. text-align: center;
  28. li {
  29. display: inline-block;
  30. white-space: nowrap;
  31. }
  32. }
  33. }
  34. .page-user-profile .profile-side-avatar {
  35. display: none;
  36. }
  37. }
  38. // Tabbed on full display
  39. @media screen and (min-width: @screen-md-min) {
  40. .page-user-profile .page-header h1 img {
  41. display: none;
  42. }
  43. .header-stats ul {
  44. li {
  45. display: block;
  46. float: left;
  47. }
  48. }
  49. .page-user-profile .profile-side-avatar img {
  50. width: 100%;
  51. height: auto;
  52. margin-top: @line-height-computed * -5.5;
  53. margin-bottom: @line-height-computed;
  54. }
  55. }