style.css 59 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155
  1. /*! Made with Bones: http://themble.com/bones :) */
  2. /******************************************************************
  3. Site Name:
  4. Author:
  5. Stylesheet: Main Stylesheet
  6. Here's where the magic happens. Here, you'll see we are calling in
  7. the separate media queries. The base mobile goes outside any query
  8. and is called at the beginning, after that we call the rest
  9. of the styles inside media queries.
  10. Helpful articles on Sass file organization:
  11. http://thesassway.com/advanced/modular-css-naming-conventions
  12. ******************************************************************/
  13. /*********************
  14. IMPORTING PARTIALS
  15. These files are needed at the beginning so that we establish all
  16. our mixins, functions, and variables that we'll be using across
  17. the whole project.
  18. *********************/
  19. /* normalize.css 2012-07-07T09:50 UTC - http://github.com/necolas/normalize.css */
  20. /* ==========================================================================
  21. HTML5 display definitions
  22. ========================================================================== */
  23. /*
  24. * Corrects `block` display not defined in IE6/7/8/9 & FF3.
  25. */
  26. article,
  27. aside,
  28. details,
  29. figcaption,
  30. figure,
  31. footer,
  32. header,
  33. hgroup,
  34. nav,
  35. section,
  36. summary {
  37. display: block; }
  38. /*
  39. * Corrects `inline-block` display not defined in IE6/7/8/9 & FF3.
  40. */
  41. audio,
  42. canvas,
  43. video {
  44. display: inline-block;
  45. *display: inline;
  46. *zoom: 1; }
  47. /*
  48. * Prevents modern browsers from displaying `audio` without controls.
  49. * Remove excess height in iOS5 devices.
  50. */
  51. audio:not([controls]) {
  52. display: none;
  53. height: 0; }
  54. /*
  55. * Addresses styling for `hidden` attribute not present in IE7/8/9, FF3, S4.
  56. * Known issue: no IE6 support.
  57. */
  58. [hidden] {
  59. display: none; }
  60. /* ==========================================================================
  61. Base
  62. ========================================================================== */
  63. /*
  64. * 1. Corrects text resizing oddly in IE6/7 when body `font-size` is set using
  65. * `em` units.
  66. * 2. Prevents iOS text size adjust after orientation change, without disabling
  67. * user zoom.
  68. */
  69. html {
  70. font-size: 100%;
  71. /* 1 */
  72. -webkit-text-size-adjust: 100%;
  73. /* 2 */
  74. -ms-text-size-adjust: 100%;
  75. /* 2 */ }
  76. /*
  77. * Addresses `font-family` inconsistency between `textarea` and other form
  78. * elements.
  79. */
  80. html,
  81. button,
  82. input,
  83. select,
  84. textarea {
  85. font-family: sans-serif; }
  86. /*
  87. * Addresses margins handled incorrectly in IE6/7.
  88. */
  89. body {
  90. margin: 0; }
  91. /* ==========================================================================
  92. Links
  93. ========================================================================== */
  94. /*
  95. * Addresses `outline` inconsistency between Chrome and other browsers.
  96. */
  97. a:focus {
  98. outline: thin dotted; }
  99. /*
  100. * Improves readability when focused and also mouse hovered in all browsers.
  101. * people.opera.com/patrickl/experiments/keyboard/test
  102. */
  103. a:active,
  104. a:hover {
  105. outline: 0; }
  106. /* ==========================================================================
  107. Typography
  108. ========================================================================== */
  109. /*
  110. * Addresses font sizes and margins set differently in IE6/7.
  111. * Addresses font sizes within `section` and `article` in FF4+, Chrome, S5.
  112. */
  113. h1 {
  114. font-size: 2em;
  115. margin: 0.67em 0; }
  116. h2 {
  117. font-size: 1.5em;
  118. margin: 0.83em 0; }
  119. h3 {
  120. font-size: 1.17em;
  121. margin: 1em 0; }
  122. h4 {
  123. font-size: 1em;
  124. margin: 1.33em 0; }
  125. h5 {
  126. font-size: 0.83em;
  127. margin: 1.67em 0; }
  128. h6 {
  129. font-size: 0.75em;
  130. margin: 2.33em 0; }
  131. /*
  132. * Addresses styling not present in IE7/8/9, S5, Chrome.
  133. */
  134. abbr[title] {
  135. border-bottom: 1px dotted; }
  136. /*
  137. * Addresses style set to `bolder` in FF3+, S4/5, Chrome.
  138. */
  139. b,
  140. strong,
  141. .strong {
  142. font-weight: bold; }
  143. blockquote {
  144. margin: 1em 40px; }
  145. /*
  146. * Addresses styling not present in S5, Chrome.
  147. */
  148. dfn,
  149. em,
  150. .em {
  151. font-style: italic; }
  152. /*
  153. * Addresses styling not present in IE6/7/8/9.
  154. */
  155. mark {
  156. background: #ff0;
  157. color: #000; }
  158. /*
  159. * proper formatting (http://blog.fontdeck.com/post/9037028497/hyphens)
  160. */
  161. p {
  162. -webkit-hyphens: auto;
  163. -epub-hyphens: auto;
  164. -moz-hyphens: auto;
  165. hyphens: auto; }
  166. /*
  167. * Addresses margins set differently in IE6/7.
  168. */
  169. pre {
  170. margin: 0; }
  171. /*
  172. * Corrects font family set oddly in IE6, S4/5, Chrome.
  173. * en.wikipedia.org/wiki/User:Davidgothberg/Test59
  174. */
  175. code,
  176. kbd,
  177. pre,
  178. samp {
  179. font-family: monospace, serif;
  180. _font-family: 'courier new', monospace;
  181. font-size: 1em; }
  182. /*
  183. * Improves readability of pre-formatted text in all browsers.
  184. */
  185. pre {
  186. white-space: pre;
  187. white-space: pre-wrap;
  188. word-wrap: break-word; }
  189. /*
  190. * Addresses CSS quotes not supported in IE6/7.
  191. */
  192. q {
  193. quotes: none; }
  194. /*
  195. * Addresses `quotes` property not supported in S4.
  196. */
  197. q:before,
  198. q:after {
  199. content: '';
  200. content: none; }
  201. small, .small {
  202. font-size: 75%; }
  203. /*
  204. * Prevents `sub` and `sup` affecting `line-height` in all browsers.
  205. * gist.github.com/413930
  206. */
  207. sub,
  208. sup {
  209. font-size: 75%;
  210. line-height: 0;
  211. position: relative;
  212. vertical-align: baseline; }
  213. sup {
  214. top: -0.5em; }
  215. sub {
  216. bottom: -0.25em; }
  217. /* ==========================================================================
  218. Lists
  219. ========================================================================== */
  220. /*
  221. * Addresses margins set differently in IE6/7.
  222. */
  223. dl,
  224. menu,
  225. ol,
  226. ul {
  227. margin: 1em 0; }
  228. dd {
  229. margin: 0; }
  230. /*
  231. * Addresses paddings set differently in IE6/7.
  232. */
  233. menu {
  234. padding: 0 0 0 40px; }
  235. ol,
  236. ul {
  237. padding: 0;
  238. list-style-type: none; }
  239. /*
  240. * Corrects list images handled incorrectly in IE7.
  241. */
  242. nav ul,
  243. nav ol {
  244. list-style: none;
  245. list-style-image: none; }
  246. /* ==========================================================================
  247. Embedded content
  248. ========================================================================== */
  249. /*
  250. * 1. Removes border when inside `a` element in IE6/7/8/9, FF3.
  251. * 2. Improves image quality when scaled in IE7.
  252. * code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/
  253. */
  254. img {
  255. border: 0;
  256. /* 1 */
  257. -ms-interpolation-mode: bicubic;
  258. /* 2 */ }
  259. /*
  260. * Corrects overflow displayed oddly in IE9.
  261. */
  262. svg:not(:root) {
  263. overflow: hidden; }
  264. /* ==========================================================================
  265. Figures
  266. ========================================================================== */
  267. /*
  268. * Addresses margin not present in IE6/7/8/9, S5, O11.
  269. */
  270. figure {
  271. margin: 0; }
  272. /* ==========================================================================
  273. Forms
  274. ========================================================================== */
  275. /*
  276. * Corrects margin displayed oddly in IE6/7.
  277. */
  278. form {
  279. margin: 0; }
  280. /*
  281. * Define consistent border, margin, and padding.
  282. */
  283. fieldset {
  284. border: 1px solid #c0c0c0;
  285. margin: 0 2px;
  286. padding: 0.35em 0.625em 0.75em; }
  287. /*
  288. * 1. Corrects color not being inherited in IE6/7/8/9.
  289. * 2. Corrects text not wrapping in FF3.
  290. * 3. Corrects alignment displayed oddly in IE6/7.
  291. */
  292. legend {
  293. border: 0;
  294. /* 1 */
  295. padding: 0;
  296. white-space: normal;
  297. /* 2 */
  298. *margin-left: -7px;
  299. /* 3 */ }
  300. /*
  301. * 1. Corrects font size not being inherited in all browsers.
  302. * 2. Addresses margins set differently in IE6/7, FF3+, S5, Chrome.
  303. * 3. Improves appearance and consistency in all browsers.
  304. */
  305. button,
  306. input,
  307. select,
  308. textarea {
  309. font-size: 100%;
  310. /* 1 */
  311. margin: 0;
  312. /* 2 */
  313. vertical-align: baseline;
  314. /* 3 */
  315. *vertical-align: middle;
  316. /* 3 */ }
  317. /*
  318. * Addresses FF3/4 setting `line-height` on `input` using `!important` in the
  319. * UA stylesheet.
  320. */
  321. button,
  322. input {
  323. line-height: normal; }
  324. /*
  325. * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
  326. * and `video` controls.
  327. * 2. Corrects inability to style clickable `input` types in iOS.
  328. * 3. Improves usability and consistency of cursor style between image-type
  329. * `input` and others.
  330. * 4. Removes inner spacing in IE7 without affecting normal text inputs.
  331. * Known issue: inner spacing remains in IE6.
  332. */
  333. button,
  334. html input[type="button"],
  335. input[type="reset"],
  336. input[type="submit"] {
  337. -webkit-appearance: button;
  338. /* 2 */
  339. cursor: pointer;
  340. /* 3 */
  341. *overflow: visible;
  342. /* 4 */ }
  343. /*
  344. * Re-set default cursor for disabled elements.
  345. */
  346. button[disabled],
  347. input[disabled] {
  348. cursor: default; }
  349. /*
  350. * 1. Addresses box sizing set to content-box in IE8/9.
  351. * 2. Removes excess padding in IE8/9.
  352. * 3. Removes excess padding in IE7.
  353. * Known issue: excess padding remains in IE6.
  354. */
  355. input[type="checkbox"],
  356. input[type="radio"] {
  357. box-sizing: border-box;
  358. /* 1 */
  359. padding: 0;
  360. /* 2 */
  361. *height: 13px;
  362. /* 3 */
  363. *width: 13px;
  364. /* 3 */ }
  365. /*
  366. * 1. Addresses `appearance` set to `searchfield` in S5, Chrome.
  367. * 2. Addresses `box-sizing` set to `border-box` in S5, Chrome (include `-moz`
  368. * to future-proof).
  369. */
  370. input[type="search"] {
  371. -webkit-appearance: textfield;
  372. /* 1 */
  373. -moz-box-sizing: content-box;
  374. -webkit-box-sizing: content-box;
  375. /* 2 */
  376. box-sizing: content-box; }
  377. /*
  378. * Removes inner padding and search cancel button in S5, Chrome on OS X.
  379. */
  380. input[type="search"]::-webkit-search-cancel-button,
  381. input[type="search"]::-webkit-search-decoration {
  382. -webkit-appearance: none; }
  383. /*
  384. * Removes inner padding and border in FF3+.
  385. */
  386. button::-moz-focus-inner,
  387. input::-moz-focus-inner {
  388. border: 0;
  389. padding: 0; }
  390. /*
  391. * 1. Removes default vertical scrollbar in IE6/7/8/9.
  392. * 2. Improves readability and alignment in all browsers.
  393. */
  394. textarea {
  395. overflow: auto;
  396. /* 1 */
  397. vertical-align: top;
  398. /* 2 */ }
  399. /* ==========================================================================
  400. Tables
  401. ========================================================================== */
  402. /*
  403. * Remove most spacing between table cells.
  404. */
  405. table {
  406. border-collapse: collapse;
  407. border-spacing: 0; }
  408. * {
  409. -webkit-box-sizing: border-box;
  410. -moz-box-sizing: border-box;
  411. box-sizing: border-box; }
  412. .image-replacement,
  413. .ir {
  414. text-indent: 100%;
  415. white-space: nowrap;
  416. overflow: hidden; }
  417. .clearfix, .cf, .comment-respond {
  418. zoom: 1; }
  419. .clearfix:before, .clearfix:after, .cf:before, .comment-respond:before, .cf:after, .comment-respond:after {
  420. content: "";
  421. display: table; }
  422. .clearfix:after, .cf:after, .comment-respond:after {
  423. clear: both; }
  424. /*
  425. use the best ampersand
  426. http://simplebits.com/notebook/2008/08/14/ampersands-2/
  427. */
  428. span.amp {
  429. font-family: Baskerville,'Goudy Old Style',Palatino,'Book Antiqua',serif !important;
  430. font-style: italic; }
  431. /******************************************************************
  432. Site Name:
  433. Author:
  434. Stylesheet: Variables
  435. Here is where we declare all our variables like colors, fonts,
  436. base values, and defaults. We want to make sure this file ONLY
  437. contains variables that way our files don't get all messy.
  438. No one likes a mess.
  439. ******************************************************************/
  440. /*********************
  441. COLORS
  442. Need help w/ choosing your colors? Try this site out:
  443. http://0to255.com/
  444. *********************/
  445. /*
  446. Here's a great tutorial on how to
  447. use color variables properly:
  448. http://sachagreif.com/sass-color-variables/
  449. */
  450. /******************************************************************
  451. Site Name:
  452. Author:
  453. Stylesheet: Typography
  454. Need to import a font or set of icons for your site? Drop them in
  455. here or just use this to establish your typographical grid. Or not.
  456. Do whatever you want to...GOSH!
  457. Helpful Articles:
  458. http://trentwalton.com/2012/06/19/fluid-type/
  459. http://ia.net/blog/responsive-typography-the-basics/
  460. http://alistapart.com/column/responsive-typography-is-a-physical-discipline
  461. ******************************************************************/
  462. /*********************
  463. FONT FACE (IN YOUR FACE)
  464. *********************/
  465. /* To embed your own fonts, use this syntax
  466. and place your fonts inside the
  467. library/fonts folder. For more information
  468. on embedding fonts, go to:
  469. http://www.fontsquirrel.com/
  470. Be sure to remove the comment brackets.
  471. */
  472. /* @font-face {
  473. font-family: 'Font Name';
  474. src: url('library/fonts/font-name.eot');
  475. src: url('library/fonts/font-name.eot?#iefix') format('embedded-opentype'),
  476. url('library/fonts/font-name.woff') format('woff'),
  477. url('library/fonts/font-name.ttf') format('truetype'),
  478. url('library/fonts/font-name.svg#font-name') format('svg');
  479. font-weight: normal;
  480. font-style: normal;
  481. }
  482. */
  483. /*
  484. The following is based of Typebase:
  485. https://github.com/devinhunt/typebase.css
  486. I've edited it a bit, but it's a nice starting point.
  487. */
  488. /*
  489. i imported this one in the functions file so bones would look sweet.
  490. don't forget to remove it for your site.
  491. */
  492. /*
  493. some nice typographical defaults
  494. more here: http://www.newnet-soft.com/blog/csstypography
  495. */
  496. p {
  497. -ms-word-break: break-all;
  498. -ms-word-wrap: break-all;
  499. word-break: break-word;
  500. word-break: break-word;
  501. -webkit-hyphens: auto;
  502. -moz-hyphens: auto;
  503. hyphens: auto;
  504. -webkit-hyphenate-before: 2;
  505. -webkit-hyphenate-after: 3;
  506. hyphenate-lines: 3;
  507. -webkit-font-feature-settings: "liga", "dlig";
  508. -moz-font-feature-settings: "liga=1, dlig=1";
  509. -ms-font-feature-settings: "liga", "dlig";
  510. -o-font-feature-settings: "liga", "dlig";
  511. font-feature-settings: "liga", "dlig"; }
  512. /******************************************************************
  513. Site Name:
  514. Author:
  515. Stylesheet: Sass Functions
  516. You can do a lot of really cool things in Sass. Functions help you
  517. make repeated actions a lot easier. They are really similar to mixins,
  518. but can be used for so much more.
  519. Anyway, keep them all in here so it's easier to find when you're
  520. looking for one.
  521. For more info on functions, go here:
  522. http://sass-lang.com/documentation/Sass/Script/Functions.html
  523. ******************************************************************/
  524. /*********************
  525. COLOR FUNCTIONS
  526. These are helpful when you're working
  527. with shadows and such things. It's essentially
  528. a quicker way to write RGBA.
  529. Example:
  530. box-shadow: 0 0 4px black(0.3);
  531. compiles to:
  532. box-shadow: 0 0 4px rgba(0,0,0,0.3);
  533. *********************/
  534. /*********************
  535. RESPONSIVE HELPER FUNCTION
  536. If you're creating a responsive site, then
  537. you've probably already read
  538. Responsive Web Design: http://www.abookapart.com/products/responsive-web-design
  539. Here's a nice little helper function for calculating
  540. target / context
  541. as mentioned in that book.
  542. Example:
  543. width: cp(650px, 1000px);
  544. or
  545. width: calc-percent(650px, 1000px);
  546. both compile to:
  547. width: 65%;
  548. *********************/
  549. /******************************************************************
  550. Site Name:
  551. Author:
  552. Stylesheet: Mixins Stylesheet
  553. This is where you can take advantage of Sass' great features: Mixins.
  554. I won't go in-depth on how they work exactly,
  555. there are a few articles below that will help do that. What I will
  556. tell you is that this will help speed up simple changes like
  557. changing a color or adding CSS3 techniques gradients.
  558. A WORD OF WARNING: It's very easy to overdo it here. Be careful and
  559. remember less is more.
  560. Helpful:
  561. http://sachagreif.com/useful-sass-mixins/
  562. http://thesassway.com/intermediate/leveraging-sass-mixins-for-cleaner-code
  563. http://web-design-weekly.com/blog/2013/05/12/handy-sass-mixins/
  564. ******************************************************************/
  565. /*********************
  566. TRANSITION
  567. *********************/
  568. /*
  569. I totally rewrote this to be cleaner and easier to use.
  570. You'll need to be using Sass 3.2+ for these to work.
  571. Thanks to @anthonyshort for the inspiration on these.
  572. USAGE: @include transition(all 0.2s ease-in-out);
  573. */
  574. /*********************
  575. CSS3 GRADIENTS
  576. Be careful with these since they can
  577. really slow down your CSS. Don't overdo it.
  578. *********************/
  579. /* @include css-gradient(#dfdfdf,#f8f8f8); */
  580. /*********************
  581. BOX SIZING
  582. *********************/
  583. /* @include box-sizing(border-box); */
  584. /* NOTE: value of "padding-box" is only supported in Gecko. So
  585. probably best not to use it. I mean, were you going to anyway? */
  586. /******************************************************************
  587. Site Name:
  588. Author:
  589. Stylesheet: Grid Stylesheet
  590. I've seperated the grid so you can swap it out easily. It's
  591. called at the top the style.scss stylesheet.
  592. There are a ton of grid solutions out there. You should definitely
  593. experiment with your own. Here are some recommendations:
  594. http://gridsetapp.com - Love this site. Responsive Grids made easy.
  595. http://susy.oddbird.net/ - Grids using Compass. Very elegant.
  596. http://gridpak.com/ - Create your own responsive grid.
  597. https://github.com/dope/lemonade - Neat lightweight grid.
  598. The grid below is a custom built thingy I modeled a bit after
  599. Gridset. It's VERY basic and probably shouldn't be used on
  600. your client projects. The idea is you learn how to roll your
  601. own grids. It's better in the long run and allows you full control
  602. over your project's layout.
  603. ******************************************************************/
  604. .last-col {
  605. float: right;
  606. padding-right: 0; }
  607. /*
  608. Mobile Grid Styles
  609. These are the widths for the mobile grid.
  610. There are four types, but you can add or customize
  611. them however you see fit.
  612. */
  613. @media (max-width: 767px) {
  614. .m-all {
  615. float: left;
  616. padding-right: 0.75em;
  617. width: 100%; }
  618. .m-1of2 {
  619. float: left;
  620. padding-right: 0.75em;
  621. width: 50%; }
  622. .m-1of3 {
  623. float: left;
  624. padding-right: 0.75em;
  625. width: 33.33%; }
  626. .m-2of3 {
  627. float: left;
  628. padding-right: 0.75em;
  629. width: 66.66%; }
  630. .m-1of4 {
  631. float: left;
  632. padding-right: 0.75em;
  633. width: 25%; }
  634. .m-3of4 {
  635. float: left;
  636. padding-right: 0.75em;
  637. width: 75%; } }
  638. /* Portrait tablet to landscape */
  639. @media (min-width: 768px) and (max-width: 1029px) {
  640. .t-all {
  641. float: left;
  642. padding-right: 0.75em;
  643. width: 100%; }
  644. .t-1of2 {
  645. float: left;
  646. padding-right: 0.75em;
  647. width: 50%; }
  648. .t-1of3 {
  649. float: left;
  650. padding-right: 0.75em;
  651. width: 33.33%; }
  652. .t-2of3 {
  653. float: left;
  654. padding-right: 0.75em;
  655. width: 66.66%; }
  656. .t-1of4 {
  657. float: left;
  658. padding-right: 0.75em;
  659. width: 25%; }
  660. .t-3of4 {
  661. float: left;
  662. padding-right: 0.75em;
  663. width: 75%; }
  664. .t-1of5 {
  665. float: left;
  666. padding-right: 0.75em;
  667. width: 20%; }
  668. .t-2of5 {
  669. float: left;
  670. padding-right: 0.75em;
  671. width: 40%; }
  672. .t-3of5 {
  673. float: left;
  674. padding-right: 0.75em;
  675. width: 60%; }
  676. .t-4of5 {
  677. float: left;
  678. padding-right: 0.75em;
  679. width: 80%; } }
  680. /* Landscape to small desktop */
  681. @media (min-width: 1030px) {
  682. .d-all {
  683. float: left;
  684. padding-right: 0.75em;
  685. width: 100%; }
  686. .d-1of2 {
  687. float: left;
  688. padding-right: 0.75em;
  689. width: 50%; }
  690. .d-1of3 {
  691. float: left;
  692. padding-right: 0.75em;
  693. width: 33.33%; }
  694. .d-2of3 {
  695. float: left;
  696. padding-right: 0.75em;
  697. width: 66.66%; }
  698. .d-1of4 {
  699. float: left;
  700. padding-right: 0.75em;
  701. width: 25%; }
  702. .d-3of4 {
  703. float: left;
  704. padding-right: 0.75em;
  705. width: 75%; }
  706. .d-1of5 {
  707. float: left;
  708. padding-right: 0.75em;
  709. width: 20%; }
  710. .d-2of5 {
  711. float: left;
  712. padding-right: 0.75em;
  713. width: 40%; }
  714. .d-3of5 {
  715. float: left;
  716. padding-right: 0.75em;
  717. width: 60%; }
  718. .d-4of5 {
  719. float: left;
  720. padding-right: 0.75em;
  721. width: 80%; }
  722. .d-1of6 {
  723. float: left;
  724. padding-right: 0.75em;
  725. width: 16.6666666667%; }
  726. .d-1of7 {
  727. float: left;
  728. padding-right: 0.75em;
  729. width: 14.2857142857%; }
  730. .d-2of7 {
  731. float: left;
  732. padding-right: 0.75em;
  733. width: 28.5714286%; }
  734. .d-3of7 {
  735. float: left;
  736. padding-right: 0.75em;
  737. width: 42.8571429%; }
  738. .d-4of7 {
  739. float: left;
  740. padding-right: 0.75em;
  741. width: 57.1428572%; }
  742. .d-5of7 {
  743. float: left;
  744. padding-right: 0.75em;
  745. width: 71.4285715%; }
  746. .d-6of7 {
  747. float: left;
  748. padding-right: 0.75em;
  749. width: 85.7142857%; }
  750. .d-1of8 {
  751. float: left;
  752. padding-right: 0.75em;
  753. width: 12.5%; }
  754. .d-1of9 {
  755. float: left;
  756. padding-right: 0.75em;
  757. width: 11.1111111111%; }
  758. .d-1of10 {
  759. float: left;
  760. padding-right: 0.75em;
  761. width: 10%; }
  762. .d-1of11 {
  763. float: left;
  764. padding-right: 0.75em;
  765. width: 9.09090909091%; }
  766. .d-1of12 {
  767. float: left;
  768. padding-right: 0.75em;
  769. width: 8.33%; } }
  770. /*********************
  771. IMPORTING MODULES
  772. Modules are reusable blocks or elements we use throughout the project.
  773. We can break them up as much as we want or just keep them all in one.
  774. I mean, you can do whatever you want. The world is your oyster. Unless
  775. you hate oysters, then the world is your peanut butter & jelly sandwich.
  776. *********************/
  777. /******************************************************************
  778. Site Name:
  779. Author:
  780. Stylesheet: Alert Styles
  781. If you want to use these alerts in your design, you can. If not,
  782. you can just remove this stylesheet.
  783. ******************************************************************/
  784. .alert-help, .alert-info, .alert-error, .alert-success {
  785. margin: 10px;
  786. padding: 5px 18px;
  787. border: 1px solid; }
  788. .alert-help {
  789. border-color: #e8dc59;
  790. background: #ebe16f; }
  791. .alert-info {
  792. border-color: #bfe4f4;
  793. background: #d5edf8; }
  794. .alert-error {
  795. border-color: #f8cdce;
  796. background: #fbe3e4; }
  797. .alert-success {
  798. border-color: #deeaae;
  799. background: #e6efc2; }
  800. /******************************************************************
  801. Site Name:
  802. Author:
  803. Stylesheet: Button Styles
  804. Buttons are a pretty important part of your site's style, so it's
  805. important to have a consistent baseline for them. Use this stylesheet
  806. to create all kinds of buttons.
  807. Helpful Links:
  808. http://galp.in/blog/2011/08/02/the-ui-guide-part-1-buttons/
  809. ******************************************************************/
  810. /*********************
  811. BUTTON DEFAULTS
  812. We're gonna use a placeholder selector here
  813. so we can use common styles. We then use this
  814. to load up the defaults in all our buttons.
  815. Here's a quick video to show how it works:
  816. http://www.youtube.com/watch?v=hwdVpKiJzac
  817. *********************/
  818. .blue-btn, .comment-reply-link, #submit {
  819. display: inline-block;
  820. position: relative;
  821. font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  822. text-decoration: none;
  823. color: white;
  824. font-size: 0.9em;
  825. font-size: 34px;
  826. line-height: 34px;
  827. font-weight: normal;
  828. padding: 0 24px;
  829. border-radius: 4px;
  830. border: 0;
  831. cursor: pointer;
  832. -webkit-transition: background-color 0.14s ease-in-out;
  833. transition: background-color 0.14s ease-in-out; }
  834. .blue-btn:hover, .comment-reply-link:hover, #submit:hover, .blue-btn:focus, .comment-reply-link:focus, #submit:focus {
  835. color: white;
  836. text-decoration: none; }
  837. .blue-btn:active, .comment-reply-link:active, #submit:active {
  838. top: 1px; }
  839. /*
  840. An example button.
  841. You can use this example if you want. Just replace all the variables
  842. and it will create a button dependant on those variables.
  843. */
  844. .blue-btn, .comment-reply-link, #submit {
  845. background-color: #2980b9; }
  846. .blue-btn:hover, .comment-reply-link:hover, #submit:hover, .blue-btn:focus, .comment-reply-link:focus, #submit:focus {
  847. background-color: #2574a8; }
  848. .blue-btn:active, .comment-reply-link:active, #submit:active {
  849. background-color: #2472a4; }
  850. /******************************************************************
  851. Site Name:
  852. Author:
  853. Stylesheet: Form Styles
  854. We put all the form and button styles in here to setup a consistent
  855. look. If we need to customize them, we can do this in the main
  856. stylesheets and just override them. Easy Peasy.
  857. You're gonna see a few data-uri thingies down there. If you're not
  858. sure what they are, check this link out:
  859. http://css-tricks.com/data-uris/
  860. If you want to create your own, use this helpful link:
  861. http://websemantics.co.uk/online_tools/image_to_data_uri_convertor/
  862. ******************************************************************/
  863. /*********************
  864. INPUTS
  865. *********************/
  866. input[type="text"],
  867. input[type="password"],
  868. input[type="datetime"],
  869. input[type="datetime-local"],
  870. input[type="date"],
  871. input[type="month"],
  872. input[type="time"],
  873. input[type="week"],
  874. input[type="number"],
  875. input[type="email"],
  876. input[type="url"],
  877. input[type="search"],
  878. input[type="tel"],
  879. input[type="color"],
  880. select,
  881. textarea,
  882. .field {
  883. display: block;
  884. height: 40px;
  885. line-height: 40px;
  886. padding: 0 12px;
  887. margin-bottom: 14px;
  888. font-size: 1em;
  889. color: #5c6b80;
  890. border-radius: 3px;
  891. vertical-align: middle;
  892. box-shadow: none;
  893. border: 0;
  894. width: 100%;
  895. max-width: 400px;
  896. font-family: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;
  897. background-color: #eaedf2;
  898. -webkit-transition: background-color 0.24s ease-in-out;
  899. transition: background-color 0.24s ease-in-out; }
  900. input[type="text"]:focus, input[type="text"]:active,
  901. input[type="password"]:focus,
  902. input[type="password"]:active,
  903. input[type="datetime"]:focus,
  904. input[type="datetime"]:active,
  905. input[type="datetime-local"]:focus,
  906. input[type="datetime-local"]:active,
  907. input[type="date"]:focus,
  908. input[type="date"]:active,
  909. input[type="month"]:focus,
  910. input[type="month"]:active,
  911. input[type="time"]:focus,
  912. input[type="time"]:active,
  913. input[type="week"]:focus,
  914. input[type="week"]:active,
  915. input[type="number"]:focus,
  916. input[type="number"]:active,
  917. input[type="email"]:focus,
  918. input[type="email"]:active,
  919. input[type="url"]:focus,
  920. input[type="url"]:active,
  921. input[type="search"]:focus,
  922. input[type="search"]:active,
  923. input[type="tel"]:focus,
  924. input[type="tel"]:active,
  925. input[type="color"]:focus,
  926. input[type="color"]:active,
  927. select:focus,
  928. select:active,
  929. textarea:focus,
  930. textarea:active,
  931. .field:focus,
  932. .field:active {
  933. background-color: #f7f8fa; }
  934. input[type="text"].error, input[type="text"].is-invalid,
  935. input[type="password"].error,
  936. input[type="password"].is-invalid,
  937. input[type="datetime"].error,
  938. input[type="datetime"].is-invalid,
  939. input[type="datetime-local"].error,
  940. input[type="datetime-local"].is-invalid,
  941. input[type="date"].error,
  942. input[type="date"].is-invalid,
  943. input[type="month"].error,
  944. input[type="month"].is-invalid,
  945. input[type="time"].error,
  946. input[type="time"].is-invalid,
  947. input[type="week"].error,
  948. input[type="week"].is-invalid,
  949. input[type="number"].error,
  950. input[type="number"].is-invalid,
  951. input[type="email"].error,
  952. input[type="email"].is-invalid,
  953. input[type="url"].error,
  954. input[type="url"].is-invalid,
  955. input[type="search"].error,
  956. input[type="search"].is-invalid,
  957. input[type="tel"].error,
  958. input[type="tel"].is-invalid,
  959. input[type="color"].error,
  960. input[type="color"].is-invalid,
  961. select.error,
  962. select.is-invalid,
  963. textarea.error,
  964. textarea.is-invalid,
  965. .field.error,
  966. .field.is-invalid {
  967. color: #fbe3e4;
  968. border-color: #fbe3e4;
  969. background-color: white;
  970. background-position: 99% center;
  971. background-repeat: no-repeat;
  972. background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAYAAADEtGw7AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoTWFjaW50b3NoKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo2NDM0NDREQkYwNEIxMUUyOTI4REZGQTEzMzA2MDcyNiIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDo2NDM0NDREQ0YwNEIxMUUyOTI4REZGQTEzMzA2MDcyNiI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjQ3ODRGRkE2RjA0QTExRTI5MjhERkZBMTMzMDYwNzI2IiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjY0MzQ0NERBRjA0QjExRTI5MjhERkZBMTMzMDYwNzI2Ii8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+U8iT5wAAAedJREFUeNqk1U9I02Ecx/HtV3aIFAc1hcRDUoGXRAq0oNLA2CrsEFmHbikZu0iQYIFGYAiegkCpLipBxPpDEBMUzB0EhSG2LhG7hMR2GviPgUTvB57Bw8P3+U23B16HPX8+e/b8nt93wezZSMCnhXETF3AcB5BDCnH8Dq98ExcGHcFn8Ah3cdDni+fxnPDv9oAnTB7CKu6VCFXtChZy56LxUjt+jfuB8toSOth9wd7xWAWhqrUjYR/FRTwWJm+iIPT/w7bQf5ljiZnBg45dtKFX6H+LU8gIY8OEV6vgTkStwXWE8BPTGDHGPqNPz2mCfSOOYkA99TvCt1bhGPL68zMcwmncMuape10jrI+q4BbHi/FLn31S9z2x5tRhTc+1W506ipM+T3oRD4X+8+qtc4SqFvL0z/Fr14S+Szjis8bz9Lvvaq8cwS/wwGfdlqfPSWqTiFlX77o13u9Ym1PBs8JAytpRoy44X9Ft9E/gvbA+rYKn8NcaaMVc8UHgBw4b9/iqUQZ6hOAJFbyDcUflmsEX4a6+wTtHGfhAIUqa1U29Zc2BytouThD8x6xuN5CtMPi2CrXLZkZf/HyZoRFCP7n+QVR4PV7uI/AjGghN7OU/r1ilnqILtfpNC+o6vIFljBKYlhb/F2AAgaBsWR5wRiIAAAAASUVORK5CYII=);
  973. outline-color: #fbe3e4; }
  974. input[type="text"].success, input[type="text"].is-valid,
  975. input[type="password"].success,
  976. input[type="password"].is-valid,
  977. input[type="datetime"].success,
  978. input[type="datetime"].is-valid,
  979. input[type="datetime-local"].success,
  980. input[type="datetime-local"].is-valid,
  981. input[type="date"].success,
  982. input[type="date"].is-valid,
  983. input[type="month"].success,
  984. input[type="month"].is-valid,
  985. input[type="time"].success,
  986. input[type="time"].is-valid,
  987. input[type="week"].success,
  988. input[type="week"].is-valid,
  989. input[type="number"].success,
  990. input[type="number"].is-valid,
  991. input[type="email"].success,
  992. input[type="email"].is-valid,
  993. input[type="url"].success,
  994. input[type="url"].is-valid,
  995. input[type="search"].success,
  996. input[type="search"].is-valid,
  997. input[type="tel"].success,
  998. input[type="tel"].is-valid,
  999. input[type="color"].success,
  1000. input[type="color"].is-valid,
  1001. select.success,
  1002. select.is-valid,
  1003. textarea.success,
  1004. textarea.is-valid,
  1005. .field.success,
  1006. .field.is-valid {
  1007. color: #e6efc2;
  1008. border-color: #e6efc2;
  1009. background-color: white;
  1010. background-position: 99% center;
  1011. background-repeat: no-repeat;
  1012. background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAYAAADEtGw7AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoTWFjaW50b3NoKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo2NDM0NDRERkYwNEIxMUUyOTI4REZGQTEzMzA2MDcyNiIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDo2NDM0NDRFMEYwNEIxMUUyOTI4REZGQTEzMzA2MDcyNiI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjY0MzQ0NERERjA0QjExRTI5MjhERkZBMTMzMDYwNzI2IiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjY0MzQ0NERFRjA0QjExRTI5MjhERkZBMTMzMDYwNzI2Ii8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+7olkTQAAAfhJREFUeNqklU9oE0EUhzdroWjw0tBeWlDxkEaIp55TsCU9VKIgCrHBelA8CQ1Kr1WPbZrQ3gqtQqvGqxpQc2jBk6BIIaAGD4qNCKURpDSKiPi98gLDsJt//uBjsztvfnk7895sIPAw6/joGMThFJyAXn2+A+9gA57/TaY/eU0OeBgfhGm4DiGnsb7DAszxBz/NAdcKjMJLuNWCqagHbsscN5+L+hmH4QkMOe1L5jzFfNA2PgT34ajTuY7AGuZB0/hmh5m+gS0r8xv1zRvg+gGCHZiOwnF4DP3iB3sQkYxPd2C6CWfhB9Xwlus5+K1j4jXuaq3a+gM1H9OPcAa+7q9lPidZJqHbiIm7Wg22rsEI7FrPSzAMX/T+ADyAKSsu7Fr1KplehLvwCs5DvfBf65p+MypqRbO1FXK9utH4/QKuaqYTsG3E3INJv00Q46px3+XxanJ/Ute2/vqP4FKDza2KcdljIKdnhS0xXYULTaqmLMZFn8FFSFtvt6x70ExFCS5oUXspq2ssa7oEl1swFa+CGFdgtkHgPDyDKy02zyxNU6lXRUZb1EuHYayNNs+Yh5B0WQo+/8fpJnNTZFuzz2OpjoQ2QruSOQlMy35fEGmEGMxY9e1brxobw7TkWA1h6xfckUPb+JhGoE/Hpfvew7qUld/H9J8AAwDpw3WYrxcZ3QAAAABJRU5ErkJggg==);
  1013. outline-color: #e6efc2; }
  1014. input[type="text"][disabled], input[type="text"].is-disabled,
  1015. input[type="password"][disabled],
  1016. input[type="password"].is-disabled,
  1017. input[type="datetime"][disabled],
  1018. input[type="datetime"].is-disabled,
  1019. input[type="datetime-local"][disabled],
  1020. input[type="datetime-local"].is-disabled,
  1021. input[type="date"][disabled],
  1022. input[type="date"].is-disabled,
  1023. input[type="month"][disabled],
  1024. input[type="month"].is-disabled,
  1025. input[type="time"][disabled],
  1026. input[type="time"].is-disabled,
  1027. input[type="week"][disabled],
  1028. input[type="week"].is-disabled,
  1029. input[type="number"][disabled],
  1030. input[type="number"].is-disabled,
  1031. input[type="email"][disabled],
  1032. input[type="email"].is-disabled,
  1033. input[type="url"][disabled],
  1034. input[type="url"].is-disabled,
  1035. input[type="search"][disabled],
  1036. input[type="search"].is-disabled,
  1037. input[type="tel"][disabled],
  1038. input[type="tel"].is-disabled,
  1039. input[type="color"][disabled],
  1040. input[type="color"].is-disabled,
  1041. select[disabled],
  1042. select.is-disabled,
  1043. textarea[disabled],
  1044. textarea.is-disabled,
  1045. .field[disabled],
  1046. .field.is-disabled {
  1047. cursor: not-allowed;
  1048. border-color: #cfcfcf;
  1049. opacity: 0.6; }
  1050. input[type="text"][disabled]:focus, input[type="text"][disabled]:active, input[type="text"].is-disabled:focus, input[type="text"].is-disabled:active,
  1051. input[type="password"][disabled]:focus,
  1052. input[type="password"][disabled]:active,
  1053. input[type="password"].is-disabled:focus,
  1054. input[type="password"].is-disabled:active,
  1055. input[type="datetime"][disabled]:focus,
  1056. input[type="datetime"][disabled]:active,
  1057. input[type="datetime"].is-disabled:focus,
  1058. input[type="datetime"].is-disabled:active,
  1059. input[type="datetime-local"][disabled]:focus,
  1060. input[type="datetime-local"][disabled]:active,
  1061. input[type="datetime-local"].is-disabled:focus,
  1062. input[type="datetime-local"].is-disabled:active,
  1063. input[type="date"][disabled]:focus,
  1064. input[type="date"][disabled]:active,
  1065. input[type="date"].is-disabled:focus,
  1066. input[type="date"].is-disabled:active,
  1067. input[type="month"][disabled]:focus,
  1068. input[type="month"][disabled]:active,
  1069. input[type="month"].is-disabled:focus,
  1070. input[type="month"].is-disabled:active,
  1071. input[type="time"][disabled]:focus,
  1072. input[type="time"][disabled]:active,
  1073. input[type="time"].is-disabled:focus,
  1074. input[type="time"].is-disabled:active,
  1075. input[type="week"][disabled]:focus,
  1076. input[type="week"][disabled]:active,
  1077. input[type="week"].is-disabled:focus,
  1078. input[type="week"].is-disabled:active,
  1079. input[type="number"][disabled]:focus,
  1080. input[type="number"][disabled]:active,
  1081. input[type="number"].is-disabled:focus,
  1082. input[type="number"].is-disabled:active,
  1083. input[type="email"][disabled]:focus,
  1084. input[type="email"][disabled]:active,
  1085. input[type="email"].is-disabled:focus,
  1086. input[type="email"].is-disabled:active,
  1087. input[type="url"][disabled]:focus,
  1088. input[type="url"][disabled]:active,
  1089. input[type="url"].is-disabled:focus,
  1090. input[type="url"].is-disabled:active,
  1091. input[type="search"][disabled]:focus,
  1092. input[type="search"][disabled]:active,
  1093. input[type="search"].is-disabled:focus,
  1094. input[type="search"].is-disabled:active,
  1095. input[type="tel"][disabled]:focus,
  1096. input[type="tel"][disabled]:active,
  1097. input[type="tel"].is-disabled:focus,
  1098. input[type="tel"].is-disabled:active,
  1099. input[type="color"][disabled]:focus,
  1100. input[type="color"][disabled]:active,
  1101. input[type="color"].is-disabled:focus,
  1102. input[type="color"].is-disabled:active,
  1103. select[disabled]:focus,
  1104. select[disabled]:active,
  1105. select.is-disabled:focus,
  1106. select.is-disabled:active,
  1107. textarea[disabled]:focus,
  1108. textarea[disabled]:active,
  1109. textarea.is-disabled:focus,
  1110. textarea.is-disabled:active,
  1111. .field[disabled]:focus,
  1112. .field[disabled]:active,
  1113. .field.is-disabled:focus,
  1114. .field.is-disabled:active {
  1115. background-color: #d5edf8; }
  1116. textarea {
  1117. max-width: 100%;
  1118. min-height: 120px;
  1119. line-height: 1.5em; }
  1120. select {
  1121. -webkit-appearance: none;
  1122. /* 1 */
  1123. background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAHCAYAAADXhRcnAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoTWFjaW50b3NoKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpEOEZCMjYxMEYwNUUxMUUyOTI4REZGQTEzMzA2MDcyNiIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDpEOEZCMjYxMUYwNUUxMUUyOTI4REZGQTEzMzA2MDcyNiI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOkQ4RkIyNjBFRjA1RTExRTI5MjhERkZBMTMzMDYwNzI2IiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOkQ4RkIyNjBGRjA1RTExRTI5MjhERkZBMTMzMDYwNzI2Ii8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+Vxkp9gAAAI9JREFUeNpidHFxucHAwKAOxE+AmJmBMPgLxDJAfJMFSKwD4kqoAClgA+P///8ZXF1dPaCGcBKh6QcQB+3evXs7WDMIAA2QB1I7gFgDj0aQFz2BGh+AOEwwUaDAQyBlCMR7cGjcC5KHaQQBuM3IAOiKTiBVhiTUDdRUhq4Oq2aoAelAahIQ5wM1zsCmBiDAADhYMJXVZ9u9AAAAAElFTkSuQmCC);
  1124. background-repeat: no-repeat;
  1125. background-position: 97.5% center; }
  1126. /*********************
  1127. BASE (MOBILE) SIZE
  1128. This are the mobile styles. It's what people see on their phones. If
  1129. you set a great foundation, you won't need to add too many styles in
  1130. the other stylesheets. Remember, keep it light: Speed is Important.
  1131. *********************/
  1132. /******************************************************************
  1133. Site Name:
  1134. Author:
  1135. Stylesheet: Base Mobile Stylesheet
  1136. Be light and don't over style since everything here will be
  1137. loaded by mobile devices. You want to keep it as minimal as
  1138. possible. This is called at the top of the main stylsheet
  1139. and will be used across all viewports.
  1140. ******************************************************************/
  1141. /*********************
  1142. GENERAL STYLES
  1143. *********************/
  1144. body {
  1145. font-family: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;
  1146. font-size: 100%;
  1147. line-height: 1.5;
  1148. color: #5c6b80;
  1149. background-color: #eaedf2;
  1150. -webkit-font-smoothing: antialiased; }
  1151. /********************
  1152. WORDPRESS BODY CLASSES
  1153. style a page via class
  1154. ********************/
  1155. /* for sites that are read right to left (i.e. hebrew) */
  1156. /* home page */
  1157. /* blog template page */
  1158. /* archive page */
  1159. /* date archive page */
  1160. /* replace the number to the corresponding page number */
  1161. /* search page */
  1162. /* search result page */
  1163. /* no results search page */
  1164. /* individual paged search (i.e. body.search-paged-3) */
  1165. /* 404 page */
  1166. /* single post page */
  1167. /* individual post page by id (i.e. body.postid-73) */
  1168. /* individual paged single (i.e. body.single-paged-3) */
  1169. /* attatchment page */
  1170. /* individual attatchment page (i.e. body.attachmentid-763) */
  1171. /* style mime type pages */
  1172. /* author page */
  1173. /* user nicename (i.e. body.author-samueladams) */
  1174. /* paged author archives (i.e. body.author-paged-4) for page 4 */
  1175. /* category page */
  1176. /* individual category page (i.e. body.category-6) */
  1177. /* replace the number to the corresponding page number */
  1178. /* tag page */
  1179. /* individual tag page (i.e. body.tag-news) */
  1180. /* replace the number to the corresponding page number */
  1181. /* custom page template page */
  1182. /* individual page template (i.e. body.page-template-contact-php */
  1183. /* replace the number to the corresponding page number */
  1184. /* parent page template */
  1185. /* child page template */
  1186. /* replace the number to the corresponding page number */
  1187. /* if user is logged in */
  1188. /* paged items like search results or archives */
  1189. /* individual paged (i.e. body.paged-3) */
  1190. /*********************
  1191. LAYOUT & GRID STYLES
  1192. *********************/
  1193. .wrap {
  1194. width: 96%;
  1195. margin: 0 auto; }
  1196. /*********************
  1197. LINK STYLES
  1198. *********************/
  1199. a, a:visited {
  1200. color: #f01d4f;
  1201. /* on hover */
  1202. /* on click */
  1203. /* mobile tap color */ }
  1204. a:hover, a:focus, a:visited:hover, a:visited:focus {
  1205. color: #d10e3c; }
  1206. a:link, a:visited:link {
  1207. /*
  1208. this highlights links on iPhones/iPads.
  1209. so it basically works like the :hover selector
  1210. for mobile devices.
  1211. */
  1212. -webkit-tap-highlight-color: rgba(0, 0, 0, 0.3); }
  1213. /******************************************************************
  1214. H1, H2, H3, H4, H5 STYLES
  1215. ******************************************************************/
  1216. h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5 {
  1217. text-rendering: optimizelegibility;
  1218. font-weight: 500;
  1219. /*
  1220. if you're going to use webfonts, be sure to check your weights
  1221. http://css-tricks.com/watch-your-font-weight/
  1222. */
  1223. /* removing text decoration from all headline links */ }
  1224. h1 a, .h1 a, h2 a, .h2 a, h3 a, .h3 a, h4 a, .h4 a, h5 a, .h5 a {
  1225. text-decoration: none; }
  1226. h1, .h1 {
  1227. font-size: 2.5em;
  1228. line-height: 1.333em; }
  1229. h2, .h2 {
  1230. font-size: 1.75em;
  1231. line-height: 1.4em;
  1232. margin-bottom: 0.375em; }
  1233. h3, .h3 {
  1234. font-size: 1.125em; }
  1235. h4, .h4 {
  1236. font-size: 1.1em;
  1237. font-weight: 700; }
  1238. h5, .h5 {
  1239. font-size: 0.846em;
  1240. line-height: 2.09em;
  1241. text-transform: uppercase;
  1242. letter-spacing: 2px; }
  1243. /*********************
  1244. HEADER STYLES
  1245. *********************/
  1246. .header {
  1247. background-color: #323944; }
  1248. #logo {
  1249. margin: 0.75em 0; }
  1250. #logo a {
  1251. color: white; }
  1252. /*********************
  1253. NAVIGATION STYLES
  1254. *********************/
  1255. /*
  1256. all navs have a .nav class applied via
  1257. the wp_menu function; this is so we can
  1258. easily write one group of styles for
  1259. the navs on the site so our css is cleaner
  1260. and more scalable.
  1261. */
  1262. .nav {
  1263. border-bottom: 0;
  1264. margin: 0;
  1265. /* end .menu li */
  1266. /* highlight current page */
  1267. /* end current highlighters */ }
  1268. .nav li {
  1269. /*
  1270. so you really have to rethink your dropdowns for mobile.
  1271. you don't want to have it expand too much because the
  1272. screen is so small. How you manage your menu should
  1273. depend on the project. Here's some great info on it:
  1274. http://www.alistapart.com/articles/organizing-mobile/
  1275. */ }
  1276. .nav li a {
  1277. display: block;
  1278. color: white;
  1279. text-decoration: none;
  1280. padding: 0.75em;
  1281. /*
  1282. remember this is for mobile ONLY, so there's no need
  1283. to even declare hover styles here, you can do it in
  1284. the style.scss file where it's relevant. We want to
  1285. keep this file as small as possible!
  1286. */ }
  1287. .nav li ul.sub-menu li a,
  1288. .nav li ul.children li a {
  1289. padding-left: 30px; }
  1290. /* end .nav */
  1291. /*********************
  1292. POSTS & CONTENT STYLES
  1293. *********************/
  1294. #content {
  1295. margin-top: 1.5em; }
  1296. .hentry {
  1297. background-color: white;
  1298. border-radius: 3px;
  1299. margin-bottom: 1.5em;
  1300. border: 1px solid #cccccc; }
  1301. .hentry header {
  1302. border-bottom: 1px solid #f8f9fa;
  1303. padding: 1.5em; }
  1304. .hentry footer {
  1305. padding: 1.5em;
  1306. border-top: 1px solid #f8f9fa; }
  1307. .hentry footer p {
  1308. margin: 0; }
  1309. /* end .hentry */
  1310. .single-title,
  1311. .page-title,
  1312. .entry-title {
  1313. margin: 0; }
  1314. /* want to style individual post classes? Booya! */
  1315. /* post by id (i.e. post-3) */
  1316. /* general post style */
  1317. /* general article on a page style */
  1318. /* general style on an attatchment */
  1319. /* sticky post style */
  1320. /* hentry class */
  1321. /* style by category (i.e. category-videos) */
  1322. /* style by tag (i.e. tag-news) */
  1323. /* post meta */
  1324. .byline {
  1325. color: #9fa6b4;
  1326. font-style: italic;
  1327. margin: 0; }
  1328. /* entry content */
  1329. .entry-content {
  1330. padding: 1.5em 1.5em 0;
  1331. /*
  1332. image alignment on a screen this size may be
  1333. a bit difficult. It's set to start aligning
  1334. and floating images at the next breakpoint,
  1335. but it's up to you. Feel free to change it up.
  1336. */ }
  1337. .entry-content p {
  1338. margin: 0 0 1.5em; }
  1339. .entry-content table {
  1340. width: 100%;
  1341. border: 1px solid #eaedf2;
  1342. margin-bottom: 1.5em; }
  1343. .entry-content table caption {
  1344. margin: 0 0 7px;
  1345. font-size: 0.75em;
  1346. color: #9fa6b4;
  1347. text-transform: uppercase;
  1348. letter-spacing: 1px; }
  1349. .entry-content tr {
  1350. border-bottom: 1px solid #eaedf2; }
  1351. .entry-content tr:nth-child(even) {
  1352. background-color: #f8f9fa; }
  1353. .entry-content td {
  1354. padding: 7px;
  1355. border-right: 1px solid #eaedf2; }
  1356. .entry-content td:last-child {
  1357. border-right: 0; }
  1358. .entry-content th {
  1359. background-color: #f8f9fa;
  1360. border-bottom: 1px solid #eaedf2;
  1361. border-right: 1px solid #eaedf2; }
  1362. .entry-content th:last-child {
  1363. border-right: 0; }
  1364. .entry-content blockquote {
  1365. margin: 0 0 1.5em 0.75em;
  1366. padding: 0 0 0 0.75em;
  1367. border-left: 3px solid #2980b9;
  1368. font-style: italic;
  1369. color: #9fa6b4; }
  1370. .entry-content dd {
  1371. margin-left: 0;
  1372. font-size: 0.9em;
  1373. color: #787878;
  1374. margin-bottom: 1.5em; }
  1375. .entry-content img {
  1376. margin: 0 0 1.5em 0;
  1377. max-width: 100%;
  1378. height: auto; }
  1379. .entry-content .size-auto,
  1380. .entry-content .size-full,
  1381. .entry-content .size-large,
  1382. .entry-content .size-medium,
  1383. .entry-content .size-thumbnail {
  1384. max-width: 100%;
  1385. height: auto; }
  1386. .entry-content pre {
  1387. background: #323944;
  1388. color: #f8f9fa;
  1389. font-size: 0.9em;
  1390. padding: 1.5em;
  1391. margin: 0 0 1.5em;
  1392. border-radius: 3px; }
  1393. /* end .entry-content */
  1394. .wp-caption {
  1395. max-width: 100%;
  1396. background: #eee;
  1397. padding: 5px;
  1398. /* images inside wp-caption */ }
  1399. .wp-caption img {
  1400. max-width: 100%;
  1401. margin-bottom: 0;
  1402. width: 100%; }
  1403. .wp-caption p.wp-caption-text {
  1404. font-size: 0.85em;
  1405. margin: 4px 0 7px;
  1406. text-align: center; }
  1407. /* end .wp-caption */
  1408. /* image gallery styles */
  1409. /* end .gallery */
  1410. /* gallery caption styles */
  1411. .tags {
  1412. margin: 0; }
  1413. /******************************************************************
  1414. PAGE NAVI STYLES
  1415. ******************************************************************/
  1416. .pagination,
  1417. .wp-prev-next {
  1418. margin: 1.5em 0; }
  1419. .pagination {
  1420. text-align: center; }
  1421. .pagination ul {
  1422. display: inline-block;
  1423. background-color: white;
  1424. white-space: nowrap;
  1425. padding: 0;
  1426. clear: both;
  1427. border-radius: 3px; }
  1428. .pagination li {
  1429. padding: 0;
  1430. margin: 0;
  1431. float: left;
  1432. display: inline;
  1433. overflow: hidden;
  1434. border-right: 1px solid #eaedf2; }
  1435. .pagination a, .pagination span {
  1436. margin: 0;
  1437. text-decoration: none;
  1438. padding: 0;
  1439. line-height: 1em;
  1440. font-size: 1em;
  1441. font-weight: normal;
  1442. padding: 0.75em;
  1443. min-width: 1em;
  1444. display: block;
  1445. color: #2980b9; }
  1446. .pagination a:hover, .pagination a:focus, .pagination span:hover, .pagination span:focus {
  1447. background-color: #2980b9;
  1448. color: white; }
  1449. .pagination .current {
  1450. cursor: default;
  1451. color: #5c6b80; }
  1452. .pagination .current:hover, .pagination .current:focus {
  1453. background-color: white;
  1454. color: #5c6b80; }
  1455. /* end .bones_page_navi */
  1456. /* fallback previous & next links */
  1457. .wp-prev-next .prev-link {
  1458. float: left; }
  1459. .wp-prev-next .next-link {
  1460. float: right; }
  1461. /* end .wp-prev-next */
  1462. /******************************************************************
  1463. COMMENT STYLES
  1464. ******************************************************************/
  1465. /* h3 comment title */
  1466. #comments-title {
  1467. padding: 0.75em;
  1468. margin: 0;
  1469. border-top: 1px solid #f8f9fa;
  1470. /* number of comments span */ }
  1471. .commentlist {
  1472. margin: 0;
  1473. list-style-type: none; }
  1474. .comment {
  1475. position: relative;
  1476. clear: both;
  1477. overflow: hidden;
  1478. padding: 1.5em;
  1479. border-bottom: 1px solid #f8f9fa;
  1480. /* vcard */
  1481. /* end .commentlist .vcard */
  1482. /* end children */
  1483. /* general comment classes */ }
  1484. .comment .comment-author {
  1485. padding: 7px;
  1486. border: 0; }
  1487. .comment .vcard {
  1488. margin-left: 50px; }
  1489. .comment .vcard cite.fn {
  1490. font-weight: 700;
  1491. font-style: normal; }
  1492. .comment .vcard time {
  1493. display: block;
  1494. font-size: 0.9em;
  1495. font-style: italic; }
  1496. .comment .vcard time a {
  1497. color: #9fa6b4;
  1498. text-decoration: none; }
  1499. .comment .vcard time a:hover {
  1500. text-decoration: underline; }
  1501. .comment .vcard .avatar {
  1502. position: absolute;
  1503. left: 16px;
  1504. border-radius: 50%; }
  1505. .comment:last-child {
  1506. margin-bottom: 0; }
  1507. .comment .children {
  1508. margin: 0;
  1509. /* variations */
  1510. /* change number for different depth */ }
  1511. .comment[class*=depth-] {
  1512. margin-top: 1.1em; }
  1513. .comment.depth-1 {
  1514. margin-left: 0;
  1515. margin-top: 0; }
  1516. .comment:not(.depth-1) {
  1517. margin-top: 0;
  1518. margin-left: 7px;
  1519. padding: 7px; }
  1520. .comment.odd {
  1521. background-color: white; }
  1522. .comment.even {
  1523. background: #f8f9fa; }
  1524. /* comment meta */
  1525. /* comment content */
  1526. .comment_content p {
  1527. margin: 0.7335em 0 1.5em;
  1528. font-size: 1em;
  1529. line-height: 1.5em; }
  1530. /* end .commentlist .comment_content */
  1531. /* comment reply link */
  1532. .comment-reply-link {
  1533. font-size: 0.9em;
  1534. float: right; }
  1535. /* end .commentlist .comment-reply-link */
  1536. /* edit comment link */
  1537. .comment-edit-link {
  1538. font-style: italic;
  1539. margin: 0 7px;
  1540. text-decoration: none;
  1541. font-size: 0.9em; }
  1542. /******************************************************************
  1543. COMMENT FORM STYLES
  1544. ******************************************************************/
  1545. .comment-respond {
  1546. padding: 1.5em;
  1547. border-top: 1px solid #f8f9fa; }
  1548. #reply-title {
  1549. margin: 0; }
  1550. .logged-in-as {
  1551. color: #9fa6b4;
  1552. font-style: italic;
  1553. margin: 0; }
  1554. .logged-in-as a {
  1555. color: #5c6b80; }
  1556. .comment-form-comment {
  1557. margin: 1.5em 0 0.75em; }
  1558. .form-allowed-tags {
  1559. padding: 1.5em;
  1560. background-color: #f8f9fa;
  1561. font-size: 0.9em; }
  1562. /* comment submit button */
  1563. #submit {
  1564. float: right;
  1565. font-size: 1em; }
  1566. /* comment form title */
  1567. #comment-form-title {
  1568. margin: 0 0 1.1em; }
  1569. /* cancel comment reply link */
  1570. /* logged in comments */
  1571. /* allowed tags */
  1572. #allowed_tags {
  1573. margin: 1.5em 10px 0.7335em 0; }
  1574. /* no comments */
  1575. .nocomments {
  1576. margin: 0 20px 1.1em; }
  1577. /*********************
  1578. SIDEBARS & ASIDES
  1579. *********************/
  1580. .widget ul li {
  1581. /* deep nesting */ }
  1582. .no-widgets {
  1583. background-color: white;
  1584. padding: 1.5em;
  1585. text-align: center;
  1586. border: 1px solid #cccccc;
  1587. border-radius: 2px;
  1588. margin-bottom: 1.5em; }
  1589. /*********************
  1590. FOOTER STYLES
  1591. *********************/
  1592. .footer {
  1593. clear: both;
  1594. background-color: #323944;
  1595. color: #f8f9fa; }
  1596. /*
  1597. if you checked out the link above:
  1598. http://www.alistapart.com/articles/organizing-mobile/
  1599. you'll want to style the footer nav
  1600. a bit more in-depth. Remember to keep
  1601. it simple because you'll have to
  1602. override these styles for the desktop
  1603. view.
  1604. */
  1605. /* end .footer-links */
  1606. /*********************
  1607. LARGER MOBILE DEVICES
  1608. This is for devices like the Galaxy Note or something that's
  1609. larger than an iPhone but smaller than a tablet. Let's call them
  1610. tweeners.
  1611. *********************/
  1612. @media only screen and (min-width: 481px) {
  1613. /******************************************************************
  1614. Site Name:
  1615. Author:
  1616. Stylesheet: 481px and Up Stylesheet
  1617. This stylesheet is loaded for larger devices. It's set to
  1618. 481px because at 480px it would load on a landscaped iPhone.
  1619. This isn't ideal because then you would be loading all those
  1620. extra styles on that same mobile connection.
  1621. A word of warning. This size COULD be a larger mobile device,
  1622. so you still want to keep it pretty light and simply expand
  1623. upon your base.scss styles.
  1624. ******************************************************************/
  1625. /*
  1626. IMPORTANT NOTE ABOUT SASS 3.3 & UP
  1627. You can't use @extend within media queries
  1628. anymore, so just be aware that if you drop
  1629. them in here, they won't work.
  1630. */
  1631. /*********************
  1632. NAVIGATION STYLES
  1633. *********************/
  1634. /* .menu is clearfixed inside mixins.scss */
  1635. .menu {
  1636. /* end .menu ul */ }
  1637. .menu ul {
  1638. /* end .menu ul li */
  1639. /* highlight current page */
  1640. /* end current highlighters */ }
  1641. .menu ul li {
  1642. /*
  1643. plan your menus and drop-downs wisely.
  1644. */ }
  1645. .menu ul li a {
  1646. /*
  1647. you can use hover styles here even though this size
  1648. has the possibility of being a mobile device.
  1649. */ }
  1650. /* end .menu */
  1651. /*********************
  1652. POSTS & CONTENT STYLES
  1653. *********************/
  1654. /* entry content */
  1655. .entry-content {
  1656. /* at this larger size, we can start to align images */ }
  1657. .entry-content .alignleft, .entry-content img.alignleft {
  1658. margin-right: 1.5em;
  1659. display: inline;
  1660. float: left; }
  1661. .entry-content .alignright, .entry-content img.alignright {
  1662. margin-left: 1.5em;
  1663. display: inline;
  1664. float: right; }
  1665. .entry-content .aligncenter, .entry-content img.aligncenter {
  1666. margin-right: auto;
  1667. margin-left: auto;
  1668. display: block;
  1669. clear: both; }
  1670. /* end .entry-content */
  1671. /*********************
  1672. FOOTER STYLES
  1673. *********************/
  1674. /*
  1675. check your menus here. do they look good?
  1676. do they need tweaking?
  1677. */
  1678. /* end .footer-links */ }
  1679. /*********************
  1680. TABLET & SMALLER LAPTOPS
  1681. This is the average viewing window. So Desktops, Laptops, and
  1682. in general anyone not viewing on a mobile device. Here's where
  1683. you can add resource intensive styles.
  1684. *********************/
  1685. @media only screen and (min-width: 768px) {
  1686. /******************************************************************
  1687. Site Name:
  1688. Author:
  1689. Stylesheet: Tablet & Small Desktop Stylesheet
  1690. Here's where you can start getting into the good stuff.
  1691. This size will work on iPads, other tablets, and desktops.
  1692. So you can start working with more styles, background images,
  1693. and other resources. You'll also notice the grid starts to
  1694. come into play. Have fun!
  1695. ******************************************************************/
  1696. /*********************
  1697. GENERAL STYLES
  1698. *********************/
  1699. /*********************
  1700. LAYOUT & GRID STYLES
  1701. *********************/
  1702. .wrap {
  1703. width: 760px; }
  1704. /*********************
  1705. HEADER STYLES
  1706. *********************/
  1707. /*********************
  1708. NAVIGATION STYLES
  1709. *********************/
  1710. .nav {
  1711. border: 0;
  1712. /* end .menu ul li */
  1713. /* highlight current page */
  1714. /* end current highlighters */ }
  1715. .nav li {
  1716. float: left;
  1717. position: relative;
  1718. /*
  1719. plan your menus and drop-downs wisely.
  1720. */
  1721. /* showing sub-menus */ }
  1722. .nav li a {
  1723. border-bottom: 0;
  1724. /*
  1725. you can use hover styles here even though this size
  1726. has the possibility of being a mobile device.
  1727. */ }
  1728. .nav li a:hover, .nav li a:focus {
  1729. color: white;
  1730. text-decoration: underline; }
  1731. .nav li ul.sub-menu,
  1732. .nav li ul.children {
  1733. margin-top: 0;
  1734. border: 1px solid #ccc;
  1735. border-top: 0;
  1736. position: absolute;
  1737. display: none;
  1738. z-index: 8999;
  1739. /* highlight sub-menu current page */ }
  1740. .nav li ul.sub-menu li,
  1741. .nav li ul.children li {
  1742. /*
  1743. if you need to go deeper, go nuts
  1744. just remember deeper menus suck
  1745. for usability. k, bai.
  1746. */ }
  1747. .nav li ul.sub-menu li a,
  1748. .nav li ul.children li a {
  1749. padding-left: 10px;
  1750. border-right: 0;
  1751. display: block;
  1752. width: 180px;
  1753. border-bottom: 1px solid #ccc; }
  1754. .nav li ul.sub-menu li:last-child a,
  1755. .nav li ul.children li:last-child a {
  1756. border-bottom: 0; }
  1757. .nav li:hover ul {
  1758. top: auto;
  1759. display: block; }
  1760. /* end .nav */
  1761. /*********************
  1762. SIDEBARS & ASIDES
  1763. *********************/
  1764. .sidebar {
  1765. margin-top: 2.2em; }
  1766. .widgettitle {
  1767. border-bottom: 2px solid #444;
  1768. margin-bottom: 0.75em; }
  1769. .widget {
  1770. padding: 0 10px;
  1771. margin: 2.2em 0; }
  1772. .widget ul li {
  1773. margin-bottom: 0.75em;
  1774. /* deep nesting */ }
  1775. .widget ul li ul {
  1776. margin-top: 0.75em;
  1777. padding-left: 1em; }
  1778. /* links widget */
  1779. /* meta widget */
  1780. /* pages widget */
  1781. /* recent-posts widget */
  1782. /* archives widget */
  1783. /* tag-cloud widget */
  1784. /* calendar widget */
  1785. /* category widget */
  1786. /* recent-comments widget */
  1787. /* search widget */
  1788. /* text widget */
  1789. /*********************
  1790. FOOTER STYLES
  1791. *********************/
  1792. /*
  1793. you'll probably need to do quite a bit
  1794. of overriding here if you styled them for
  1795. mobile. Make sure to double check these!
  1796. */
  1797. .footer-links ul li {
  1798. /*
  1799. be careful with the depth of your menus.
  1800. it's very rare to have multi-depth menus in
  1801. the footer.
  1802. */ }
  1803. /* end .footer-links */ }
  1804. /*********************
  1805. DESKTOP
  1806. This is the average viewing window. So Desktops, Laptops, and
  1807. in general anyone not viewing on a mobile device. Here's where
  1808. you can add resource intensive styles.
  1809. *********************/
  1810. @media only screen and (min-width: 1030px) {
  1811. /******************************************************************
  1812. Site Name:
  1813. Author:
  1814. Stylesheet: Desktop Stylsheet
  1815. This is the desktop size. It's larger than an iPad so it will only
  1816. be seen on the Desktop.
  1817. ******************************************************************/
  1818. .wrap {
  1819. width: 1040px; } }
  1820. /*********************
  1821. LARGE VIEWING SIZE
  1822. This is for the larger monitors and possibly full screen viewers.
  1823. *********************/
  1824. @media only screen and (min-width: 1240px) {
  1825. /******************************************************************
  1826. Site Name:
  1827. Author:
  1828. Stylesheet: Super Large Monitor Stylesheet
  1829. You can add some advanced styles here if you like. This kicks in
  1830. on larger screens.
  1831. ******************************************************************/ }
  1832. /*********************
  1833. RETINA (2x RESOLUTION DEVICES)
  1834. This applies to the retina iPhone (4s) and iPad (2,3) along with
  1835. other displays with a 2x resolution. You can also create a media
  1836. query for retina AND a certain size if you want. Go Nuts.
  1837. *********************/
  1838. @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) {
  1839. /******************************************************************
  1840. Site Name:
  1841. Author:
  1842. Stylesheet: Retina Screens & Devices Stylesheet
  1843. When handling retina screens you need to make adjustments, especially
  1844. if you're not using font icons. Here you can add them in one neat
  1845. place.
  1846. ******************************************************************/
  1847. /*
  1848. EXAMPLE
  1849. Let's say you have an image and you need to make sure it looks ok
  1850. on retina screens. Let's say we have an icon which dimension are
  1851. 24px x 24px. In your regular stylesheets, it would look something
  1852. like this:
  1853. .icon {
  1854. width: 24px;
  1855. height: 24px;
  1856. background: url(img/test.png) no-repeat;
  1857. }
  1858. For retina screens, we have to make some adjustments, so that image
  1859. doesn't look blurry. So, taking into account the image above and the
  1860. dimensions, this is what we would put in our retina stylesheet:
  1861. .icon {
  1862. background: url(img/test@2x.png) no-repeat;
  1863. background-size: 24px 24px;
  1864. }
  1865. So, you would create the same icon, but at double the resolution, meaning
  1866. it would be 48px x 48px. You'd name it the same, but with a @2x at the end
  1867. (this is pretty standard practice). Set the background image so it matches
  1868. the original dimensions and you are good to go.
  1869. */ }
  1870. /*********************
  1871. PRINT STYLESHEET
  1872. Feel free to customize this. Remember to add things that won't make
  1873. sense to print at the bottom. Things like nav, ads, and forms should
  1874. be set to display none.
  1875. *********************/
  1876. @media print {
  1877. /******************************************************************
  1878. Site Name:
  1879. Author:
  1880. Stylesheet: Print Stylesheet
  1881. This is the print stylesheet. There's probably not a lot
  1882. of reasons to edit this stylesheet. If you want to
  1883. though, go for it.
  1884. ******************************************************************/
  1885. * {
  1886. background: transparent !important;
  1887. color: black !important;
  1888. text-shadow: none !important;
  1889. filter: none !important;
  1890. -ms-filter: none !important; }
  1891. a, a:visited {
  1892. color: #444 !important;
  1893. text-decoration: underline; }
  1894. a:after, a:visited:after {
  1895. content: " (" attr(href) ")"; }
  1896. a abbr[title]:after, a:visited abbr[title]:after {
  1897. content: " (" attr(title) ")"; }
  1898. .ir a:after,
  1899. a[href^="javascript:"]:after,
  1900. a[href^="#"]:after {
  1901. content: ""; }
  1902. pre, blockquote {
  1903. border: 1px solid #999;
  1904. page-break-inside: avoid; }
  1905. thead {
  1906. display: table-header-group; }
  1907. tr, img {
  1908. page-break-inside: avoid; }
  1909. img {
  1910. max-width: 100% !important; }
  1911. @page {
  1912. margin: 0.5cm; }
  1913. p, h2, h3 {
  1914. orphans: 3;
  1915. widows: 3; }
  1916. h2,
  1917. h3 {
  1918. page-break-after: avoid; }
  1919. .sidebar,
  1920. .page-navigation,
  1921. .wp-prev-next,
  1922. .respond-form,
  1923. nav {
  1924. display: none; } }