_481up.less 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. /******************************************************************
  2. Site Name:
  3. Author:
  4. Stylesheet: 481px and Up Stylesheet
  5. This stylesheet is loaded for larger devices. It's set to
  6. 481px because at 480px it would load on a landscaped iPhone.
  7. This isn't ideal because then you would be loading all those
  8. extra styles on that same mobile connection.
  9. A word of warning. This size COULD be a larger mobile device,
  10. so you still want to keep it pretty light and simply expand
  11. upon your base.less styles.
  12. ******************************************************************/
  13. /*********************
  14. NAVIGATION STYLES
  15. *********************/
  16. .nav {}
  17. /* .menu is clearfixed inside mixins.scss */
  18. .menu {
  19. ul {
  20. li {
  21. a {
  22. /*
  23. you can use hover styles here even though this size
  24. has the possibility of being a mobile device.
  25. */
  26. &:hover, &:focus {
  27. }
  28. }
  29. &:first-child {}
  30. &:last-child {}
  31. /*
  32. plan your menus and drop-downs wisely.
  33. */
  34. ul.sub-menu,
  35. ul.children {
  36. li {
  37. a {
  38. &:hover,
  39. &:focus {}
  40. &:link {}
  41. }
  42. &:first-child {}
  43. &:last-child {}
  44. }
  45. }
  46. } /* end .menu ul li */
  47. /* highlight current page */
  48. li.current-menu-item,
  49. li.current_page_item,
  50. li.current-page-ancestor {
  51. a {}
  52. } /* end current highlighters */
  53. } /* end .menu ul */
  54. } /* end .menu */
  55. /*********************
  56. POSTS & CONTENT STYLES
  57. *********************/
  58. /* entry content */
  59. .entry-content {
  60. /* at this larger size, we can start to align images */
  61. .alignleft, img.alignleft {
  62. margin-right: 1.5em;
  63. display: inline;
  64. float: left;
  65. }
  66. .alignright, img.alignright {
  67. margin-left: 1.5em;
  68. display: inline;
  69. float: right;
  70. }
  71. .aligncenter, img.aligncenter {
  72. margin-right: auto;
  73. margin-left: auto;
  74. display: block;
  75. clear: both;
  76. }
  77. } /* end .entry-content */
  78. /*********************
  79. FOOTER STYLES
  80. *********************/
  81. /*
  82. check your menus here. do they look good?
  83. do they need tweaking?
  84. */
  85. .footer-links {
  86. ul {
  87. li {}
  88. }
  89. } /* end .footer-links */