Commit Graph
42 Commits
Author SHA1 Message Date
Kevin Ansfield 6d56e5866e 3.0.1 2019-10-29 14:20:08 +00:00
Kevin Ansfield 7ad20d1325 Fixed deprecated autoprefixer config warning when running build tasks
no issue

Passing browser options directly into `autoprefixer()` has been deprecated in favour of general browserslist configuration in `package.json` or a `.browserslistrc` config file

- moved autoprefixer browsers list into `browserslist` config in `package.json`
- updated `autoprefixer` version
2019-10-20 16:05:37 +02:00
Kevin Ansfield 215d837848 2.11.2 2019-10-07 23:11:17 +01:00
Kevin Ansfield 8729af090f 2.11.1 2019-08-27 19:44:35 +01:00
Kevin Ansfield e4e97aefa9 2.10.4 2019-07-23 12:01:47 +01:00
Kevin Ansfield 23bd9cc1d5 2.9.8 2019-04-04 14:58:47 +01:00
Kevin Ansfield 0d8f4471d9 2.9.7 2019-04-02 10:02:13 +01:00
Kevin Ansfield 2bf64cbffc v2.9.5 2019-03-12 18:38:14 +00:00
Kevin Ansfield a212518827 🐛 Fixed incorrect/missing colours for various elements
closes https://github.com/TryGhost/Casper/issues/548
- the recent postcss upgrade resulted in real CSS variables being output with a fallback mechanism, unfortunately this broke a number of colors throughout the theme
- disabled the fallback mechanism to revert back to the previous behaviour
2019-03-12 18:14:48 +00:00
Kevin Ansfield 10672c642e 🐛 Fixed author cover images not displaying
closes https://github.com/TryGhost/Casper/issues/542
- user model has `cover_image` property rather than `feature_image`
2019-03-08 08:47:58 +00:00
Kevin Ansfield 9ababa2886 Upgrading Casper to 2.9.1 2019-01-22 11:04:56 +00:00
Kevin Ansfield 475c015fa2 Upgrading Casper to 2.8.0 2018-12-17 14:13:04 +00:00
Kevin Ansfield f695d69aeb Upgrading Casper to 2.7.0 2018-10-16 15:45:26 +01:00
Kevin Ansfield 7a88c88ea2 Added Koenig gallery card support (#475)
no issue

- Update CSS and JS for new gallery card
- Updates CSS to support new gallery card
- Adds JS to support grid layout for gallery view
- Fix gallery breakout size
- Refining styles for gallery card
2018-08-30 17:44:55 +01:00
Kevin Ansfield a0e42e0599 Rebuild CSS 2018-08-30 14:56:38 +01:00
Kevin Ansfield dc3bb316c7 Fixed incorrect image aspect ratio when images have width/height attrs
no issue
- when large images have width/height attributes but the image is constrained to it's container or `max-width` style the aspect ratio would be broken because browsers use the `height` attribute value even though the width is smaller
2018-08-30 14:49:40 +01:00
Kevin Ansfield ecaf3d921f 🐛 Fixed image positioning on pages
closes https://github.com/TryGhost/Casper/issues/473
- added missing `<div class="post-content">` wrapper around `{{content}}`
2018-08-21 17:47:42 +01:00
Kevin Ansfield d41fcbbc8a Remove .kg-card-markdown styles
no issue
- `.kg-card-markdown` no longer exists in Ghost 2.x
2018-08-11 19:09:58 +01:00
Kevin Ansfield 1bf2cdb52a Upgrading Casper to 2.4.1 2018-07-31 11:31:35 +01:00
Kevin Ansfield 5c6cce1519 Ghost 1.25 Koenig updates (#463)
refs https://github.com/TryGhost/Ghost/pull/9741
- Ghost 1.25 has updated the HTML output of Koenig beta posts
  - the `<div class="kg-post">` wrapper around post content has been removed
  - for image cards the `.kg-image-wide` and `.kg-image-full` classes have been changed to `.kg-width-wide` and `.kg-width-full` and applied to the `<figure>` element rather than the `<img>` element
- this will be the default for *all* posts after upgrading to Ghost 2.0

Example output of the `{{content}}` helper for Koenig beta...

Before 1.25.0 (Ghost 1.23.0-1.24.9):
```html
<div class="kg-post">
    <figure class="kg-image-card">
        <img class="kg-image kg-image-wide" src="...">
        <figcaption>example wide image</figcaption>
    </figure>
</div>
```

After 1.25.0:
```html
<figure class="kg-image-card kg-width-wide">
    <img class="kg-image" src="...">
    <figcaption>example wide image</figcaption>
</figure>
```

For reference, in Ghost 1.x a non Koenig post with nothing but an image in the markdown (`![](...)`) would generate output like this:

```html
<div class="kg-card-markdown">
    <img src="...">
</div>
```
2018-07-23 12:20:46 +01:00
Kevin Ansfield 019842155a Upgrading Casper to 2.3.3 2018-06-14 17:00:26 +01:00
Kevin Ansfield 1c61bc5f16 Upgrading Casper to 2.3.2 2018-05-29 16:10:07 +01:00
Kevin Ansfield 7a7f04c716 Update built files 2018-05-29 16:09:40 +01:00
Kevin Ansfield fd56128f9b Upgrading Casper to 2.3.1 2018-05-29 15:40:50 +01:00
Kevin Ansfield f3b44a7411 Upgrading Casper to 2.3.0 2018-05-22 20:17:56 +01:00
Kevin Ansfield 41bcbb7157 💨 Infinite scroll perf improvements
no issue
- swap jQuery HTML parsing and insertion for pure DOM
- remove fade animation
- increase buffer by 100px so next page request happens sooner
2018-04-09 11:03:48 +01:00
Kevin Ansfield 67e55abfed Upgrading Casper to 2.1.9 2018-01-23 16:19:58 +00:00
Kevin Ansfield edfafffd32 Upgrading Casper to 2.1.8 2018-01-03 13:47:12 +00:00
Kevin Ansfield 978e54403c 🐛 Do not exclude assets/css from built zips
no issue

https://github.com/TryGhost/Casper/pull/403 added optimisations for reducing size of zip files but unfortunately it also stripped out `assets/css` which means that it's no longer possible to download the theme from the admin panel and use it for development.

- remove `assets/css` from the ignored files in the `zip` task
2017-10-24 12:08:26 +01:00
Kevin Ansfield 7592ad182b 🔒 Added rel="noopener" to all target="_blank" links (#398)
closes #394
- closes potential phishing avenues by preventing external sites from changing the blogs url in the background after opening
- see https://mathiasbynens.github.io/rel-noopener/ for more info
2017-10-03 16:42:08 +07:00
Kevin Ansfield 97a522a037 Fix permissions on certain files 2017-10-02 13:29:23 +01:00
Kevin Ansfield 4f78d99112 Upgrading Casper to 2.1.3 2017-09-26 14:38:05 +01:00
Kevin Ansfield ca325285bf Upgrading Casper to 2.1.0 2017-08-29 13:35:37 +01:00
Kevin Ansfield a7d5c885bd Upgrading Casper to 2.0.6 2017-08-22 12:38:02 +01:00
Kevin Ansfield 9bc5c92628 Fix z-index bug with header author profile image
no issue
- add z-index to `.site-header-content .author-profile-image` so it isn't covered by the header overlay
2017-08-22 12:05:09 +01:00
Kevin Ansfield 8d17e9a452 Upgrading Casper to 2.0.5 2017-08-17 17:47:36 +01:00
Kevin Ansfield e4e6bb9c5a Fixed z-index bug with header title/description
closes #363
- add z-index to `.site-title` and `.site-description` so they aren't covered by the header overlay
2017-08-17 12:35:37 +01:00
Kevin Ansfield 2f385ba5f1 Upgrading Casper to 2.0.4 2017-08-15 18:01:02 +01:00
Kevin Ansfield 0f9410fb3d 💄 refactor infinite scroll (#325)
closes #321, closes #323
- use `requestAnimationFrame` and related techniques to minimise scroll processing
- add an `isLoading` guard to ensure we don't try to process anything until the next page has been loaded+inserted
- check for a 404 as an indication we've loaded as many pages as possible at which point the scroll behaviour is removed
- sanitize `window.location.pathname` to remove hash params and any double-slashes that may result
- add a 100px buffer from the bottom of the screen so that it's not necessary to exactly hit the bottom before infinite loading is triggered
2017-07-10 19:53:42 +07:00
Kevin Ansfield c97defd40a Refactor post.hbs JS 2017-06-19 00:11:32 +01:00
Kevin Ansfield 5c51195ca6 Upgrading Casper to 1.3.1 2016-07-26 13:01:26 +01:00
Kevin Ansfield 31025f2f15 Merge pull request #218 from ErisDS/jquery-support
Add jQuery, as this is being removed from Ghost
2015-09-02 17:54:19 +01:00