style.scss 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. /******************************************************************
  2. Site Name:
  3. Author:
  4. Stylesheet: Main Stylesheet
  5. Here's where the magic happens. Here, you'll see we are calling in
  6. the seperate functions for each media query. The base mobile
  7. stylesheet is called in the header, so here we're working up from
  8. there. To edit the css, just find the corresponding LESS file.
  9. ******************************************************************/
  10. /*
  11. Base.css contains the main mobile styles and is called in the
  12. header. This way mobile devices get ONLY the styles that apply
  13. to them. No muss, no fuss.
  14. normalize.css and the mixins are also called within that base file
  15. */
  16. /* import mixins */
  17. @import "mixins";
  18. /******************************************************************
  19. AVERAGE VIEWING SIZE
  20. This is the average viewing window. So Desktops, Laptops, and
  21. in general anyone not viewing on a mobile device. Here's where
  22. you can add resource intensive styles.
  23. ******************************************************************/
  24. @media only screen and (min-width: 481px) {
  25. /* styles in 481up.scss */
  26. @import "481up";
  27. } /* end of media query */
  28. /******************************************************************
  29. TABLET & SMALLER LAPTOPS
  30. This is the average viewing window. So Desktops, Laptops, and
  31. in general anyone not viewing on a mobile device. Here's where
  32. you can add resource intensive styles.
  33. ******************************************************************/
  34. @media only screen and (min-width: 768px) {
  35. /* styles in 768up.scss */
  36. @import "768up";
  37. } /* end of media query */
  38. /******************************************************************
  39. DESKTOP
  40. This is the average viewing window. So Desktops, Laptops, and
  41. in general anyone not viewing on a mobile device. Here's where
  42. you can add resource intensive styles.
  43. ******************************************************************/
  44. @media only screen and (min-width: 1030px) {
  45. /* styles in 1030up.scss */
  46. @import "1030up";
  47. } /* end of media query */
  48. /******************************************************************
  49. LARGE VIEWING SIZE
  50. This is for the larger monitors and possibly full screen viewers.
  51. ******************************************************************/
  52. @media only screen and (min-width: 1240px) {
  53. /* styles in 1240up.scss */
  54. @import "1240up";
  55. } /* end of media query */
  56. /******************************************************************
  57. PRINT STYLESHEET
  58. ******************************************************************/
  59. /******************************************************************
  60. PRINT STYLESHEET
  61. Feel free to customize this. Remember to add things that won't make
  62. sense to print at the bottom. Things like nav, ads, and forms should
  63. be set to display none.
  64. ******************************************************************/
  65. @media print {
  66. * {
  67. background: transparent !important;
  68. color: black !important;
  69. text-shadow: none !important;
  70. filter:none !important;
  71. -ms-filter: none !important;
  72. }
  73. a, a:visited {
  74. color: #444 !important;
  75. text-decoration: underline;
  76. /* show links on printed pages */
  77. &:after {
  78. content: " (" attr(href) ")";
  79. }
  80. /* show title too */
  81. abbr[title]:after {
  82. content: " (" attr(title) ")";
  83. }
  84. }
  85. .ir a:after,
  86. a[href^="javascript:"]:after,
  87. a[href^="#"]:after {
  88. content: "";
  89. }
  90. pre, blockquote {
  91. border: 1px solid #999;
  92. page-break-inside: avoid;
  93. }
  94. thead {
  95. display: table-header-group;
  96. }
  97. tr, img {
  98. page-break-inside: avoid;
  99. }
  100. img {
  101. max-width: 100% !important;
  102. }
  103. @page {
  104. margin: 0.5cm;
  105. }
  106. p, h2, h3 {
  107. orphans: 3;
  108. widows: 3;
  109. }
  110. h2,
  111. h3 {
  112. page-break-after: avoid;
  113. }
  114. /* hide content people who print don't need to see */
  115. .sidebar,
  116. .page-navigation,
  117. .wp-prev-next,
  118. .respond-form,
  119. nav {
  120. display: none;
  121. }
  122. }