ie.less 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. /******************************************************************
  2. Site Name:
  3. Author:
  4. Stylesheet: IE Stylesheet
  5. So instead of using the respond.js file to add media query support
  6. to IE, we're going to use LESS to create an easily readable css file.
  7. Here, we import all the styles the standard stylesheet gets, only
  8. without the media queries. No need to worry about editing anything
  9. since it's all bieng pulled from the same source!
  10. ******************************************************************/
  11. /*
  12. Base.css contains the main mobile styles and is called in the
  13. header. This way mobile devices get ONLY the styles that apply
  14. to them. No muss, no fuss.
  15. normalize.css is also called within that base file.
  16. we'll also need to call the mixins here so they apply to the
  17. rest of the stylesheets.
  18. */
  19. @import "mixins.less";
  20. /*
  21. let's now call the FUNCTIONS for these different stylesets.
  22. We need this so that the styles will load.
  23. */
  24. @import "481up.less";
  25. @import "768up.less";
  26. @import "1030up.less";
  27. /*
  28. you can call the larger styles if you want, but there's really no need
  29. */
  30. /*
  31. Now we call the functions that contain all the CSS. This means
  32. you don't have to maintain an IE stylesheet AND a standard
  33. responsive stylesheet.
  34. */
  35. .481up();
  36. .768up();
  37. .1030up();
  38. /******************************************************************
  39. ADDITIONAL IE FIXES
  40. These fixes are now ONLY seen by IE, so you don't have to worry
  41. about using prefixes, although it's best practice. For more info
  42. on using Modernizr classes, check out this link:
  43. http://www.modernizr.com/docs/
  44. ******************************************************************/
  45. /*
  46. For example, you can use something like:
  47. .no-textshadow .class { ... }
  48. You can also target specific versions by using something like:
  49. .ie7 .class { ... }
  50. */