virgo 0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (309) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/Rakefile +37 -0
  4. data/app/assets/javascripts/tinymce/manifest.coffee +1 -0
  5. data/app/assets/javascripts/tinymce/plugins/image_manager/plugin.coffee +234 -0
  6. data/app/assets/javascripts/virgo/admin/page_modules/edit_form.coffee +4 -0
  7. data/app/assets/javascripts/virgo/admin/page_modules/edit_subject_form.coffee +29 -0
  8. data/app/assets/javascripts/virgo/admin/posts/edit_locking.coffee +35 -0
  9. data/app/assets/javascripts/virgo/admin/posts/form.coffee +183 -0
  10. data/app/assets/javascripts/virgo/admin/slides/form.coffee +27 -0
  11. data/app/assets/javascripts/virgo/admin/slideshows/form.coffee +26 -0
  12. data/app/assets/javascripts/virgo/admin_only.coffee +1 -0
  13. data/app/assets/javascripts/virgo/application.coffee +51 -0
  14. data/app/assets/javascripts/virgo/common.coffee +83 -0
  15. data/app/assets/javascripts/virgo/common/character_counter.coffee +27 -0
  16. data/app/assets/javascripts/virgo/components/header.coffee +47 -0
  17. data/app/assets/javascripts/virgo/components/media_modal.coffee +151 -0
  18. data/app/assets/javascripts/virgo/components/share_bar.coffee +53 -0
  19. data/app/assets/javascripts/virgo/components/slideshow.coffee +35 -0
  20. data/app/assets/javascripts/virgo/lib/jquery-ui-multiselect.js +342 -0
  21. data/app/assets/javascripts/virgo/lib/jquery.browser.js +184 -0
  22. data/app/assets/javascripts/virgo/lib/jquery.cookie.js +114 -0
  23. data/app/assets/javascripts/virgo/lib/jquery.pjax.js +932 -0
  24. data/app/assets/javascripts/virgo/lib/jquery_ext.coffee +0 -0
  25. data/app/assets/javascripts/virgo/lib/manifest.coffee +5 -0
  26. data/app/assets/javascripts/virgo/lib/ouibounce.js +194 -0
  27. data/app/assets/javascripts/virgo/page_modules.coffee +175 -0
  28. data/app/assets/javascripts/virgo/posts/show.coffee +32 -0
  29. data/app/assets/stylesheets/tinymce/skin.sass +2 -0
  30. data/app/assets/stylesheets/tinymce/skins/railspress/content.min.sass +82 -0
  31. data/app/assets/stylesheets/tinymce/skins/railspress/fonts/tinymce-small.eot +0 -0
  32. data/app/assets/stylesheets/tinymce/skins/railspress/fonts/tinymce-small.svg +62 -0
  33. data/app/assets/stylesheets/tinymce/skins/railspress/fonts/tinymce-small.ttf +0 -0
  34. data/app/assets/stylesheets/tinymce/skins/railspress/fonts/tinymce-small.woff +0 -0
  35. data/app/assets/stylesheets/tinymce/skins/railspress/fonts/tinymce.eot +0 -0
  36. data/app/assets/stylesheets/tinymce/skins/railspress/fonts/tinymce.svg +63 -0
  37. data/app/assets/stylesheets/tinymce/skins/railspress/fonts/tinymce.ttf +0 -0
  38. data/app/assets/stylesheets/tinymce/skins/railspress/fonts/tinymce.woff +0 -0
  39. data/app/assets/stylesheets/tinymce/skins/railspress/img/anchor.gif +0 -0
  40. data/app/assets/stylesheets/tinymce/skins/railspress/img/loader.gif +0 -0
  41. data/app/assets/stylesheets/tinymce/skins/railspress/img/object.gif +0 -0
  42. data/app/assets/stylesheets/tinymce/skins/railspress/img/trans.gif +0 -0
  43. data/app/assets/stylesheets/tinymce/skins/railspress/skin.min.sass +1703 -0
  44. data/app/assets/stylesheets/virgo/_common.sass +65 -0
  45. data/app/assets/stylesheets/virgo/admin.sass +301 -0
  46. data/app/assets/stylesheets/virgo/admin/columns.sass +3 -0
  47. data/app/assets/stylesheets/virgo/admin/images.sass +14 -0
  48. data/app/assets/stylesheets/virgo/admin/media_modal.sass +72 -0
  49. data/app/assets/stylesheets/virgo/admin/post.sass +102 -0
  50. data/app/assets/stylesheets/virgo/admin/slideshow.sass +35 -0
  51. data/app/assets/stylesheets/virgo/admin/users.sass +2 -0
  52. data/app/assets/stylesheets/virgo/admin_only.sass +1 -0
  53. data/app/assets/stylesheets/virgo/application.sass +605 -0
  54. data/app/assets/stylesheets/virgo/columns.sass +51 -0
  55. data/app/assets/stylesheets/virgo/install.sass +15 -0
  56. data/app/assets/stylesheets/virgo/lib/bootstrap/bootstrap-imports.sass +9 -0
  57. data/app/assets/stylesheets/virgo/lib/bootstrap/bootstrap-overrides.sass +51 -0
  58. data/app/assets/stylesheets/virgo/lib/bootstrap/bootstrap-variables.sass +27 -0
  59. data/app/assets/stylesheets/virgo/lib/jquery-ui-multiselect.css +30 -0
  60. data/app/assets/stylesheets/virgo/lib/manifest.sass +3 -0
  61. data/app/assets/stylesheets/virgo/lib/ouibounce.css +222 -0
  62. data/app/assets/stylesheets/virgo/lib/select2-imports.sass +8 -0
  63. data/app/assets/stylesheets/virgo/page_modules.sass +54 -0
  64. data/app/assets/stylesheets/virgo/pages/authors.sass +30 -0
  65. data/app/assets/stylesheets/virgo/posts.sass +782 -0
  66. data/app/assets/stylesheets/virgo/search.sass +36 -0
  67. data/app/assets/stylesheets/virgo/ui.sass +434 -0
  68. data/app/assets/stylesheets/virgo/users.sass +9 -0
  69. data/app/controllers/virgo/admin/base_controller.rb +22 -0
  70. data/app/controllers/virgo/admin/categories_controller.rb +90 -0
  71. data/app/controllers/virgo/admin/columns_controller.rb +65 -0
  72. data/app/controllers/virgo/admin/images_controller.rb +89 -0
  73. data/app/controllers/virgo/admin/media_modal_controller.rb +101 -0
  74. data/app/controllers/virgo/admin/newsletters_controller.rb +37 -0
  75. data/app/controllers/virgo/admin/page_modules_controller.rb +62 -0
  76. data/app/controllers/virgo/admin/pages_controller.rb +6 -0
  77. data/app/controllers/virgo/admin/posts_controller.rb +173 -0
  78. data/app/controllers/virgo/admin/sites_controller.rb +31 -0
  79. data/app/controllers/virgo/admin/slides_controller.rb +71 -0
  80. data/app/controllers/virgo/admin/slideshows_controller.rb +66 -0
  81. data/app/controllers/virgo/admin/tags_controller.rb +98 -0
  82. data/app/controllers/virgo/admin/users/sessions_controller.rb +21 -0
  83. data/app/controllers/virgo/admin/users_controller.rb +84 -0
  84. data/app/controllers/virgo/application_controller.rb +151 -0
  85. data/app/controllers/virgo/categories_controller.rb +20 -0
  86. data/app/controllers/virgo/columns_controller.rb +24 -0
  87. data/app/controllers/virgo/images_controller.rb +9 -0
  88. data/app/controllers/virgo/install_controller.rb +46 -0
  89. data/app/controllers/virgo/page_modules_controller.rb +23 -0
  90. data/app/controllers/virgo/pages_controller.rb +29 -0
  91. data/app/controllers/virgo/posts_controller.rb +101 -0
  92. data/app/controllers/virgo/search_controller.rb +35 -0
  93. data/app/controllers/virgo/subscribers_controller.rb +54 -0
  94. data/app/controllers/virgo/tags_controller.rb +15 -0
  95. data/app/controllers/virgo/users/confirmations_controller.rb +18 -0
  96. data/app/controllers/virgo/users/passwords_controller.rb +31 -0
  97. data/app/controllers/virgo/users/registrations_controller.rb +41 -0
  98. data/app/controllers/virgo/users/sessions_controller.rb +32 -0
  99. data/app/controllers/virgo/users_controller.rb +15 -0
  100. data/app/helpers/virgo/admin/post_helper.rb +54 -0
  101. data/app/helpers/virgo/admin_helper.rb +15 -0
  102. data/app/helpers/virgo/application_helper.rb +124 -0
  103. data/app/helpers/virgo/hooks_helper.rb +30 -0
  104. data/app/helpers/virgo/page_modules_helper.rb +4 -0
  105. data/app/helpers/virgo/post_helper.rb +159 -0
  106. data/app/helpers/virgo/render_helper.rb +33 -0
  107. data/app/helpers/virgo/search_helper.rb +49 -0
  108. data/app/helpers/virgo/shortcode_helper.rb +7 -0
  109. data/app/helpers/virgo/text_helper.rb +12 -0
  110. data/app/helpers/virgo/video_helper.rb +34 -0
  111. data/app/models/concerns/virgo/common/slug_history.rb +36 -0
  112. data/app/models/concerns/virgo/common/uuid.rb +22 -0
  113. data/app/models/concerns/virgo/post/recommendations.rb +15 -0
  114. data/app/models/concerns/virgo/post/search.rb +100 -0
  115. data/app/models/concerns/virgo/user/search.rb +39 -0
  116. data/app/models/virgo/ability.rb +59 -0
  117. data/app/models/virgo/category.rb +44 -0
  118. data/app/models/virgo/column.rb +25 -0
  119. data/app/models/virgo/form_model.rb +19 -0
  120. data/app/models/virgo/image.rb +63 -0
  121. data/app/models/virgo/page_module.rb +42 -0
  122. data/app/models/virgo/page_module_post.rb +8 -0
  123. data/app/models/virgo/post.rb +391 -0
  124. data/app/models/virgo/post_category.rb +8 -0
  125. data/app/models/virgo/post_search.rb +7 -0
  126. data/app/models/virgo/post_tag.rb +10 -0
  127. data/app/models/virgo/site.rb +36 -0
  128. data/app/models/virgo/slide.rb +23 -0
  129. data/app/models/virgo/slideshow.rb +37 -0
  130. data/app/models/virgo/slug_history.rb +5 -0
  131. data/app/models/virgo/subscriber.rb +5 -0
  132. data/app/models/virgo/tag.rb +34 -0
  133. data/app/models/virgo/user.rb +145 -0
  134. data/app/uploaders/virgo/application_uploader.rb +11 -0
  135. data/app/uploaders/virgo/avatar_uploader.rb +21 -0
  136. data/app/uploaders/virgo/featured_image_uploader.rb +28 -0
  137. data/app/uploaders/virgo/image_uploader.rb +40 -0
  138. data/app/uploaders/virgo/slide_uploader.rb +19 -0
  139. data/app/views/layouts/virgo/admin.haml +16 -0
  140. data/app/views/layouts/virgo/admin/site_settings.haml +14 -0
  141. data/app/views/layouts/virgo/application.haml +63 -0
  142. data/app/views/layouts/virgo/errors.haml +42 -0
  143. data/app/views/layouts/virgo/main.haml +5 -0
  144. data/app/views/layouts/virgo/posts.haml +10 -0
  145. data/app/views/virgo/admin/categories/_form.haml +19 -0
  146. data/app/views/virgo/admin/categories/edit.haml +7 -0
  147. data/app/views/virgo/admin/categories/index.haml +38 -0
  148. data/app/views/virgo/admin/categories/modal_form.haml +11 -0
  149. data/app/views/virgo/admin/categories/new.haml +7 -0
  150. data/app/views/virgo/admin/categories/success_modal.haml +14 -0
  151. data/app/views/virgo/admin/columns/_form.haml +30 -0
  152. data/app/views/virgo/admin/columns/edit.haml +1 -0
  153. data/app/views/virgo/admin/columns/index.haml +30 -0
  154. data/app/views/virgo/admin/columns/new.haml +1 -0
  155. data/app/views/virgo/admin/images/_form.haml +46 -0
  156. data/app/views/virgo/admin/images/edit.haml +1 -0
  157. data/app/views/virgo/admin/images/index.haml +32 -0
  158. data/app/views/virgo/admin/images/new.haml +1 -0
  159. data/app/views/virgo/admin/media_modal/_image_settings.haml +17 -0
  160. data/app/views/virgo/admin/media_modal/_library_panel.haml +26 -0
  161. data/app/views/virgo/admin/media_modal/_upload_panel.haml +21 -0
  162. data/app/views/virgo/admin/media_modal/_upload_success.haml +7 -0
  163. data/app/views/virgo/admin/media_modal/index.haml +19 -0
  164. data/app/views/virgo/admin/newsletters/changelog.haml +25 -0
  165. data/app/views/virgo/admin/newsletters/edit.haml +6 -0
  166. data/app/views/virgo/admin/page_modules/edit.haml +33 -0
  167. data/app/views/virgo/admin/page_modules/edit_subject.haml +43 -0
  168. data/app/views/virgo/admin/pages/help.haml +114 -0
  169. data/app/views/virgo/admin/posts/_author_dropdown.haml +1 -0
  170. data/app/views/virgo/admin/posts/_categories_form.haml +7 -0
  171. data/app/views/virgo/admin/posts/_category.haml +22 -0
  172. data/app/views/virgo/admin/posts/_form.haml +201 -0
  173. data/app/views/virgo/admin/posts/_revisions.haml +40 -0
  174. data/app/views/virgo/admin/posts/edit.haml +9 -0
  175. data/app/views/virgo/admin/posts/index.haml +59 -0
  176. data/app/views/virgo/admin/posts/new.haml +1 -0
  177. data/app/views/virgo/admin/posts/revision_detail.haml +28 -0
  178. data/app/views/virgo/admin/posts/revisions.haml +3 -0
  179. data/app/views/virgo/admin/sites/edit.haml +12 -0
  180. data/app/views/virgo/admin/slides/_form.haml +41 -0
  181. data/app/views/virgo/admin/slides/edit.haml +1 -0
  182. data/app/views/virgo/admin/slides/new.haml +1 -0
  183. data/app/views/virgo/admin/slideshows/_form.haml +49 -0
  184. data/app/views/virgo/admin/slideshows/edit.haml +1 -0
  185. data/app/views/virgo/admin/slideshows/index.haml +43 -0
  186. data/app/views/virgo/admin/slideshows/new.haml +1 -0
  187. data/app/views/virgo/admin/tags/_form.haml +16 -0
  188. data/app/views/virgo/admin/tags/edit.haml +7 -0
  189. data/app/views/virgo/admin/tags/index.haml +33 -0
  190. data/app/views/virgo/admin/tags/modal_form.haml +12 -0
  191. data/app/views/virgo/admin/tags/new.haml +7 -0
  192. data/app/views/virgo/admin/tags/success_modal.haml +14 -0
  193. data/app/views/virgo/admin/users/_form.haml +62 -0
  194. data/app/views/virgo/admin/users/edit.haml +1 -0
  195. data/app/views/virgo/admin/users/index.haml +34 -0
  196. data/app/views/virgo/admin/users/new.haml +1 -0
  197. data/app/views/virgo/application/sitemap.xml.builder +0 -0
  198. data/app/views/virgo/authors/_profile_long.haml +13 -0
  199. data/app/views/virgo/authors/_profile_short.haml +10 -0
  200. data/app/views/virgo/categories/show.haml +24 -0
  201. data/app/views/virgo/columns/index.haml +19 -0
  202. data/app/views/virgo/columns/show.haml +18 -0
  203. data/app/views/virgo/common/_admin_navbar.haml +100 -0
  204. data/app/views/virgo/common/_alerts.haml +40 -0
  205. data/app/views/virgo/common/_analytics.html.erb +1 -0
  206. data/app/views/virgo/common/_base_errors.haml +8 -0
  207. data/app/views/virgo/common/_category_heading.haml +26 -0
  208. data/app/views/virgo/common/_disqus.html.erb +24 -0
  209. data/app/views/virgo/common/_disqus_comment_count.html.erb +12 -0
  210. data/app/views/virgo/common/_fb_api.html.erb +30 -0
  211. data/app/views/virgo/common/_fonts.html.erb +1 -0
  212. data/app/views/virgo/common/_footer.haml +13 -0
  213. data/app/views/virgo/common/_footer_javascript.html.erb +0 -0
  214. data/app/views/virgo/common/_header_analytics.html.erb +9 -0
  215. data/app/views/virgo/common/_list_signup.haml +20 -0
  216. data/app/views/virgo/common/_ouibounce_modal.haml +26 -0
  217. data/app/views/virgo/common/_public_nav.haml +58 -0
  218. data/app/views/virgo/common/_search_form.haml +8 -0
  219. data/app/views/virgo/common/_share_bar.haml +45 -0
  220. data/app/views/virgo/common/_user_vars.haml +2 -0
  221. data/app/views/virgo/errors/404.haml +10 -0
  222. data/app/views/virgo/errors/500.haml +10 -0
  223. data/app/views/virgo/images/_shortcode.haml +4 -0
  224. data/app/views/virgo/install/index.haml +58 -0
  225. data/app/views/virgo/install/success.haml +12 -0
  226. data/app/views/virgo/page_modules/_latest_posts.haml +29 -0
  227. data/app/views/virgo/page_modules/_popular_posts.haml +51 -0
  228. data/app/views/virgo/pages/authors.haml +8 -0
  229. data/app/views/virgo/pages/home.haml +0 -0
  230. data/app/views/virgo/pages/show.haml +6 -0
  231. data/app/views/virgo/posts/_author_info.haml +16 -0
  232. data/app/views/virgo/posts/_post_full.haml +63 -0
  233. data/app/views/virgo/posts/_post_short.haml +30 -0
  234. data/app/views/virgo/posts/_post_thumb_box.haml +13 -0
  235. data/app/views/virgo/posts/_recommendations.haml +12 -0
  236. data/app/views/virgo/posts/_sidebar_thumb.haml +4 -0
  237. data/app/views/virgo/posts/index.haml +22 -0
  238. data/app/views/virgo/posts/latest.haml +16 -0
  239. data/app/views/virgo/posts/more.haml +10 -0
  240. data/app/views/virgo/posts/rss.xml.builder +17 -0
  241. data/app/views/virgo/posts/show.haml +17 -0
  242. data/app/views/virgo/search/_form.haml +5 -0
  243. data/app/views/virgo/search/_item.haml +22 -0
  244. data/app/views/virgo/search/index.haml +11 -0
  245. data/app/views/virgo/search/new.haml +4 -0
  246. data/app/views/virgo/shortcode_templates/blockquote.haml +9 -0
  247. data/app/views/virgo/shortcode_templates/h1.haml +1 -0
  248. data/app/views/virgo/shortcode_templates/h2.haml +1 -0
  249. data/app/views/virgo/shortcode_templates/h3.haml +1 -0
  250. data/app/views/virgo/shortcode_templates/h4.haml +1 -0
  251. data/app/views/virgo/shortcode_templates/image.haml +17 -0
  252. data/app/views/virgo/shortcode_templates/pullquote.haml +3 -0
  253. data/app/views/virgo/shortcode_templates/slideshow.haml +35 -0
  254. data/app/views/virgo/shortcode_templates/tweet.haml +3 -0
  255. data/app/views/virgo/shortcode_templates/video.haml +8 -0
  256. data/app/views/virgo/subscribers/_success_modal.haml +13 -0
  257. data/app/views/virgo/subscribers/modal.haml +15 -0
  258. data/app/views/virgo/tags/show.haml +16 -0
  259. data/app/views/virgo/users/confirmations/new.html.haml +10 -0
  260. data/app/views/virgo/users/devise_mailer/confirmation_instructions.html.erb +7 -0
  261. data/app/views/virgo/users/devise_mailer/reset_password_instructions.html.haml +6 -0
  262. data/app/views/virgo/users/devise_mailer/unlock_instructions.html.haml +5 -0
  263. data/app/views/virgo/users/passwords/edit.html.haml +14 -0
  264. data/app/views/virgo/users/passwords/new.html.haml +14 -0
  265. data/app/views/virgo/users/registrations/edit.html.haml +30 -0
  266. data/app/views/virgo/users/registrations/new.html.haml +13 -0
  267. data/app/views/virgo/users/sessions/new.html.haml +12 -0
  268. data/app/views/virgo/users/shared/_links.haml +26 -0
  269. data/app/views/virgo/users/show.haml +11 -0
  270. data/app/views/virgo/users/unlocks/new.html.haml +9 -0
  271. data/config/initializers/action_mailer.rb +7 -0
  272. data/config/initializers/active_record.rb +72 -0
  273. data/config/initializers/active_record_symbolize.rb +18 -0
  274. data/config/initializers/assets.rb +17 -0
  275. data/config/initializers/backtrace_silencers.rb +7 -0
  276. data/config/initializers/carrierwave.rb +36 -0
  277. data/config/initializers/cookies_serializer.rb +3 -0
  278. data/config/initializers/devise.rb +257 -0
  279. data/config/initializers/filter_parameter_logging.rb +4 -0
  280. data/config/initializers/hash.rb +5 -0
  281. data/config/initializers/inflections.rb +16 -0
  282. data/config/initializers/mime_types.rb +4 -0
  283. data/config/initializers/nil_class.rb +13 -0
  284. data/config/initializers/non_digest_assets.rb +3 -0
  285. data/config/initializers/paper_trail.rb +30 -0
  286. data/config/initializers/schema_plus.rb +5 -0
  287. data/config/initializers/session_store.rb +3 -0
  288. data/config/initializers/shortcode.rb +12 -0
  289. data/config/initializers/simple_form.rb +170 -0
  290. data/config/initializers/simple_form_bootstrap.rb +136 -0
  291. data/config/initializers/string.rb +5 -0
  292. data/config/initializers/time_formatting.rb +23 -0
  293. data/config/initializers/wrap_parameters.rb +14 -0
  294. data/config/locales/devise.en.yml +60 -0
  295. data/config/routes.rb +96 -0
  296. data/config/schedule.rb +3 -0
  297. data/db/migrate/20150729174510_create_virgo_schema.rb +225 -0
  298. data/lib/generators/virgo/install/install_generator.rb +16 -0
  299. data/lib/generators/virgo/views/views_generator.rb +22 -0
  300. data/lib/tasks/virgo_tasks.rake +7 -0
  301. data/lib/virgo.rb +4 -0
  302. data/lib/virgo/development_mail_interceptor.rb +6 -0
  303. data/lib/virgo/email_validator.rb +6 -0
  304. data/lib/virgo/engine.rb +73 -0
  305. data/lib/virgo/reduce_validator.rb +6 -0
  306. data/lib/virgo/upload_helpers.rb +89 -0
  307. data/lib/virgo/version.rb +3 -0
  308. data/lib/virgo/view_help.rb +3 -0
  309. metadata +1051 -0
@@ -0,0 +1,30 @@
1
+ .authors-page, .author-detail
2
+ h1
3
+ font-size: 42px
4
+ margin-bottom: 78px
5
+
6
+ .authors-list
7
+ margin-top: 52px
8
+
9
+ .author-profile-short, .author-profile-long
10
+ margin-bottom: 100px
11
+ font-size: 22px
12
+ line-height: 182%
13
+
14
+ &.no-img
15
+ .media-left
16
+ display: none
17
+
18
+ .media-left
19
+ padding-top: 10px
20
+ padding-right: 24px
21
+
22
+ .media-text
23
+ a
24
+ font-weight: 600
25
+
26
+ h4.media-heading
27
+ font-size: 30px
28
+
29
+ .author-detail
30
+ margin-top: 94px
@@ -0,0 +1,782 @@
1
+ @import common
2
+ @import bootstrap/variables
3
+
4
+ body.posts.index .alert
5
+ margin-bottom: 0
6
+
7
+ body.posts.index.admin .alert
8
+ margin-bottom: 20px
9
+
10
+ .post-content-inner
11
+ max-width: 1170px
12
+ margin: 0 auto
13
+
14
+ @media (min-width: $screen-md)
15
+ .post-content
16
+ padding-right: 32px
17
+
18
+ body.posts.show
19
+ .list-signup
20
+ margin-left: 100px
21
+ margin-right: 100px
22
+ @media (max-width: $screen-lg)
23
+ .list-signup
24
+ margin-left: 80px
25
+ margin-right: 80px
26
+ @media (max-width: $screen-md)
27
+ .list-signup
28
+ margin-left: 60px
29
+ margin-right: 60px
30
+ @media (max-width: $screen-sm)
31
+ .list-signup
32
+ margin-left: 40px
33
+ margin-right: 40px
34
+ @media (max-width: $screen-xs)
35
+ .list-signup
36
+ margin-left: 20px
37
+ margin-right: 20px
38
+
39
+ .page-container
40
+ padding-top: 60px
41
+
42
+ .headline
43
+ font-weight: 900
44
+ font-size: 20px
45
+ color: $body_text_color
46
+ line-height: 108%
47
+ margin-bottom: 12px
48
+
49
+ body.categories.show
50
+ background: $home_bg
51
+
52
+ .list-signup
53
+ margin-top: 0
54
+
55
+ .feature-heading .feature-post-box .post-headline
56
+ font-size: 62px
57
+
58
+ .category-posts.resources-page
59
+ padding-left: 35px
60
+ padding-top: 4px
61
+
62
+ .category-posts-inner
63
+ max-width: 1300px !important
64
+
65
+ .content-col
66
+ padding-bottom: 100px
67
+
68
+ .category-header-wrap
69
+ text-align: left
70
+
71
+ .category-header
72
+ max-width: 100%
73
+ padding-left: 0
74
+ padding-right: 0
75
+ margin: 4px auto 34px auto
76
+
77
+ .post-short
78
+ padding-bottom: 14px
79
+ margin-bottom: 0
80
+
81
+ .resource-posts
82
+ padding: 0 0 0 20px
83
+ margin-bottom: 55px
84
+ font-size: 20px
85
+ line-height: 2em
86
+
87
+ .category-posts
88
+ background: $home_bg
89
+
90
+ .category-header
91
+ display: inline-block
92
+ text-align: center
93
+ padding: 14px 40px 0
94
+ margin: 4px auto 50px auto
95
+ border-bottom: 6px solid #000
96
+ text-transform: uppercase
97
+
98
+ .category-header-wrap
99
+ text-align: center
100
+
101
+ .category-posts, .column-posts, .tag-posts
102
+ padding-top: 16px
103
+
104
+ .column-posts
105
+ min-height: 600px
106
+
107
+ @media (min-width: $screen-md)
108
+ .post-content-col
109
+ margin-top: 20px
110
+
111
+ .post, .post-full-wrap
112
+ +book_font
113
+ color: #000
114
+ margin-bottom: 28px
115
+ padding-bottom: 84px
116
+
117
+ // this is solely here to feed to the outbrain crawler, hide it from the user
118
+ #feature-thumb
119
+ display: none
120
+
121
+ &.post-full
122
+ border-bottom: none
123
+ padding: 27px 19px 0 26px
124
+
125
+ @media (max-width: $screen-sm-max)
126
+ padding-top: 53px
127
+
128
+ @media (min-width: $screen-lg)
129
+ padding-top: 7px
130
+
131
+ @media (max-width: $screen-xs-max)
132
+ padding: 0
133
+
134
+ .post-tag, .category-label
135
+ background: $post_bg
136
+ border: none
137
+ +heavy_font
138
+ font-size: 18px
139
+ padding: 9px 17px
140
+ margin-left: -10px
141
+ color: #000
142
+
143
+ .post-subhead
144
+ padding: 21px 0 38px 0
145
+ font-size: 24px
146
+ line-height: 1.5em
147
+ font-weight: 600
148
+
149
+ .author-info-wrap
150
+ @media (max-width: $screen-xs-max)
151
+ margin-top: 62px
152
+ @media (max-width: $screen-sm)
153
+ margin-top: 82px
154
+ margin-bottom: 15px
155
+
156
+ .author-info
157
+ font-size: 18px
158
+ display: inline-block
159
+ margin: 17px 10px 4px 0
160
+
161
+ .c-bull
162
+ &:before
163
+ content: "•" !important
164
+
165
+ a
166
+ color: $gray_text_color
167
+
168
+ .inner
169
+ padding: 0.067em 0
170
+ background: $post_bg
171
+ box-shadow: 10px 0 0 $post_bg, -10px 0 0 $post_bg
172
+
173
+ .share-links-wrap
174
+
175
+ .post-body
176
+ margin-top: 28px
177
+
178
+
179
+ &.post-short
180
+ text-align: left
181
+
182
+ &:last-child
183
+ border-bottom: none
184
+
185
+ .share-links-wrap
186
+ margin-top: 19px
187
+
188
+ .image-wrap
189
+ img
190
+ cursor: pointer
191
+
192
+ .post-headline
193
+ font-size: 30px
194
+ line-height: 1.24em
195
+
196
+ a
197
+ +heavy_font
198
+
199
+ &:hover
200
+ text-decoration: none
201
+ color: $hover_color
202
+
203
+ .author-info
204
+ font-size: 19px
205
+ margin-top: 7px
206
+
207
+ .post-body
208
+ margin: 8px 0 0 0
209
+ font-size: 20px
210
+ color: $text_gray
211
+
212
+ &, p, span, a
213
+ font-weight: 300
214
+
215
+ a
216
+ color: $light_blue
217
+
218
+
219
+ .pub-date
220
+ color: #888
221
+
222
+ .post-headline
223
+ font-size: 33px
224
+ line-height: 1.1em
225
+ margin-bottom: 0.3em
226
+
227
+ a
228
+ color: $body_text_color
229
+ font-weight: 700
230
+
231
+ .post-short-img
232
+ display: block
233
+ min-height: 288px
234
+ +img_background
235
+ background-position: center
236
+ position: relative
237
+ margin-bottom: 18px
238
+
239
+ .post-subhead
240
+ font-size: 20px
241
+ font-weight: 700
242
+ margin: 14px auto 18px 7px
243
+ color: #000
244
+ border-bottom: 1px solid $light_gray
245
+
246
+
247
+ .author-info
248
+ font-weight: 300
249
+ font-size: 22px
250
+ font-style: italic
251
+
252
+ span.muted
253
+ color: $gray_text_color
254
+
255
+ .comment-info
256
+ display: inline-block
257
+ width: 105px
258
+ overflow: visible
259
+
260
+ &:hover
261
+ text-decoration: none
262
+ color: inherit
263
+
264
+ .c-bull
265
+ &:before
266
+ content: "/"
267
+ color: #868686
268
+
269
+ .title-box
270
+ padding-bottom: 32px
271
+ height: auto
272
+
273
+ .post-body
274
+ margin-top: 56px
275
+
276
+ &, p, span, a
277
+ color: $body_text_color
278
+ font-size: 22px
279
+ font-weight: 400
280
+ line-height: 1.62em
281
+
282
+ @media (max-width: $screen-xs-max)
283
+ font-size: 20px
284
+
285
+ ul
286
+ margin: 38px 0 46px 21px
287
+
288
+ li
289
+ margin-bottom: 20px
290
+
291
+ p
292
+ margin: 0 0 25px 0
293
+
294
+ strong, strong *
295
+ font-weight: 600
296
+
297
+ h1, h2, h3, h4
298
+ margin-top: 38px
299
+ font-weight: 700
300
+ text-align: left
301
+ margin-bottom: 10px
302
+ +book_font
303
+
304
+ h1
305
+ font-size: 44px
306
+ margin-bottom: 20px
307
+
308
+ h2
309
+ font-family: 'Bureau Grotesque Extra', sans-serif
310
+ font-size: 1.8em
311
+ padding-top: 20px
312
+
313
+ h3
314
+ font-size: 28px
315
+
316
+ h4
317
+ font-size: 24px
318
+
319
+ strong, b
320
+ font-weight: 600
321
+
322
+ img
323
+ margin: 12px auto 0 auto
324
+
325
+ .image-wrap.with-caption
326
+ img
327
+ margin-bottom: 0
328
+
329
+ .post-citation
330
+ &, a
331
+ font-style: italic
332
+ text-align: right
333
+ color: #999
334
+ font-size: 17px
335
+ font-weight: 300
336
+
337
+ .author-avatar
338
+ display: none
339
+ width: 40px
340
+ height: 40px
341
+ margin-right: 4px
342
+
343
+ img
344
+ width: 100%
345
+ float: left
346
+ margin-top: 10px
347
+
348
+ .read-more-link
349
+ clear: both
350
+ float: right
351
+ color: $light_blue
352
+ font-style: italic
353
+ font-size: 22px
354
+
355
+ .read-more-link-wrap
356
+ width: 100%
357
+ clear: both
358
+ margin-top: 10px
359
+
360
+ .pull-quote
361
+ *
362
+ font-size: 48px
363
+ line-height: 1.12em
364
+
365
+ @media (min-width: $screen-md)
366
+ padding: 18px 70px
367
+
368
+ .pull-quote-content
369
+ font-weight: 600
370
+
371
+ .bottom-line
372
+ display: block
373
+ max-width: 100px
374
+ border-bottom: 8px solid #000
375
+ margin-top: 18px
376
+
377
+ .block-quote
378
+
379
+ @media (max-width: $screen-sm)
380
+ .title-box
381
+ left: -5px
382
+ .post-content-col .post .post-body
383
+ margin-top: 0
384
+
385
+ .image-wrap
386
+ text-align: center
387
+ margin-bottom: 12px
388
+
389
+ br
390
+ display: none
391
+ height: 0
392
+ img
393
+ margin-bottom: 0
394
+
395
+ .image-caption, .image-credit
396
+ font-size: 14px
397
+ line-height: 100%
398
+ font-style: italic
399
+ text-align: center
400
+ margin-top: 12px
401
+
402
+ .image-caption
403
+ margin-top: 10px
404
+
405
+ .post-img
406
+ margin: 12px auto 0 auto
407
+ padding: 12px 12px 0 12px
408
+ max-width: 100%
409
+
410
+ .sidebar-header
411
+ padding: 12px 20px
412
+ color: #fff
413
+
414
+ h3
415
+ display: inline-block
416
+ color: #fff
417
+ border-bottom: 4px solid #fff
418
+ text-transform: uppercase
419
+ font-size: 21px
420
+ margin-bottom: 0
421
+
422
+ #menu-toggle
423
+ cursor: pointer
424
+ font-size: 18px
425
+ z-index: 999
426
+ display: block
427
+ color: #fff
428
+ opacity: 1
429
+
430
+ #sidebar-wrapper
431
+ float: left
432
+ z-index: 10
433
+ overflow-y: hidden
434
+ min-height: 1500px
435
+
436
+ @media (max-width: $screen-sm-max)
437
+ display: none
438
+
439
+ .posts-sidebar
440
+ overflow-y: auto
441
+ position: absolute
442
+ min-height: 1500px
443
+ background: $body_text_color
444
+
445
+
446
+ .no-sidebar .post-banner-img .post-banner-inner,
447
+ .no-sidebar .post-content
448
+ max-width: 1300px
449
+
450
+ .post-banner-inner
451
+ height: auto
452
+ padding: 0 15px
453
+ max-width: 1200px
454
+ margin: 0 auto
455
+
456
+ .no-sidebar
457
+ #sidebar-wrapper
458
+ display: none
459
+
460
+ #page-content-wrapper
461
+ padding-left: 0
462
+ background: $post_bg
463
+
464
+ .below-post
465
+ max-width: 1300px
466
+ margin: 50px auto
467
+ padding: 0 15px 0 36px
468
+
469
+ @media (max-width: $screen-sm-max)
470
+ padding: 0 15px
471
+
472
+ @media (max-width: $screen-md-max)
473
+ #sidebar-wrapper
474
+ display: none
475
+
476
+ body.posts.show
477
+ .page-group
478
+ max-width: none
479
+
480
+
481
+ .post-sidebar-thumb
482
+ position: relative
483
+ cursor: pointer
484
+ padding: 12px 20px 16px 20px
485
+ display: block
486
+
487
+ &:hover
488
+ text-decoration: none
489
+
490
+ .post-sidebar-thumb-img
491
+ +img_background
492
+ position: relative
493
+ padding: 12px
494
+ min-height: 130px
495
+ width: 100%
496
+
497
+
498
+ .pub-date
499
+ color: #6e6e6e
500
+ +book_font
501
+ font-style: italic
502
+ font-size: 16px
503
+ margin: 6px 0 0 0
504
+
505
+ .headline
506
+ font-weight: 500
507
+ font-size: 18px
508
+ color: #fff
509
+ line-height: 142%
510
+ margin-bottom: 12px
511
+
512
+ .below-post
513
+ padding: 50px 36px 0 266px
514
+ background: $post_bg
515
+
516
+
517
+ .post-banner-img
518
+ width: 100%
519
+ +img_background
520
+ position: relative
521
+
522
+ .overlay
523
+ z-index: 1
524
+ position: absolute
525
+ width: 100%
526
+ height: 100%
527
+ opacity: 0.50
528
+ background: #000
529
+ top: 0
530
+ left: 0
531
+
532
+ .post-banner-img, .post-banner-img .title-col
533
+ height: 440px
534
+
535
+ @media (max-width: $screen-xs-max)
536
+ height: 225px
537
+
538
+ .post-banner-img .title-col
539
+ @media (min-width: $screen-sm)
540
+ margin-left: 18px
541
+
542
+ .category-label, .post-tag
543
+ padding: 5px 9px
544
+ border: 2px solid #888
545
+ color: #888
546
+ text-align: center
547
+ display: inline-block
548
+ text-transform: uppercase
549
+ +heavy_font
550
+ font-weight: 400
551
+ font-size: 14px
552
+
553
+ .post-content
554
+ background: $post_bg
555
+
556
+ &.no-img
557
+ margin-top: 0
558
+
559
+ .post-full
560
+ padding-top: 0
561
+
562
+ .author-info-wrap
563
+ @media (max-width: $screen-xs-max)
564
+ margin-top: 0
565
+
566
+ .divider
567
+ border-bottom: 8px solid #000
568
+ max-width: 100px
569
+
570
+ .share-links-wrap
571
+ margin-top: 15px
572
+
573
+ .post-bottom
574
+ padding-top: 20px
575
+ padding-bottom: 75px
576
+
577
+ @media (min-width: $screen-md)
578
+ padding-left: 26px
579
+
580
+
581
+ .post-tag-list
582
+ text-transform: uppercase
583
+ +light_bold_font
584
+ margin-top: 40px
585
+ font-size: 24px
586
+
587
+ li
588
+ padding-left: 2px
589
+ padding-right: 2px
590
+
591
+ li.title
592
+ color: #000
593
+
594
+ li a, li.slash
595
+ color: #b9b9b9
596
+
597
+ .most-popular-posts-box.mini
598
+ margin-top: 30px
599
+
600
+ @media (max-width: $screen-md)
601
+ margin-top: 10px
602
+
603
+ .most-popular-posts-heading
604
+ padding: 6px 18px 3px 18px
605
+ text-transform: uppercase
606
+ border-bottom: 8px solid #000
607
+
608
+ ul.popular-posts
609
+ li.popular-post
610
+ padding: 0 17px
611
+
612
+ .post-headline
613
+ .text
614
+ line-height: 27px
615
+
616
+ .post-byline
617
+ line-height: 18px
618
+
619
+ .popular-more-link
620
+ padding: 10px 17px
621
+
622
+ .posts-index
623
+ .show-all-link-wrap
624
+ text-align: center
625
+ border-bottom: none
626
+ margin: 0 auto
627
+ padding: 0 0 32px 0
628
+
629
+ .show-all-link
630
+ display: inline-block
631
+ padding: 18px 40px
632
+ color: #fff
633
+ background: #000
634
+ text-align: center
635
+ font-size: 19px
636
+
637
+ .post-byline
638
+ &, a
639
+ color: #888
640
+ font-style: italic
641
+
642
+ .author-posts
643
+ .post-short
644
+ .post-title
645
+ font-size: 41px
646
+
647
+ .blockquote-wrap
648
+ .blockquote-title
649
+ font-weight: 600
650
+ margin-bottom: 20px
651
+
652
+ blockquote
653
+ clear: both
654
+ font-size: 21px
655
+ line-height: 1.62em
656
+ color: #333
657
+ border-left: 5px solid #ccc
658
+ padding: 15px 20px 15px 20px
659
+ margin: 32px 0
660
+ font-style: italic
661
+
662
+ p
663
+ margin: 0 !important
664
+ padding-bottom: 20px
665
+
666
+ &:last-child
667
+ padding-bottom: 0
668
+
669
+ cite
670
+ clear: both
671
+ display: block
672
+ text-align: right
673
+ margin-top: 5px
674
+
675
+ .post, .post-banner-img
676
+ .title-box
677
+ position: absolute
678
+ bottom: -44px
679
+ z-index: 999
680
+ padding: 0
681
+
682
+ @media (max-width: $screen-xs-max)
683
+ bottom: -22px
684
+
685
+ @media (max-width: $screen-sm)
686
+ bottom: -62px
687
+
688
+ .post-tag, .category-label
689
+ background: #fff
690
+ border: none
691
+ color: $dark_color
692
+ padding: 9px 11px 7px 11px
693
+ margin-left: -10px
694
+ font-size: 19px
695
+
696
+ @media (max-width: $screen-xs-max)
697
+ font-size: 14px
698
+ padding: 7px 9px 5px 9px
699
+
700
+ &.no-img
701
+ &, & .title-col
702
+ background: $post_bg
703
+ height: auto
704
+
705
+ .title-box
706
+ position: relative
707
+ bottom: auto
708
+ padding-top: 35px
709
+
710
+ .category-label
711
+ border: 2px solid $dark_color
712
+ margin-left: 5px
713
+
714
+ h2.post-title
715
+ margin-top: 19px
716
+
717
+ h2.post-title
718
+ color: #242424
719
+ font-size: 57px
720
+ line-height: 1.26em
721
+ margin-top: 8px
722
+ margin-bottom: 0
723
+
724
+ @media (max-width: $screen-xs-max)
725
+ font-size: 38px
726
+
727
+ a
728
+ color: #000
729
+ +extrabold_font
730
+
731
+ &:hover
732
+ text-decoration: none
733
+ color: #000
734
+
735
+ body.browser-mozilla
736
+ .feature-heading .feature-post-box.long-headline .post-headline,
737
+ .feature-heading .feature-post-box.extralong-headline .post-headline
738
+ padding-bottom: 1px
739
+
740
+
741
+ .latest-posts-page
742
+ padding-top: 80px
743
+
744
+ .latest-posts-wrap
745
+
746
+
747
+ .video-embed-wrap
748
+ // max-width: 800px
749
+ margin: 0 auto 15px auto
750
+
751
+
752
+ .related-posts
753
+ .recommendations-head
754
+ color: $hover_color
755
+ text-transform: uppercase
756
+ font-size: 64px
757
+ line-height: 1em
758
+ border-bottom: 8px solid $hover_color
759
+ display: inline-block
760
+ float: left
761
+ margin-right: 15px
762
+
763
+ .related-post-items
764
+ .post-thumb-box
765
+ float: left
766
+ width: 290px
767
+
768
+ .author-info
769
+ margin-top: 6px
770
+
771
+ .post-thumb-box-img
772
+ height: 186px
773
+
774
+ .post-thumb-text .post-thumb-headline
775
+ font-size: 27px
776
+
777
+ &:last-child
778
+ @media (max-width: 1388px)
779
+ display: none
780
+
781
+ .post-comments
782
+ margin-top: 20px