scaffolding.less 892 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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. }
  27. @media screen and (max-width: @screen-xs-max) {
  28. .xs-margin-top {
  29. margin-top: @line-height-computed !important;
  30. }
  31. .xs-margin-top-half {
  32. margin-top: @line-height-computed * 0.33 !important;
  33. }
  34. }