Commit Graph

487 Commits

Author SHA1 Message Date
3c2814775b **update** merged with origin 2022-12-12 10:31:35 +01:00
1572dda395 Updated 2022-12-12 09:23:27 +00:00
3f9d47ae65 Merge branch 'main' of github.com:TryGhost/Casper into TryGhost-main 2022-12-12 09:22:09 +00:00
Sodbileg Gansukh
b20dceae22 Rebuilt assets 2022-12-12 14:55:02 +08:00
Sodbileg Gansukh
88ca182a58 Added regular pagination option
Casper comes with infinite scrolling by default. This update makes it possible to go with the default pagination style when the <html> element has a class no-infinite-scroll.
2022-12-08 12:50:24 +08:00
91f3621491 **update** minor changes for tag page 2022-12-07 10:03:33 +01:00
Sodbileg Gansukh
140632b885 fixes #910
When the publication cover is turned off and the header style is set to hidden, the header section shouldn't be taking much space like it does regularly.
2022-12-07 15:29:23 +08:00
558afe8701 **update** testing after merge with source 2022-11-15 11:48:10 +01:00
b67f2fd243 Merge branch 'main' of https://github.com/spaytac/Casper 2022-11-15 11:13:37 +01:00
Sodbileg Gansukh
4af198a19f Fixed dropdown menu width 2022-11-14 10:42:10 +08:00
Sodbileg Gansukh
f846ceb7ed Fixed minor spacing issues on the header 2022-11-14 10:37:50 +08:00
Sodbileg Gansukh
cf30adacce
Added navbar options (#906) 2022-11-11 11:30:32 +08:00
bc594adbe2 **update** minor changes for tag page 2022-10-27 10:44:35 +02:00
6bcc1d4c3a **update** tag page improvements 2022-10-25 17:45:50 +02:00
395dad204d **update** 2022-10-21 16:59:58 +02:00
Sodbileg Gansukh
e6fdb4bfa3 Excluded GitHub Gist table from being styled
fixes #895
2022-10-04 14:31:38 +08:00
Sodbileg Gansukh
005211ff8f Remove ununsed file 2022-09-01 11:36:01 +08:00
Sodbileg Gansukh
20ced95885 Fix search icon placement
fixes #894
2022-08-16 10:54:04 +08:00
Sodbileg Gansukh
d687d0f099
Add comments support (#893)
* Added comments to theme

* Cleanup

* Updated spacing and typography

* Removed bottom border

* Added comment counter

* Updated theme name and post template

* Added search support

* Compiled css for search

* Removed the border and brackets for comment count

* Moved the comments helper into the content block so it gets the same paddings at narrow viewports

* Package version bump

* Updated comments helper in post template

* Final tweaks for the comments support

* Revert the package info

* Update {{comment_count}} helper usage

The helper now outputs a span wrapper by default, so we won't have to add a wrapper in the theme

Co-authored-by: Peter Zimon <peter.zimon@gmail.com>
Co-authored-by: Sanne de Vries <sannedv@protonmail.com>
Co-authored-by: James Morris <moreofmorris@users.noreply.github.com>
2022-08-12 21:30:06 +08:00
Sodbileg Gansukh
f3c0526ea5 Increase the width of header on author and tag page
The width used to be equal to one post card width and it wasn't enough for longer author name and description.
2022-07-28 12:37:32 +08:00
Sodbileg Gansukh
129a578751 Fix author profile social link hover color on dark mode 2022-07-28 12:35:23 +08:00
Sodbileg Gansukh
664afdb158 Rebuild assets 2022-07-26 10:22:49 +08:00
Sodbileg Gansukh
245969800d Rebuild assets 2022-07-19 15:54:01 +08:00
snake
db37f3caa8
Fix author profile location is dark color in dark mode (#874) 2022-07-19 15:52:59 +08:00
Sodbileg Gansukh
ffcbc42d13 Fix search icon spacing 2022-07-14 15:16:32 +08:00
Sodbileg Gansukh
eff8d360ba Add search support 2022-07-12 19:14:29 +08:00
Sodbileg Gansukh
b5297f16d7 Rebuild assets 2022-07-04 19:02:07 +08:00
Jérôme Gamez
ccf82ec6c1 Let social links inherit their color 2022-07-04 15:12:36 +08:00
Sodbileg Gansukh
52663e9be7 Fix unexpected cropping in grid layout 2022-06-03 17:07:38 +08:00
Sodbileg Gansukh
d1ac1b8c2c Distinguish members and paid-members only post indicators 2022-05-31 13:50:54 +08:00
Sodbileg Gansukh
e27ea96779 Fix blurry tag image 2022-05-27 18:19:14 +08:00
Sodbileg Gansukh
d00647009c Fix post access indicator background 2022-05-27 15:10:47 +08:00
Sodbileg Gansukh
c75b67cf5d Fix author avatar in dark mode 2022-05-27 15:01:51 +08:00
Sodbileg Gansukh
9ebb26559a Auto dark mode 2022-05-27 14:46:30 +08:00
Sodbileg Gansukh
0e78d9ed40 Fix recent posts alignment 2022-05-26 17:41:59 +08:00
Sodbileg Gansukh
08b3054ada Hover effect 2022-05-26 16:25:05 +08:00
Sodbileg Gansukh
f5cb9a73d0 Fix featured post indicator layout shifting 2022-05-26 16:19:59 +08:00
Sodbileg Gansukh
e27f2190d6 Add conditions to check if members feature is enabled 2022-05-26 16:08:10 +08:00
Sodbileg Gansukh
c205947374 Fix table element selector 2022-05-26 15:55:16 +08:00
Sodbileg Gansukh
628a32ba96 Rename has-cover-image body class 2022-05-26 14:33:06 +08:00
Sodbileg Gansukh
0bf84b2b80 Post access indicator 2022-05-26 14:31:14 +08:00
Sodbileg Gansukh
cfd767be88 Social links 2022-05-26 13:44:38 +08:00
Sodbileg Gansukh
4461d5e2f8 Featured post indicator 2022-05-26 13:31:16 +08:00
Sodbileg Gansukh
358f3d6d35 Archive template spacing 2022-05-20 21:49:12 +08:00
Sodbileg Gansukh
4e30aff168 Minor dark mode fix 2022-05-20 21:49:12 +08:00
Sodbileg Gansukh
362a4995a2 Page template specific fixes 2022-05-20 21:49:12 +08:00
Sodbileg Gansukh
b0dfa11ff0 Polishing 2022-05-20 21:49:12 +08:00
Sodbileg Gansukh
508bbf1fb0 Spacing, spacing and spacing 2022-05-20 21:49:12 +08:00
Sodbileg Gansukh
fe257987ce More spacing issue fixes 2022-05-20 21:49:12 +08:00
Sodbileg Gansukh
83669da41c Minor thing 2022-05-20 21:49:12 +08:00
Sodbileg Gansukh
be6943780d Remove auto dark mode 2022-05-20 21:49:12 +08:00
Sodbileg Gansukh
1f7cd51245 Minor detail adjustments 2022-05-20 21:49:12 +08:00
Sodbileg Gansukh
5fc101fb2c Layout settings cleanup 2022-05-20 21:49:12 +08:00
Sodbileg Gansukh
6439992db2 Fix wrong conditions for @custom.site_logo_in_main_navigation 2022-05-20 21:49:12 +08:00
Sodbileg Gansukh
21c6f59a61 Header settings cleanup 2022-05-20 21:49:12 +08:00
Sodbileg Gansukh
5424c465fb Settings cleanup 2022-05-20 21:49:12 +08:00
Sodbileg Gansukh
994a2287a2 List layout 2022-05-20 21:49:12 +08:00
Sodbileg Gansukh
6236067373 Minor adjustments 2022-05-20 21:49:12 +08:00
Sodbileg Gansukh
68c6224a92 Mobile screen refinement 2022-05-20 21:49:12 +08:00
Sodbileg Gansukh
838120323a More theme settings cleanup 2022-05-20 21:49:12 +08:00
Sodbileg Gansukh
98f7f53119 Post template 2022-05-20 21:49:12 +08:00
Sodbileg Gansukh
d9f92dfe89 Author and tag templates 2022-05-20 21:49:12 +08:00
Sodbileg Gansukh
b811b72333 Post layouts 2022-05-20 21:49:12 +08:00
Sodbileg Gansukh
6c922fca35 Cleanup header style 2022-05-20 21:49:12 +08:00
Sodbileg Gansukh
4c8ccde081 Header option 2022-05-20 21:49:12 +08:00
Sodbileg Gansukh
5672c0b6c8 Post card 2022-05-20 21:49:12 +08:00
Sodbileg Gansukh
f74e9241bb Header 2022-05-20 21:49:12 +08:00
Sodbileg Gansukh
9a09ff41c3 Add a class name to site description 2022-05-02 17:43:02 +08:00
Sodbileg Gansukh
19d5b6c297 Remove unused csscomb files 2022-03-23 11:15:07 +08:00
Sodbileg Gansukh
37a09189c3 Make editor and markdown blockquote styles consistent 2022-03-01 11:43:00 +08:00
Sodbileg Gansukh
eb007cb1c1 Show read more wrapper when only there are other recent posts 2022-01-25 14:28:22 +08:00
Maegan Wilson
18f6d85da5 Updating spelling fixes #834 2022-01-04 11:57:24 +08:00
Sodbileg Gansukh
1f3418708c Add <kbd> style
fixes #822
2022-01-03 12:08:16 +08:00
Sodbileg Gansukh
08f480ff78 Update dark style header card background color 2021-12-17 18:16:21 +08:00
Sodbileg Gansukh
c4f2d74d80 Apply custom heading color only to light header style 2021-12-17 16:24:24 +08:00
Sodbileg Gansukh
db98015d41 Header card tweaks 2021-12-17 15:06:34 +08:00
Sodbileg Gansukh
0f9a3c79c1 Fix list layout style on medium screen size 2021-12-16 12:53:45 +08:00
Peter Zimon
8ff91f709e Updated callout emoji line-height 2021-12-15 15:00:52 +01:00
Peter Zimon
9b45ff3418
Card css specificity update (#832)
The default CSS styles of new Koenig cards that have been released in the past couple of weeks was updated for better usability in themes in general (read commit message for reasons and more reference).

This commit contains CSS cleanup and updates in theme styles that aligns Casper to this change.
2021-12-15 13:06:42 +01:00
Peter Zimon
827f37255c Updated styles for file upload card 2021-12-14 14:38:49 +01:00
Thibaut Patel
e4543555fa Fixed a rule so that it doesn't overrides the product card css
refs https://github.com/TryGhost/Team/issues/1245

- Followed the same pattern as the callout, ntf and bookmark cards.
2021-12-13 17:23:49 +01:00
Sodbileg Gansukh
c880856a32 Revert dark mode style of product card rating 2021-12-10 09:55:52 +08:00
Sodbileg Gansukh
49f99d956f Add dark mode support to product card star rating 2021-12-08 17:17:47 +08:00
Sodbileg Gansukh
cdb03b65fb Add alternate blockquote styles 2021-12-07 19:05:00 +08:00
Peter Zimon
b6474446f8 Updated toggle styles 2021-12-04 08:14:00 -04:00
Peter Zimon
462770968a Updated callout styles 2021-12-04 08:06:09 -04:00
Sodbileg Gansukh
48260130fe Update toggle card heading selector 2021-11-29 13:33:59 +08:00
Sodbileg Gansukh
8b392ec6dd Add typography option to toggle card heading 2021-11-25 18:42:19 +08:00
Sodbileg Gansukh
4ea98431b3 Card responsive style refinements 2021-11-25 10:44:09 +08:00
Sodbileg Gansukh
6bc9b021b5 Add toggle content flow spacing 2021-11-25 10:31:36 +08:00
Sodbileg Gansukh
cad48b230c Add missing styles for toggle card content 2021-11-23 11:32:24 +08:00
Sodbileg Gansukh
b3f6b8a82c Include lists inside toggle card to content styling 2021-11-23 11:28:35 +08:00
Sodbileg Gansukh
2d940d8f59 Exclude default CTA links from link styling 2021-11-23 11:22:56 +08:00
Sodbileg Gansukh
a8150f7c30 Include toggle text in content styling 2021-11-22 21:35:48 +08:00
Peter Zimon
b5b1ea001e Updated NFT card styles 2021-11-19 12:02:09 +01:00
Sodbileg Gansukh
370b9ec74e Include .kg-callout-text to content styling 2021-11-19 16:07:09 +08:00
Sodbileg Gansukh
3cbe9b2c97 Remove bookmark card related CSS 2021-11-17 18:22:47 +08:00
Sodbileg Gansukh
d652252699 Remove gallery card related CSS and JS 2021-11-17 17:02:16 +08:00
Sodbileg Gansukh
6107a411a1 Exclude cards from default link styling
refs https://github.com/TryGhost/Team/issues/1227
2021-11-17 15:40:32 +08:00
Sodbileg Gansukh
8feb988375 Update heading selector on dark mode 2021-11-15 13:22:03 +08:00