scaffolding.less 980 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. //
  2. // Misago Global Scaffolding
  3. // --------------------------------------------------
  4. // Disable horizontal scroll on mobile displays top-most containers
  5. @media screen and (max-width: @screen-sm-max) {
  6. html, body {
  7. overflow-x: hidden;
  8. }
  9. }
  10. // top margin utils
  11. @media screen and (min-width: @screen-md-min) {
  12. .md-margin-top-no {
  13. margin-top: 0px !important;
  14. }
  15. }
  16. @media screen and (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {
  17. .sm-margin-top {
  18. margin-top: @line-height-computed !important;
  19. }
  20. .sm-margin-top-no {
  21. margin-top: 0px !important;
  22. }
  23. .sm-margin-top-half {
  24. margin-top: @line-height-computed * 0.33 !important;
  25. }
  26. .sm-align-row-buttons {
  27. margin-top: @line-height-computed * 0.25 !important;
  28. }
  29. }
  30. @media screen and (max-width: @screen-xs-max) {
  31. .xs-margin-top {
  32. margin-top: @line-height-computed !important;
  33. }
  34. .xs-margin-top-half {
  35. margin-top: @line-height-computed * 0.33 !important;
  36. }
  37. }