style.css 37 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697
  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 separate media queries. The base mobile goes outside any query
  7. and is called at the beginning, after that we call the rest
  8. of the styles inside media queries.
  9. ******************************************************************/
  10. /*! normalize.css 2012-07-07T09:50 UTC - http://github.com/necolas/normalize.css */
  11. /* ========================================================================== HTML5 display definitions ========================================================================== */
  12. /* Corrects `block` display not defined in IE6/7/8/9 & FF3. */
  13. article, aside, details, figcaption, figure, footer, header, hgroup, nav, section, summary { display: block; }
  14. /* Corrects `inline-block` display not defined in IE6/7/8/9 & FF3. */
  15. audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
  16. /* Prevents modern browsers from displaying `audio` without controls. Remove excess height in iOS5 devices. */
  17. audio:not([controls]) { display: none; height: 0; }
  18. /* Addresses styling for `hidden` attribute not present in IE7/8/9, FF3, S4. Known issue: no IE6 support. */
  19. [hidden] { display: none; }
  20. /* ========================================================================== Base ========================================================================== */
  21. /* 1. Corrects text resizing oddly in IE6/7 when body `font-size` is set using `em` units. 2. Prevents iOS text size adjust after orientation change, without disabling user zoom. */
  22. html { font-size: 100%; /* 1 */ -webkit-text-size-adjust: 100%; /* 2 */ -ms-text-size-adjust: 100%; /* 2 */ }
  23. /* Addresses `font-family` inconsistency between `textarea` and other form elements. */
  24. html, button, input, select, textarea { font-family: sans-serif; }
  25. /* Addresses margins handled incorrectly in IE6/7. */
  26. body { margin: 0; }
  27. /* ========================================================================== Links ========================================================================== */
  28. /* Addresses `outline` inconsistency between Chrome and other browsers. */
  29. a:focus { outline: thin dotted; }
  30. /* Improves readability when focused and also mouse hovered in all browsers. people.opera.com/patrickl/experiments/keyboard/test */
  31. a:active, a:hover { outline: 0; }
  32. /* ========================================================================== Typography ========================================================================== */
  33. /* Addresses font sizes and margins set differently in IE6/7. Addresses font sizes within `section` and `article` in FF4+, Chrome, S5. */
  34. h1 { font-size: 2em; margin: 0.67em 0; }
  35. h2 { font-size: 1.5em; margin: 0.83em 0; }
  36. h3 { font-size: 1.17em; margin: 1em 0; }
  37. h4 { font-size: 1em; margin: 1.33em 0; }
  38. h5 { font-size: 0.83em; margin: 1.67em 0; }
  39. h6 { font-size: 0.75em; margin: 2.33em 0; }
  40. /* Addresses styling not present in IE7/8/9, S5, Chrome. */
  41. abbr[title] { border-bottom: 1px dotted; }
  42. /* Addresses style set to `bolder` in FF3+, S4/5, Chrome. */
  43. b, strong { font-weight: bold; }
  44. blockquote { margin: 1em 40px; }
  45. /* Addresses styling not present in S5, Chrome. */
  46. dfn { font-style: italic; }
  47. /* Addresses styling not present in IE6/7/8/9. */
  48. mark { background: #ff0; color: #000; }
  49. /* Addresses margins set differently in IE6/7. */
  50. p, pre { margin: 1em 0; }
  51. /* Corrects font family set oddly in IE6, S4/5, Chrome. en.wikipedia.org/wiki/User:Davidgothberg/Test59 */
  52. code, kbd, pre, samp { font-family: monospace, serif; _font-family: 'courier new', monospace; font-size: 1em; }
  53. /* Improves readability of pre-formatted text in all browsers. */
  54. pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }
  55. /* Addresses CSS quotes not supported in IE6/7. */
  56. q { quotes: none; }
  57. /* Addresses `quotes` property not supported in S4. */
  58. q:before, q:after { content: ''; content: none; }
  59. small { font-size: 75%; }
  60. /* Prevents `sub` and `sup` affecting `line-height` in all browsers. gist.github.com/413930 */
  61. sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
  62. sup { top: -0.5em; }
  63. sub { bottom: -0.25em; }
  64. /* ========================================================================== Lists ========================================================================== */
  65. /* Addresses margins set differently in IE6/7. */
  66. dl, menu, ol, ul { margin: 1em 0; }
  67. dd { margin: 0 0 0 40px; }
  68. /* Addresses paddings set differently in IE6/7. */
  69. menu, ol, ul { padding: 0 0 0 40px; }
  70. /* Corrects list images handled incorrectly in IE7. */
  71. nav ul, nav ol { list-style: none; list-style-image: none; }
  72. /* ========================================================================== Embedded content ========================================================================== */
  73. /* 1. Removes border when inside `a` element in IE6/7/8/9, FF3. 2. Improves image quality when scaled in IE7. code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/ */
  74. img { border: 0; /* 1 */ -ms-interpolation-mode: bicubic; /* 2 */ }
  75. /* Corrects overflow displayed oddly in IE9. */
  76. svg:not(:root) { overflow: hidden; }
  77. /* ========================================================================== Figures ========================================================================== */
  78. /* Addresses margin not present in IE6/7/8/9, S5, O11. */
  79. figure { margin: 0; }
  80. /* ========================================================================== Forms ========================================================================== */
  81. /* Corrects margin displayed oddly in IE6/7. */
  82. form { margin: 0; }
  83. /* Define consistent border, margin, and padding. */
  84. fieldset { border: 1px solid #c0c0c0; margin: 0 2px; padding: 0.35em 0.625em 0.75em; }
  85. /* 1. Corrects color not being inherited in IE6/7/8/9. 2. Corrects text not wrapping in FF3. 3. Corrects alignment displayed oddly in IE6/7. */
  86. legend { border: 0; /* 1 */ padding: 0; white-space: normal; /* 2 */ *margin-left: -7px; /* 3 */ }
  87. /* 1. Corrects font size not being inherited in all browsers. 2. Addresses margins set differently in IE6/7, FF3+, S5, Chrome. 3. Improves appearance and consistency in all browsers. */
  88. button, input, select, textarea { font-size: 100%; /* 1 */ margin: 0; /* 2 */ vertical-align: baseline; /* 3 */ *vertical-align: middle; /* 3 */ }
  89. /* Addresses FF3/4 setting `line-height` on `input` using `!important` in the UA stylesheet. */
  90. button, input { line-height: normal; }
  91. /* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` and `video` controls. 2. Corrects inability to style clickable `input` types in iOS. 3. Improves usability and consistency of cursor style between image-type `input` and others. 4. Removes inner spacing in IE7 without affecting normal text inputs. Known issue: inner spacing remains in IE6. */
  92. button, html input[type="button"], input[type="reset"], input[type="submit"] { -webkit-appearance: button; /* 2 */ cursor: pointer; /* 3 */ *overflow: visible; /* 4 */ }
  93. /* Re-set default cursor for disabled elements. */
  94. button[disabled], input[disabled] { cursor: default; }
  95. /* 1. Addresses box sizing set to content-box in IE8/9. 2. Removes excess padding in IE8/9. 3. Removes excess padding in IE7. Known issue: excess padding remains in IE6. */
  96. input[type="checkbox"], input[type="radio"] { box-sizing: border-box; /* 1 */ padding: 0; /* 2 */ *height: 13px; /* 3 */ *width: 13px; /* 3 */ }
  97. /* 1. Addresses `appearance` set to `searchfield` in S5, Chrome. 2. Addresses `box-sizing` set to `border-box` in S5, Chrome (include `-moz` to future-proof). */
  98. input[type="search"] { -webkit-appearance: textfield; /* 1 */ -moz-box-sizing: content-box; -webkit-box-sizing: content-box; /* 2 */ box-sizing: content-box; }
  99. /* Removes inner padding and search cancel button in S5, Chrome on OS X. */
  100. input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
  101. /* Removes inner padding and border in FF3+. */
  102. button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
  103. /* 1. Removes default vertical scrollbar in IE6/7/8/9. 2. Improves readability and alignment in all browsers. */
  104. textarea { overflow: auto; /* 1 */ vertical-align: top; /* 2 */ }
  105. /* ========================================================================== Tables ========================================================================== */
  106. /* Remove most spacing between table cells. */
  107. table { border-collapse: collapse; border-spacing: 0; }
  108. /******************************************************************
  109. CUSTOMIZED RESET VALUES
  110. I added these extra styles as a more personalized reset. Feel free
  111. to remove them if you like or add your own. If you want to update
  112. the normalize styles, make sure to edit from this point up.
  113. ******************************************************************/
  114. p { -webkit-hyphens: auto; -epub-hyphens: auto; -moz-hyphens: auto; hyphens: auto; }
  115. b, strong, .strong { font-weight: bold; }
  116. dfn, em, .em { font-style: italic; }
  117. small, .small { font-size: 75%; }
  118. ul, ol { padding: 0; list-style-type: none; }
  119. dd { margin: 0; }
  120. .sidebar ul, .sidebar ol, .commentlist { list-style: none; }
  121. /******************************************************************
  122. Site Name:
  123. Author:
  124. Stylesheet: Mixins & Constants Stylesheet
  125. This is where you can take advantage of Sass' great features:
  126. Mixins & Constants. I won't go in-depth on how they work exactly,
  127. there are a few articles below that will help do that. What I will
  128. tell you is that this will help speed up simple changes like
  129. changing a color or adding CSS3 techniques gradients.
  130. A WORD OF WARNING: It's very easy to overdo it here. Be careful and
  131. remember less is more.
  132. ******************************************************************/
  133. /*********************
  134. CLEARFIXIN'
  135. *********************/
  136. .clearfix { zoom: 1; }
  137. .clearfix:before, .clearfix:after { content: ""; display: table; }
  138. .clearfix:after { clear: both; }
  139. /*********************
  140. TOOLS
  141. *********************/
  142. * { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
  143. .image-replacement { text-indent: 100%; white-space: nowrap; overflow: hidden; }
  144. /*********************
  145. COLORS
  146. Need help w/ choosing your colors? Try this site out:
  147. http://0to255.com/
  148. *********************/
  149. /*
  150. Here's a great tutorial on how to
  151. use color variables properly:
  152. http://sachagreif.com/sass-color-variables/
  153. */
  154. /*********************
  155. TYPOGRAPHY
  156. *********************/
  157. /* To embed your own fonts, use this syntax
  158. and place your fonts inside the
  159. library/fonts folder. For more information
  160. on embedding fonts, go to:
  161. http://www.fontsquirrel.com/
  162. Be sure to remove the comment brackets.
  163. */
  164. /* @font-face { font-family: 'Font Name'; src: url('library/fonts/font-name.eot'); src: url('library/fonts/font-name.eot?#iefix') format('embedded-opentype'), url('library/fonts/font-name.woff') format('woff'), url('library/fonts/font-name.ttf') format('truetype'), url('library/fonts/font-name.svg#font-name') format('svg'); font-weight: normal; font-style: normal;
  165. }
  166. */
  167. /*
  168. use the best ampersand
  169. http://simplebits.com/notebook/2008/08/14/ampersands-2/
  170. */
  171. span.amp { font-family: Baskerville,'Goudy Old Style',Palatino,'Book Antiqua',serif !important; font-style: italic; }
  172. .text-left { text-align: left; }
  173. .text-center { text-align: center; }
  174. .text-right { text-align: right; }
  175. .alert-help, .alert-info, .alert-error, .alert-success { margin: 10px; padding: 5px 18px; border: 1px solid; }
  176. .alert-help { border-color: #e8dc59; background: #ebe16f; }
  177. .alert-info { border-color: #bfe4f4; background: #d5edf8; }
  178. .alert-error { border-color: #f8cdce; background: #fbe3e4; }
  179. .alert-success { border-color: #deeaae; background: #e6efc2; }
  180. /*********************
  181. TRANSITION
  182. *********************/
  183. /*
  184. I totally rewrote this to be cleaner and easier to use.
  185. You'll need to be using Sass 3.2+ for these to work.
  186. Thanks to @anthonyshort for the inspiration on these.
  187. USAGE: @include transition(all 0.2s ease-in-out);
  188. */
  189. /*********************
  190. CSS3 GRADIENTS
  191. Be careful with these since they can
  192. really slow down your CSS. Don't overdo it.
  193. *********************/
  194. /* @include css-gradient(#dfdfdf,#f8f8f8); */
  195. /*********************
  196. BOX SIZING
  197. *********************/
  198. /* @include box-sizing(border-box); */
  199. /* NOTE: value of "padding-box" is only supported in Gecko. So
  200. probably best not to use it. I mean, were you going to anyway? */
  201. /*********************
  202. BUTTONS
  203. *********************/
  204. .button, .button:visited { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; border: 1px solid #be0d37; border-top-color: #db0f3f; border-left-color: #db0f3f; padding: 4px 12px; color: white; display: inline-block; font-size: 11px; font-weight: bold; text-decoration: none; text-shadow: 0 1px rgba(0, 0, 0, 0.75); cursor: pointer; margin-bottom: 20px; line-height: 21px; border-radius: 4px; background-color: #e40f42; background-image: -webkit-gradient(linear, left top, left bottom, from(#f01d4f), to(#e40f42)); background-image: -webkit-linear-gradient(top, #f01d4f, #e40f42); background-image: -moz-linear-gradient(top, #f01d4f, #e40f42); background-image: -o-linear-gradient(top, #f01d4f, #e40f42); background-image: linear-gradient(to bottom, #f01d4f, #e40f42); }
  205. .button:hover, .button:focus, .button:visited:hover, .button:visited:focus { color: white; border: 1px solid #be0d37; border-top-color: #9d0a2d; border-left-color: #9d0a2d; background-color: #cc0e3b; background-image: -webkit-gradient(linear, left top, left bottom, from(#e40f42), to(#cc0e3b)); background-image: -webkit-linear-gradient(top, #e40f42, #cc0e3b); background-image: -moz-linear-gradient(top, #e40f42, #cc0e3b); background-image: -o-linear-gradient(top, #e40f42, #cc0e3b); background-image: linear-gradient(to bottom, #e40f42, #cc0e3b); }
  206. .button:active, .button:visited:active { background-color: #f01d4f; background-image: -webkit-gradient(linear, left top, left bottom, from(#e40f42), to(#f01d4f)); background-image: -webkit-linear-gradient(top, #e40f42, #f01d4f); background-image: -moz-linear-gradient(top, #e40f42, #f01d4f); background-image: -o-linear-gradient(top, #e40f42, #f01d4f); background-image: linear-gradient(to bottom, #e40f42, #f01d4f); }
  207. .blue-button, .blue-button:visited { border-color: #1472ad; text-shadow: 0 1px 1px #1472ad; background-color: #1681c4; background-image: -webkit-gradient(linear, left top, left bottom, from(#1990db), to(#1681c4)); background-image: -webkit-linear-gradient(top, #1990db, #1681c4); background-image: -moz-linear-gradient(top, #1990db, #1681c4); background-image: -o-linear-gradient(top, #1990db, #1681c4); background-image: linear-gradient(to bottom, #1990db, #1681c4); box-shadow: inset 0 0 3px #59b3ec; }
  208. .blue-button:hover, .blue-button:focus, .blue-button:visited:hover, .blue-button:visited:focus { border-color: #116396; background-color: #1472ad; background-image: -webkit-gradient(linear, left top, left bottom, from(#1784c9), to(#1472ad)); background-image: -webkit-linear-gradient(top, #1784c9, #1472ad); background-image: -moz-linear-gradient(top, #1784c9, #1472ad); background-image: -o-linear-gradient(top, #1784c9, #1472ad); background-image: linear-gradient(to bottom, #1784c9, #1472ad); }
  209. .blue-button:active, .blue-button:visited:active { background-color: #1990db; background-image: -webkit-gradient(linear, left top, left bottom, from(#1681c4), to(#1990db)); background-image: -webkit-linear-gradient(top, #1681c4, #1990db); background-image: -moz-linear-gradient(top, #1681c4, #1990db); background-image: -o-linear-gradient(top, #1681c4, #1990db); background-image: linear-gradient(to bottom, #1681c4, #1990db); }
  210. /*
  211. BASE (MOBILE) SIZE
  212. This are the mobile styles. It's what people see on their phones. If
  213. you set a great foundation, you won't need to add too many styles in
  214. the other stylesheets. Remember, keep it light: Speed is Important.
  215. */
  216. /******************************************************************
  217. Site Name:
  218. Author:
  219. Stylesheet: Base Mobile Stylesheet
  220. Be light and don't over style since everything here will be
  221. loaded by mobile devices. You want to keep it as minimal as
  222. possible. This is called at the top of the main stylsheet
  223. and will be used across all viewports.
  224. ******************************************************************/
  225. /*********************
  226. GENERAL STYLES
  227. *********************/
  228. body { font-family: "Georgia", Cambria, Times New Roman, Times, serif; font-size: 100%; line-height: 1.5; color: #565656; }
  229. /********************
  230. WORDPRESS BODY CLASSES
  231. style a page via class
  232. ********************/
  233. /* for sites that are read right to left (i.e. hebrew) */
  234. /* home page */
  235. /* blog template page */
  236. /* archive page */
  237. /* date archive page */
  238. /* replace the number to the corresponding page number */
  239. /* search page */
  240. /* search result page */
  241. /* no results search page */
  242. /* individual paged search (i.e. body.search-paged-3) */
  243. /* 404 page */
  244. /* single post page */
  245. /* individual post page by id (i.e. body.postid-73) */
  246. /* individual paged single (i.e. body.single-paged-3) */
  247. /* attatchment page */
  248. /* individual attatchment page (i.e. body.attachmentid-763) */
  249. /* style mime type pages */
  250. /* author page */
  251. /* user nicename (i.e. body.author-samueladams) */
  252. /* paged author archives (i.e. body.author-paged-4) for page 4 */
  253. /* category page */
  254. /* individual category page (i.e. body.category-6) */
  255. /* replace the number to the corresponding page number */
  256. /* tag page */
  257. /* individual tag page (i.e. body.tag-news) */
  258. /* replace the number to the corresponding page number */
  259. /* custom page template page */
  260. /* individual page template (i.e. body.page-template-contact-php */
  261. /* replace the number to the corresponding page number */
  262. /* parent page template */
  263. /* child page template */
  264. /* replace the number to the corresponding page number */
  265. /* if user is logged in */
  266. /* paged items like search results or archives */
  267. /* individual paged (i.e. body.paged-3) */
  268. /*********************
  269. LAYOUT & GRID STYLES
  270. *********************/
  271. .wrap { width: 96%; margin: 0 auto; }
  272. /*********************
  273. LINK STYLES
  274. *********************/
  275. a, a:visited { color: #f01d4f; /* on hover */ /* on click */ /* mobile tap color */ }
  276. a:hover, a:focus, a:visited:hover, a:visited:focus { color: #d10e3c; }
  277. a:link, a:visited:link { /*
  278. this highlights links on iPhones/iPads.
  279. so it basically works like the :hover selector
  280. for mobile devices.
  281. */ -webkit-tap-highlight-color: rgba(0, 0, 0, 0.3); }
  282. /******************************************************************
  283. H1, H2, H3, H4, H5 STYLES
  284. ******************************************************************/
  285. h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5 { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; text-rendering: optimizelegibility; font-weight: 500; /*
  286. if you're going to use webfonts, be sure to check your weights
  287. http://css-tricks.com/watch-your-font-weight/
  288. */ /* removing text decoration from all headline links */ }
  289. h1 a, .h1 a, h2 a, .h2 a, h3 a, .h3 a, h4 a, .h4 a, h5 a, .h5 a { text-decoration: none; }
  290. h1, .h1 { font-size: 2.5em; line-height: 1.333em; }
  291. h2, .h2 { font-size: 1.75em; line-height: 1.4em; margin-bottom: 0.375em; }
  292. h3, .h3 { font-size: 1.125em; }
  293. h4, .h4 { font-size: 1.1em; font-weight: 700; }
  294. h5, .h5 { font-size: 0.846em; line-height: 2.09em; text-transform: uppercase; letter-spacing: 2px; }
  295. /*********************
  296. HEADER STYLES
  297. *********************/
  298. /*********************
  299. NAVIGATION STYLES
  300. *********************/
  301. /*
  302. all navs have a .nav class applied via
  303. the wp_menu function; this is so we can
  304. easily write one group of styles for
  305. the navs on the site so our css is cleaner
  306. and more scalable.
  307. */
  308. .nav { border: 1px solid #ccc; border-bottom: 0; /* end .menu li */ /* highlight current page */ /* end current highlighters */ }
  309. .nav li { /*
  310. so you really have to rethink your dropdowns for mobile.
  311. you don't want to have it expand too much because the
  312. screen is so small. How you manage your menu should
  313. depend on the project. Here's some great info on it:
  314. http://www.alistapart.com/articles/organizing-mobile/
  315. */ }
  316. .nav li a { display: block; text-decoration: none; padding: 10px 10px; background-color: #eee; border-bottom: 1px solid #ccc; /*
  317. remember this is for mobile ONLY, so there's no need
  318. to even declare hover styles here, you can do it in
  319. the style.scss file where it's relevant. We want to
  320. keep this file as small as possible!
  321. */ }
  322. .nav li ul.sub-menu li a, .nav li ul.children li a { padding-left: 30px; }
  323. /* end .nav */
  324. /*********************
  325. POSTS & CONTENT STYLES
  326. *********************/
  327. #content { margin-top: 2.2em; }
  328. /* end .hentry */
  329. /* want to style individual post classes? Booya! */
  330. /* post by id (i.e. post-3) */
  331. /* general post style */
  332. /* general article on a page style */
  333. /* general style on an attatchment */
  334. /* sticky post style */
  335. /* hentry class */
  336. /* style by category (i.e. category-videos) */
  337. /* style by tag (i.e. tag-news) */
  338. /* post meta */
  339. .byline { color: #999; }
  340. /* entry content */
  341. .entry-content { /*
  342. image alignment on a screen this size may be
  343. a bit difficult. It's set to start aligning
  344. and floating images at the next breakpoint,
  345. but it's up to you. Feel free to change it up.
  346. */ }
  347. .entry-content dd { margin-left: 0; font-size: 0.9em; color: #787878; margin-bottom: 1.5em; }
  348. .entry-content img { margin: 0 0 1.5em 0; max-width: 100%; height: auto; }
  349. .entry-content video, .entry-content object { max-width: 100%; height: auto; }
  350. .entry-content pre { background: #eee; border: 1px solid #cecece; padding: 10px; }
  351. /* end .entry-content */
  352. .wp-caption { max-width: 100%; background: #eee; padding: 5px; /* images inside wp-caption */ }
  353. .wp-caption img { max-width: 100%; margin-bottom: 0; width: 100%; }
  354. .wp-caption p.wp-caption-text { font-size: 0.85em; margin: 4px 0 7px; text-align: center; }
  355. /* end .wp-caption */
  356. /* image gallery styles */
  357. /* end .gallery */
  358. /* gallery caption styles */
  359. /******************************************************************
  360. PAGE NAVI STYLES
  361. ******************************************************************/
  362. .pagination, .wp-prev-next { margin: 1.1em 0 2.2em; }
  363. .pagination { text-align: center; }
  364. .pagination ul { display: inline-block; white-space: nowrap; padding: 0; clear: both; margin: 1px; }
  365. .pagination ul li { padding: 0; margin: 0; float: left; display: inline; overflow: hidden; }
  366. .pagination ul li a, .pagination ul li span { margin: 0; text-decoration: none; padding: 0; line-height: 1em; font-size: 1em; font-weight: normal; padding: .5em; min-width: 1em; display: block; }
  367. .pagination ul li span.current { font-weight: bold; }
  368. /* end .bones_page_navi */
  369. /* fallback previous & next links */
  370. .wp-prev-next .prev-link { float: left; }
  371. .wp-prev-next .next-link { float: right; }
  372. /* end .wp-prev-next */
  373. /******************************************************************
  374. COMMENT STYLES
  375. ******************************************************************/
  376. /* h3 comment title */
  377. #comments { /* number of comments span */ }
  378. .commentlist { /* general comment classes */ /* vcard */ /* end .commentlist .vcard */ /* comment meta */ /* comment content */ /* end .commentlist .comment_content */ /* comment reply link */ /* end .commentlist .comment-reply-link */ }
  379. .commentlist li { position: relative; clear: both; overflow: hidden; list-style-type: none; margin-bottom: 1.5em; padding: 0.7335em 10px; /* end .commentlist li ul.children */ }
  380. .commentlist li:last-child { margin-bottom: 0; }
  381. .commentlist li ul.children { margin: 0; /* variations */ /* change number for different depth */ }
  382. .commentlist li[class*=depth-] { margin-top: 1.1em; }
  383. .commentlist li.depth-1 { margin-left: 0; margin-top: 0; }
  384. .commentlist li:not(.depth-1) { margin-right: -10px; margin-left: -10px; margin-top: 0; padding-bottom: 0; }
  385. .commentlist .odd { background: #eee; }
  386. .commentlist .even { background: #fefefe; }
  387. .commentlist .vcard { margin-left: 50px; }
  388. .commentlist .vcard cite.fn { font-weight: 700; font-style: normal; }
  389. .commentlist .vcard time { float: right; }
  390. .commentlist .vcard time a { color: #999; text-decoration: none; }
  391. .commentlist .vcard time a:hover { text-decoration: underline; }
  392. .commentlist .vcard img.avatar { position: absolute; left: 10px; padding: 2px; border: 1px solid #cecece; background: #fff; }
  393. .commentlist .comment_content { margin-left: 50px; }
  394. .commentlist .comment_content p { margin: 0.7335em 0 1.5em; font-size: 1em; line-height: 1.5em; }
  395. .commentlist .comment-reply-link { text-decoration: none; float: right; background: #4598bb; padding: 3px 5px; color: #fff; opacity: 0.65; margin-bottom: 10px; font-weight: 700; font-size: 0.9em; }
  396. .commentlist .comment-reply-link:hover, .commentlist .comment-reply-link:focus { opacity: 1; }
  397. /* end .commentlist */
  398. /******************************************************************
  399. COMMENT FORM STYLES
  400. ******************************************************************/
  401. .respond-form { margin: 1.5em 10px; padding-bottom: 2.2em; }
  402. .respond-form form { margin: 0.75em 0; }
  403. .respond-form form li { list-style-type: none; clear: both; margin-bottom: 0.7335em; }
  404. .respond-form form li label, .respond-form form li small { display: none; }
  405. .respond-form form input[type=text], .respond-form form input[type=email], .respond-form form input[type=url], .respond-form form textarea { padding: 3px 6px; background: #efefef; border: 2px solid #cecece; line-height: 1.5em; /* form validation */ }
  406. .respond-form form input[type=text]:focus, .respond-form form input[type=email]:focus, .respond-form form input[type=url]:focus, .respond-form form textarea:focus { background: #fff; }
  407. .respond-form form input[type=text]:invalid, .respond-form form input[type=email]:invalid, .respond-form form input[type=url]:invalid, .respond-form form textarea:invalid { outline: none; border-color: #fbc2c4; background-color: #f6e7eb; -webkit-box-shadow: none; -moz-box-shadow: none; -ms-box-shadow: none; box-shadow: none; }
  408. .respond-form form input[type=text], .respond-form form input[type=email], .respond-form form input[type=url] { max-width: 400px; min-width: 250px; }
  409. .respond-form form textarea { resize: none; width: 97.3%; height: 150px; }
  410. /* comment submit button */
  411. /* comment form title */
  412. #comment-form-title { margin: 0 0 1.1em; }
  413. /* cancel comment reply link */
  414. /* logged in comments */
  415. /* allowed tags */
  416. #allowed_tags { margin: 1.5em 10px 0.7335em 0; }
  417. /* no comments */
  418. .nocomments { margin: 0 20px 1.1em; }
  419. /*********************
  420. SIDEBARS & ASIDES
  421. *********************/
  422. .widget ul li { /* deep nesting */ }
  423. /*********************
  424. FOOTER STYLES
  425. *********************/
  426. .footer { clear: both; }
  427. /*
  428. if you checked out the link above:
  429. http://www.alistapart.com/articles/organizing-mobile/
  430. you'll want to style the footer nav
  431. a bit more in-depth. Remember to keep
  432. it simple because you'll have to
  433. override these styles for the desktop
  434. view.
  435. */
  436. /* end .footer-links */
  437. /*
  438. LARGER MOBILE DEVICES
  439. This is for devices like the Galaxy Note or something that's
  440. larger than an iPhone but smaller than a tablet. Let's call them
  441. tweeners.
  442. */
  443. @media only screen and (min-width: 481px) { /****************************************************************** Site Name: Author: Stylesheet: 481px and Up Stylesheet This stylesheet is loaded for larger devices. It's set to 481px because at 480px it would load on a landscaped iPhone. This isn't ideal because then you would be loading all those extra styles on that same mobile connection. A word of warning. This size COULD be a larger mobile device, so you still want to keep it pretty light and simply expand upon your base.scss styles. *****************************************************************/
  444. /********************* NAVIGATION STYLES ********************/
  445. /* .menu is clearfixed inside mixins.scss */
  446. .menu { /* end .menu ul */ }
  447. .menu ul { /* end .menu ul li */ /* highlight current page */ /* end current highlighters */ }
  448. .menu ul li { /*
  449. plan your menus and drop-downs wisely.
  450. */ }
  451. .menu ul li a { /*
  452. you can use hover styles here even though this size
  453. has the possibility of being a mobile device.
  454. */ }
  455. /* end .menu */
  456. /********************* POSTS & CONTENT STYLES ********************/
  457. /* entry content */
  458. .entry-content { /* at this larger size, we can start to align images */ }
  459. .entry-content .alignleft, .entry-content img.alignleft { margin-right: 1.5em; display: inline; float: left; }
  460. .entry-content .alignright, .entry-content img.alignright { margin-left: 1.5em; display: inline; float: right; }
  461. .entry-content .aligncenter, .entry-content img.aligncenter { margin-right: auto; margin-left: auto; display: block; clear: both; }
  462. /* end .entry-content */
  463. /********************* FOOTER STYLES ********************/
  464. /* check your menus here. do they look good? do they need tweaking? */
  465. /* end .footer-links */ }
  466. /*
  467. TABLET & SMALLER LAPTOPS
  468. This is the average viewing window. So Desktops, Laptops, and
  469. in general anyone not viewing on a mobile device. Here's where
  470. you can add resource intensive styles.
  471. */
  472. @media only screen and (min-width: 768px) { /****************************************************************** Site Name: Author: Stylesheet: Grid Stylesheet I've seperated the grid so you can swap it out easily. It's called at the top the style.scss stylesheet. There are a ton of grid solutions out there. You should definitely experiment with your own. Here are some recommendations: http://gridsetapp.com - Love this site. Responsive Grids made easy. http://susy.oddbird.net/ - Grids using Compass. Very elegant. http://gridpak.com/ - Create your own responsive grid. The grid below is a combination of the 1140 grid and Twitter Boostrap. I liked 1140 but Boostrap's grid was way more detailed so I merged them together, let's see how this works out. If you want to use 1140, the original values are commented out on each line. *****************************************************************/
  473. .onecol { width: 5.801104972%; }
  474. /* 4.85%; } /* grid_1 */
  475. .twocol { width: 14.364640883%; }
  476. /* 13.45%; } /* grid_2 */
  477. .threecol { width: 22.928176794%; }
  478. /* 22.05%; } /* grid_3 */
  479. .fourcol { width: 31.491712705%; }
  480. /* 30.75%; } /* grid_4 */
  481. .fivecol { width: 40.055248616%; }
  482. /* 39.45%; } /* grid_5 */
  483. .sixcol { width: 48.618784527%; }
  484. /* 48%; } /* grid_6 */
  485. .sevencol { width: 57.182320438000005%; }
  486. /* 56.75%; } /* grid_7 */
  487. .eightcol { width: 65.74585634900001%; }
  488. /* 65.4%; } /* grid_8 */
  489. .ninecol { width: 74.30939226%; }
  490. /* 74.05%; } /* grid_9 */
  491. .tencol { width: 82.87292817100001%; }
  492. /* 82.7%; } /* grid_10 */
  493. .elevencol { width: 91.436464082%; }
  494. /* 91.35%; } /* grid_11 */
  495. .twelvecol { width: 99.999999993%; }
  496. /* 100%; } /* grid_12 */
  497. .onecol, .twocol, .threecol, .fourcol, .fivecol, .sixcol, .sevencol, .eightcol, .ninecol, .tencol, .elevencol, .twelvecol { position: relative; float: left; margin-left: 2.762430939%; }
  498. .first { margin-left: 0; }
  499. .last { float: right; }
  500. /****************************************************************** Site Name: Author: Stylesheet: Tablet & Small Desktop Stylesheet Here's where you can start getting into the good stuff. This size will work on iPads, other tablets, and desktops. So you can start working with more styles, background images, and other resources. You'll also notice the grid starts to come into play. Have fun! *****************************************************************/
  501. /********************* GENERAL STYLES ********************/
  502. /********************* LAYOUT & GRID STYLES ********************/
  503. .wrap { max-width: 1140px; }
  504. /********************* HEADER STYLES ********************/
  505. /********************* NAVIGATION STYLES ********************/
  506. .nav { background: #eee; border: 0; /* end .menu ul li */ /* highlight current page */ /* end current highlighters */ }
  507. .nav li { float: left; position: relative; /*
  508. plan your menus and drop-downs wisely.
  509. */ /* showing sub-menus */ }
  510. .nav li a { border-bottom: 0; /*
  511. you can use hover styles here even though this size
  512. has the possibility of being a mobile device.
  513. */ }
  514. .nav li a:hover, .nav li a:focus { background-color: #dedede; }
  515. .nav li ul.sub-menu, .nav li ul.children { margin-top: 0; border: 1px solid #ccc; border-top: 0; position: absolute; display: none; z-index: 8999; /* highlight sub-menu current page */ }
  516. .nav li ul.sub-menu li, .nav li ul.children li { /*
  517. if you need to go deeper, go nuts
  518. just remember deeper menus suck
  519. for usability. k, bai.
  520. */ }
  521. .nav li ul.sub-menu li a, .nav li ul.children li a { padding-left: 10px; border-right: 0; display: block; width: 180px; border-bottom: 1px solid #ccc; }
  522. .nav li ul.sub-menu li:last-child a, .nav li ul.children li:last-child a { border-bottom: 0; }
  523. .nav li:hover ul { top: auto; display: block; }
  524. /* end .nav */
  525. /********************* SIDEBARS & ASIDES ********************/
  526. .sidebar { margin-top: 2.2em; }
  527. .widgettitle { border-bottom: 2px solid #444; margin-bottom: 0.75em; }
  528. .widget { padding: 0 10px; margin: 2.2em 0; }
  529. .widget ul li { margin-bottom: 0.75em; /* deep nesting */ }
  530. .widget ul li ul { margin-top: 0.75em; padding-left: 1em; }
  531. /* links widget */
  532. /* meta widget */
  533. /* pages widget */
  534. /* recent-posts widget */
  535. /* archives widget */
  536. /* tag-cloud widget */
  537. /* calendar widget */
  538. /* category widget */
  539. /* recent-comments widget */
  540. /* search widget */
  541. /* text widget */
  542. /********************* FOOTER STYLES ********************/
  543. /* you'll probably need to do quite a bit of overriding here if you styled them for mobile. Make sure to double check these! */
  544. .footer-links ul li { /*
  545. be careful with the depth of your menus.
  546. it's very rare to have multi-depth menus in
  547. the footer.
  548. */ }
  549. /* end .footer-links */ }
  550. /*
  551. DESKTOP
  552. This is the average viewing window. So Desktops, Laptops, and
  553. in general anyone not viewing on a mobile device. Here's where
  554. you can add resource intensive styles.
  555. */
  556. @media only screen and (min-width: 1030px) { /****************************************************************** Site Name: Author: Stylesheet: Desktop Stylsheet This is the desktop size. It's larger than an iPad so it will only be seen on the Desktop. *****************************************************************/ }
  557. /*
  558. LARGE VIEWING SIZE
  559. This is for the larger monitors and possibly full screen viewers.
  560. */
  561. @media only screen and (min-width: 1240px) { /****************************************************************** Site Name: Author: Stylesheet: Super Large Monitor Stylesheet You can add some advanced styles here if you like. This kicks in on larger screens. *****************************************************************/ }
  562. /*
  563. RETINA (2x RESOLUTION DEVICES)
  564. This applies to the retina iPhone (4s) and iPad (2,3) along with
  565. other displays with a 2x resolution. You can also create a media
  566. query for retina AND a certain size if you want. Go Nuts.
  567. */
  568. @media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min--moz-device-pixel-ratio: 1.5), only screen and (min-device-pixel-ratio: 1.5) { /****************************************************************** Site Name: Author: Stylesheet: Retina Screens & Devices Stylesheet When handling retina screens you need to make adjustments, especially if you're not using font icons. Here you can add them in one neat place. *****************************************************************/
  569. /* EXAMPLE Let's say you have an image and you need to make sure it looks ok on retina screens. Let's say we have an icon which dimension are 24px x 24px. In your regular stylesheets, it would look something like this: .icon { width: 24px; height: 24px; background: url(img/test.png) no-repeat; } For retina screens, we have to make some adjustments, so that image doesn't look blurry. So, taking into account the image above and the dimensions, this is what we would put in our retina stylesheet: .icon { background: url(img/test@2x.png) no-repeat; background-size: 24px 24px; } So, you would create the same icon, but at double the resolution, meaning it would be 48px x 48px. You'd name it the same, but with a @2x at the end (this is pretty standard practice). Set the background image so it matches the original dimensions and you are good to go. */ }
  570. /*
  571. iPHONE 5 MEDIA QUERY
  572. Want to get fancy for no good reason? Knock yourself out.
  573. */
  574. /*
  575. PRINT STYLESHEET
  576. Feel free to customize this. Remember to add things that won't make
  577. sense to print at the bottom. Things like nav, ads, and forms should
  578. be set to display none.
  579. */
  580. @media print { /****************************************************************** Site Name: Author: Stylesheet: Print Stylesheet This is the print stylesheet. There's probably not a lot of reasons to edit this stylesheet. If you want to though, go for it. *****************************************************************/
  581. * { background: transparent !important; color: black !important; text-shadow: none !important; filter: none !important; -ms-filter: none !important; }
  582. a, a:visited { color: #444 !important; text-decoration: underline; }
  583. a:after, a:visited:after { content: " (" attr(href) ")"; }
  584. a abbr[title]:after, a:visited abbr[title]:after { content: " (" attr(title) ")"; }
  585. .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }
  586. pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  587. thead { display: table-header-group; }
  588. tr, img { page-break-inside: avoid; }
  589. img { max-width: 100% !important; }
  590. @page { margin: 0.5cm; }
  591. p, h2, h3 { orphans: 3; widows: 3; }
  592. h2, h3 { page-break-after: avoid; }
  593. .sidebar, .page-navigation, .wp-prev-next, .respond-form, nav { display: none; } }