style.scss 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. /*! Made with Bones: http://themble.com/bones :) */
  2. /******************************************************************
  3. Site Name:
  4. Author:
  5. Stylesheet: Main Stylesheet
  6. Here's where the magic happens. Here, you'll see we are calling in
  7. the separate media queries. The base mobile goes outside any query
  8. and is called at the beginning, after that we call the rest
  9. of the styles inside media queries.
  10. Helpful articles on Sass file organization:
  11. http://thesassway.com/advanced/modular-css-naming-conventions
  12. ******************************************************************/
  13. /*********************
  14. IMPORTING PARTIALS
  15. These files are needed at the beginning so that we establish all
  16. our mixins, functions, and variables that we'll be using across
  17. the whole project.
  18. *********************/
  19. // normalize: http://necolas.github.io/normalize.css/
  20. @import "partials/normalize";
  21. // Sass variables
  22. @import "partials/variables";
  23. // typography
  24. @import "partials/typography";
  25. // Sass functions
  26. @import "partials/functions";
  27. // import mixins
  28. @import "partials/mixins";
  29. // the grid
  30. @import "partials/grid";
  31. /*********************
  32. IMPORTING MODULES
  33. Modules are reusable blocks or elements we use throughout the project.
  34. We can break them up as much as we want or just keep them all in one.
  35. I mean, you can do whatever you want. The world is your oyster. Unless
  36. you hate oysters, then the world is your peanut butter & jelly sandwich.
  37. *********************/
  38. // alert boxes
  39. @import "modules/alerts";
  40. // buttons
  41. @import "modules/buttons";
  42. // forms (inputs & labels)
  43. @import "modules/forms";
  44. /*********************
  45. BASE (MOBILE) SIZE
  46. This are the mobile styles. It's what people see on their phones. If
  47. you set a great foundation, you won't need to add too many styles in
  48. the other stylesheets. Remember, keep it light: Speed is Important.
  49. *********************/
  50. // styles in base.scss
  51. @import "breakpoints/base";
  52. /*********************
  53. LARGER MOBILE DEVICES
  54. This is for devices like the Galaxy Note or something that's
  55. larger than an iPhone but smaller than a tablet. Let's call them
  56. tweeners.
  57. *********************/
  58. @media only screen and (min-width: 481px) {
  59. // styles in 481up.scss
  60. @import "breakpoints/481up";
  61. } // end of media query
  62. /*********************
  63. TABLET & SMALLER LAPTOPS
  64. This is the average viewing window. So Desktops, Laptops, and
  65. in general anyone not viewing on a mobile device. Here's where
  66. you can add resource intensive styles.
  67. *********************/
  68. @media only screen and (min-width: 768px) {
  69. // styles in 768up.scss
  70. @import "breakpoints/768up";
  71. } // end of media query
  72. /*********************
  73. DESKTOP
  74. This is the average viewing window. So Desktops, Laptops, and
  75. in general anyone not viewing on a mobile device. Here's where
  76. you can add resource intensive styles.
  77. *********************/
  78. @media only screen and (min-width: 1030px) {
  79. // styles in 1030up.scss
  80. @import "breakpoints/1030up";
  81. } // end of media query
  82. /*********************
  83. LARGE VIEWING SIZE
  84. This is for the larger monitors and possibly full screen viewers.
  85. *********************/
  86. @media only screen and (min-width: 1240px) {
  87. // styles in 1240up.scss
  88. @import "breakpoints/1240up";
  89. } // end of media query
  90. /*********************
  91. RETINA (2x RESOLUTION DEVICES)
  92. This applies to the retina iPhone (4s) and iPad (2,3) along with
  93. other displays with a 2x resolution. You can also create a media
  94. query for retina AND a certain size if you want. Go Nuts.
  95. *********************/
  96. @media only screen and (-webkit-min-device-pixel-ratio: 1.5),
  97. only screen and (min--moz-device-pixel-ratio: 1.5),
  98. only screen and (min-device-pixel-ratio: 1.5) {
  99. // styles in 2x.scss
  100. @import "breakpoints/2x";
  101. } // end of media query
  102. /*********************
  103. PRINT STYLESHEET
  104. Feel free to customize this. Remember to add things that won't make
  105. sense to print at the bottom. Things like nav, ads, and forms should
  106. be set to display none.
  107. *********************/
  108. @media print {
  109. // styles in print.scss
  110. @import "partials/print";
  111. }