481up.scss 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443
  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. GENERAL STYLES
  15. *********************/
  16. body {}
  17. /*********************
  18. LAYOUT & GRID STYLES
  19. *********************/
  20. .wrap {}
  21. /*********************
  22. HEADER SYTLES
  23. *********************/
  24. .header {}
  25. #logo {}
  26. /*********************
  27. NAVIGATION STYLES
  28. *********************/
  29. .nav {}
  30. /* .menu is clearfixed inside mixins.less */
  31. .menu {
  32. ul {
  33. li {
  34. a {
  35. /*
  36. you can use hover styles here even though this size
  37. has the possibility of bieng a mobile device.
  38. */
  39. &:hover, &:focus {
  40. }
  41. }
  42. &:first-child {}
  43. &:last-child {}
  44. /*
  45. plan your menus and drop-downs wisely.
  46. */
  47. ul.sub-menu,
  48. ul.children {
  49. li {
  50. a {
  51. &:hover,
  52. &:focus {}
  53. &:link {}
  54. }
  55. &:first-child {}
  56. &:last-child {}
  57. }
  58. }
  59. } /* end .menu ul li */
  60. /* highlight current page */
  61. li.current-menu-item,
  62. li.current_page_item,
  63. li.current-page-ancestor {
  64. a {}
  65. } /* end current highlighters */
  66. } /* end .menu ul */
  67. } /* end .menu */
  68. /*********************
  69. POSTS & CONTENT STYLES
  70. *********************/
  71. #content {}
  72. .hentry {
  73. header {}
  74. footer {}
  75. } /* end .hentry */
  76. .single-title,
  77. .page-title {}
  78. .single-title {}
  79. .page-title {}
  80. .archive_title { }
  81. /* want to style individual post classes? Booya! */
  82. .post-id {} /* post by id (i.e. post-3) */
  83. .post {} /* general post style */
  84. .page {} /* general article on a page style */
  85. .attachment {} /* general style on an attatchment */
  86. .sticky {} /* sticky post style */
  87. .hentry {} /* hentry class */
  88. .category-slug {} /* style by category (i.e. category-videos) */
  89. .tag-slug {} /* style by tag (i.e. tag-news) */
  90. /* post meta */
  91. .meta {
  92. time {}
  93. }
  94. /* post content */
  95. .post-content {
  96. p {}
  97. ul, ol, table, dl {}
  98. ul, ol {
  99. li {}
  100. }
  101. ul {
  102. li {}
  103. }
  104. ol {
  105. li {}
  106. }
  107. blockquote {
  108. &:before {}
  109. }
  110. dl {}
  111. dt {}
  112. dd {}
  113. img {}
  114. /* at this larger size, we can start to align images */
  115. .alignleft, img.alignleft {
  116. margin-right: 1.5em;
  117. display: inline;
  118. float: left;
  119. }
  120. .alignright, img.alignright {
  121. margin-left: 1.5em;
  122. display: inline;
  123. float: right;
  124. }
  125. .aligncenter, img.aligncenter {
  126. margin-right: auto;
  127. margin-left: auto;
  128. display: block;
  129. clear: both;
  130. }
  131. video, object {}
  132. pre, code {}
  133. } /* end .post-content */
  134. .wp-caption {
  135. /* images inside wp-caption */
  136. img {}
  137. p.wp-caption-text {}
  138. } /* end .wp-caption */
  139. /* image gallery styles */
  140. .gallery {
  141. dl {
  142. a {}
  143. img {}
  144. }
  145. dt {}
  146. dd {}
  147. } /* end .gallery */
  148. /* gallery caption styles */
  149. .gallery-caption {}
  150. .size-full {}
  151. .size-large {}
  152. .size-medium {}
  153. .size-thumbnail {}
  154. /******************************************************************
  155. PAGE NAVI STYLES
  156. ******************************************************************/
  157. .page-navigation,
  158. .wp-prev-next {}
  159. .bones_page_navi {
  160. li {
  161. a {
  162. &:hover,
  163. &:focus {}
  164. }
  165. }
  166. /* current page link */
  167. li.bpn-current {
  168. a {
  169. /* hovering on current page link */
  170. &:hover,
  171. &:focus {}
  172. }
  173. } /* end .bones_page_navi .bpn-current */
  174. /* common styles for page-navi links */
  175. li.bpn-prev-link,
  176. li.bpn-next-link {
  177. a {}
  178. }
  179. /* remove the bg on end links */
  180. li.bpn-prev-link a:hover,
  181. li.bpn-next-link a:hover,
  182. li.bpn-first-page-link a:hover,
  183. li.bpn-last-page-link a:hover {}
  184. /* previous link */
  185. li.bpn-prev-link {
  186. a {
  187. &:hover,
  188. &:focus {}
  189. }
  190. }
  191. /* next page link */
  192. li.bpn-next-link {
  193. a {
  194. &:hover,
  195. &:focus {}
  196. }
  197. }
  198. /* first page link */
  199. li.bpn-first-page-link {
  200. a {
  201. &:hover,
  202. &:focus {}
  203. }
  204. }
  205. /* last page link */
  206. li.bpn-last-page-link {
  207. a {}
  208. }
  209. } /* end .bones_page_navi */
  210. /* fallback previous & next links */
  211. .wp-prev-next {
  212. ul {}
  213. .prev-link {}
  214. .next-link {}
  215. } /* end .wp-prev-next */
  216. /******************************************************************
  217. COMMENT STYLES
  218. ******************************************************************/
  219. /* h3 comment title */
  220. #comments {
  221. /* number of comments span */
  222. span {}
  223. }
  224. .comment-nav {
  225. ul {
  226. li {}
  227. }
  228. }
  229. .commentlist {
  230. li {
  231. &:last-child {}
  232. ul.children {
  233. li {}
  234. /* variations */
  235. .comment {}
  236. .alt {}
  237. .odd {}
  238. .even {}
  239. .depth-1 {} /* change number for different depth */
  240. .byuser {}
  241. .bypostauthor {}
  242. .comment-author-admin {}
  243. } /* end .commentlist li ul.children */
  244. }
  245. li[class*=depth-] {}
  246. li.depth-1 {}
  247. li:not(.depth-1) {}
  248. li.depth-2 {}
  249. li.depth-3 {}
  250. li.depth-4 {}
  251. li.depth-5 {}
  252. /* general comment classes */
  253. .alt {}
  254. .odd {}
  255. .even {}
  256. .parent {}
  257. .comment {}
  258. .children {}
  259. .pingback {}
  260. .bypostauthor {}
  261. .comment-author {}
  262. .comment-author-admin {}
  263. .thread-alt {}
  264. .thread-odd {}
  265. .thread-even {}
  266. /* vcard */
  267. .vcard {
  268. cite.fn {
  269. a.url {}
  270. }
  271. time {
  272. a {
  273. &:hover {}
  274. }
  275. }
  276. img.photo {}
  277. img.avatar {}
  278. } /* end .commentlist .vcard */
  279. /* comment meta */
  280. .comment-meta {
  281. a {}
  282. }
  283. .commentmetadata {
  284. a {}
  285. }
  286. /* comment content */
  287. .comment_content {
  288. p {}
  289. } /* end .commentlist .comment_content */
  290. /* comment reply link */
  291. .comment-reply-link {
  292. &:hover,
  293. &:focus {}
  294. } /* end .commentlist .comment-reply-link */
  295. } /* end .commentlist */
  296. /******************************************************************
  297. COMMENT FORM STYLES
  298. ******************************************************************/
  299. .respond-form {
  300. form {
  301. li {
  302. label,
  303. small {}
  304. }
  305. input[type=text],
  306. input[type=email],
  307. input[type=url],
  308. textarea {
  309. &:focus {}
  310. /* form validation */
  311. &:invalid {}
  312. }
  313. input[type=text],
  314. input[type=email],
  315. input[type=url] {}
  316. textarea {}
  317. }
  318. }
  319. /* comment submit button */
  320. #submit {}
  321. /* comment form title */
  322. #comment-form-title {}
  323. /* cancel comment reply link */
  324. #cancel-comment-reply {
  325. a {}
  326. }
  327. /* logged in comments */
  328. .comments-logged-in-as {}
  329. /* allowed tags */
  330. #allowed_tags {}
  331. /* no comments */
  332. .nocomments {}
  333. /*********************
  334. SIDEBARS & ASIDES
  335. *********************/
  336. .sidebar {}
  337. .widgettitle {}
  338. .widget {
  339. ul {
  340. li {
  341. &:first-child {}
  342. &:last-child {}
  343. a {}
  344. /* deep nesting */
  345. ul {}
  346. }
  347. }
  348. }
  349. /*********************
  350. FOOTER STYLES
  351. *********************/
  352. .footer {}
  353. /*
  354. check your menus here. do they look good?
  355. do they need tweaking?
  356. */
  357. .footer-links {
  358. ul {
  359. li {}
  360. }
  361. } /* end .footer-links */
  362. .attribution {}