481up.sass 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446
  1. //
  2. // Site Name:
  3. // Author:
  4. //
  5. // Stylesheet: TABLET & SMALLER LAPTOPS
  6. //
  7. // This stylesheet is loaded for larger mobile devices. It's set to
  8. // 481px because at 480px it would load on a landscaped iPhone.
  9. // This isn't ideal because then you would be loading all those
  10. // extra styles on that same mobile connection.
  11. //
  12. // A word of warning. This size COULD be a larger mobile device,
  13. // so you still want to keep it pretty light and simply expand
  14. // upon your base.less styles.
  15. //
  16. //
  17. //
  18. // GENERAL STYLES
  19. //
  20. body
  21. //
  22. // LAYOUT & GRID STYLES
  23. //
  24. .wrap
  25. //
  26. // HEADER SYTLES
  27. //
  28. .header
  29. #logo
  30. //
  31. // NAVIGATION STYLES
  32. //
  33. //
  34. // POSTS & CONTENT STYLES
  35. //
  36. #content
  37. // want to style individual post classes? Booya!
  38. .hentry // standard post class
  39. .post-id // post by id (i.e. post-3)
  40. .post // general post style
  41. .page // general article on a page style
  42. .attachment // general style on an attatchment
  43. .sticky // sticky post style
  44. .hentry // hentry class
  45. .category-slug // style by category (i.e. category-videos)
  46. .tag-slug // style by tag (i.e. tag-news)
  47. .article-header // the header element inside each post
  48. .article-footer // the footer element inside each post
  49. .single-title, // the title (h1) on each single post or page
  50. .page-title
  51. .single-title // the title (h1) on single posts
  52. .page-title // the title (h1) on pages
  53. .archive-title // the archive title on archive / category pages
  54. // post meta
  55. .meta
  56. time
  57. // post content
  58. .post-content
  59. p
  60. ul, ol, table, dl
  61. ul, ol
  62. li
  63. ul
  64. li
  65. ol
  66. li
  67. blockquote
  68. &:before
  69. dl
  70. dt
  71. dd
  72. img
  73. //
  74. // image alignment on a screen this size may be
  75. // a bit difficult. It's set to start aligning
  76. // and floating images at the next breakpoint,
  77. // but it's up to you. Feel free to change it up.
  78. //
  79. .alignleft, img.alignleft
  80. margin-right: 1.5em
  81. display: inline
  82. float: left
  83. .alignright, img.alignright
  84. margin-left: 1.5em
  85. display: inline
  86. float: right
  87. .aligncenter, img.aligncenter
  88. margin-right: auto
  89. margin-left: auto
  90. display: block
  91. clear: both
  92. video, object
  93. pre, code
  94. // end .post-content
  95. .wp-caption
  96. // images inside wp-caption
  97. img
  98. p.wp-caption-text
  99. // end .wp-caption
  100. // image gallery styles
  101. .gallery
  102. dl
  103. a
  104. img
  105. dt
  106. dd
  107. // end .gallery
  108. // gallery caption styles
  109. .gallery-caption
  110. .size-full
  111. .size-large
  112. .size-medium
  113. .size-thumbnail
  114. //
  115. // PAGE NAVI STYLES
  116. //
  117. .page-navigation,
  118. .wp-prev-next
  119. .bones_page_navi
  120. li
  121. a
  122. &:hover,
  123. &:focus
  124. // end .bones_page_navi
  125. // current page link
  126. li.bpn-current
  127. a
  128. // hovering on current page link
  129. &:hover,
  130. &:focus
  131. // common styles for page-navi links
  132. li.bpn-prev-link,
  133. li.bpn-next-link
  134. a
  135. // remove the bg on end links
  136. li.bpn-prev-link a:hover,
  137. li.bpn-next-link a:hover,
  138. li.bpn-first-page-link a:hover,
  139. li.bpn-last-page-link a:hover
  140. // previous link
  141. li.bpn-prev-link
  142. a
  143. &:hover,
  144. &:focus
  145. // next page link
  146. li.bpn-next-link
  147. a
  148. &:hover,
  149. &:focus
  150. // first page link
  151. li.bpn-first-page-link
  152. a
  153. &:hover,
  154. &:focus
  155. // last page link
  156. li.bpn-last-page-link
  157. a
  158. &:hover,
  159. &:focus
  160. // fallback previous & next links
  161. .wp-prev-next
  162. ul
  163. .prev-link
  164. .next-link
  165. // end .wp-prev-next
  166. //
  167. // COMMENT STYLES
  168. //
  169. // h3 comment title
  170. #comments
  171. // number of comments span
  172. span
  173. .comment-nav
  174. ul
  175. li
  176. // end .comment-nav
  177. // comment styles
  178. .commentlist
  179. li
  180. &:last-child
  181. ul.children
  182. li
  183. li[class*=depth-]
  184. li.depth-1
  185. li:not(.depth-1)
  186. li.depth-2
  187. li.depth-3
  188. li.depth-4
  189. li.depth-5
  190. .odd
  191. .even
  192. // wordpress comment classes
  193. .comment // regular comment class (present on all)
  194. .alt // an alt comment
  195. .parent // a parent comment
  196. .children // a child comment
  197. .pingback // a pingback
  198. .bypostauthor // a comment by the post author
  199. .comment-author // a comment by the author
  200. .comment-author-admin // a comment by the author who is admin
  201. .thread-alt // a comment inside a thread alt
  202. .thread-odd // an odd comment inside thread
  203. .thread-even // an even comment inside thread
  204. /// comment vcard
  205. .vcard
  206. // comment author name
  207. cite.fn
  208. // author link url
  209. a.url
  210. // comment date
  211. time
  212. a
  213. &:hover
  214. // the comment gravatar
  215. img.avatar
  216. // end .commentlist
  217. // comment meta
  218. .comment-meta
  219. a
  220. // comment meta data
  221. .commentmetadata
  222. a
  223. // comment content
  224. .comment_content
  225. p
  226. // end .comment_content
  227. // comment reply link
  228. .comment-reply-link
  229. &:hover,
  230. &:focus
  231. // end .comment-reply-link
  232. //
  233. // COMMENT FORM STYLES
  234. //
  235. .respond-form
  236. form
  237. li
  238. label,
  239. small
  240. input[type=text],
  241. input[type=email],
  242. input[type=url],
  243. textarea
  244. &:focus
  245. // form validation
  246. &:invalid
  247. input[type=text],
  248. input[type=email],
  249. input[type=url]
  250. textarea
  251. // end .respond-form
  252. // comment submit button
  253. #submit
  254. // comment form title
  255. #comment-form-title
  256. // cancel comment reply link
  257. #cancel-comment-reply
  258. a
  259. // logged in comments
  260. .comments-logged-in-as
  261. // allowed tags
  262. #allowed_tags
  263. // no comments
  264. .nocomments
  265. //
  266. // SIDEBARS & ASIDES
  267. //
  268. .sidebar
  269. .widgettitle
  270. .widget
  271. ul
  272. li
  273. &:first-child
  274. &:last-child
  275. a
  276. // deep nesting
  277. ul
  278. // end .widget
  279. //
  280. // FOOTER STYLES
  281. //
  282. .footer
  283. //
  284. // if you checked out the link above:
  285. // http://www.alistapart.com/articles/organizing-mobile/
  286. // you'll want to style the footer nav
  287. // a bit more in-depth. Remember to keep
  288. // it simple because you'll have to
  289. // override these styles for the desktop
  290. // view.
  291. //
  292. .footer-links
  293. ul
  294. li
  295. // end .footer-links
  296. .attribution