Commit Graph

467 Commits

Author SHA1 Message Date
5ba628d1a3 **update** merged with origin 2023-06-07 14:51:10 +02:00
6abe0a1e25 **update** 2023-06-07 12:48:56 +00:00
2fa6b68cc3 **update** merged with origin 2023-06-07 14:48:08 +02:00
Sodbileg Gansukh
50d5727f77 Fixed mobile menu background in dark mode
no issues

- when there's no publication cover and the color scheme is in dark mode, the mobile menu had white background
- this fixes the issue by adding explicit dark mode rules to the styles
2023-05-09 13:27:37 +08:00
Sodbileg Gansukh
8ff3c6fcf1 Fixed main nav to make it work with the announcement bar 2023-04-21 09:49:37 +01:00
Sodbileg Gansukh
4851606d9d Rebuilt assets 2023-04-10 13:41:59 +08:00
Rob Leslie
afca9cb27e Fix problem showing dropdown after window resize
When the browser window is resized, a new click event listener is added
to the window but the old one is not removed. The old one ends up
preventing the newly-made dropdown from opening.

Fix this by remembering the click event listener function added to the
window, and remove it before making the new dropdown after a window
resize.
2023-04-10 13:40:33 +08:00
Sodbileg Gansukh
b56bec2cb8 Fixed header action background color for smaller screens
closes #934

- the accent color is used for the header background, so we don't need to add explicit dark mode color to the action on mobile screens
2023-04-10 13:24:11 +08:00
db6a864b90 **update** minor changes for tag page 2023-03-06 12:26:13 +01:00
3e4aba10fe **update** merged with changes from orig repo v547 2023-03-06 11:17:13 +00:00
88bdc1fc4b Merge branch 'main' into v5.4.7
# Conflicts:
#	assets/built/screen.css
#	assets/built/screen.css.map
#	error.hbs
#	package.json
2023-03-06 12:08:46 +01:00
50991c37ca **update** minor changes for tag page 2023-03-06 12:07:13 +01:00
Sodbileg Gansukh
bd3fc7c2af Fixed textarea color in dark mode 2023-03-01 13:53:58 +08:00
Sodbileg Gansukh
4293dab0a7 Fixed burger menu icon visibility on dark mode
refs #925
2023-02-28 13:57:05 +08:00
Nicholas Fasching
0200889148 Fix Table of Contents Numbering in screen.css 2023-02-27 15:39:25 +08:00
4f0e6e92e1 **update** minor changes for tag page 2023-02-07 11:55:12 +01:00
f6128d473c Merge branch 'pre544' into v5.4.4
# Conflicts:
#	assets/built/casper.js.map
#	assets/built/screen.css
#	assets/built/screen.css.map
#	package.json
2022-12-20 17:40:55 +01:00
37132a168a **update** minor changes for tag page 2022-12-20 17:39:36 +01:00
Sodbileg Gansukh
5259d551f5 Fixed mobile navbar height 2022-12-16 12:33:11 +08:00
Sodbileg Gansukh
115d1d820c Fixed sign in link placement on mobile screen
fixes #913
2022-12-16 12:12:22 +08:00
Sodbileg Gansukh
81e4dfd52d Minor spacing adjustment 2022-12-16 12:02:08 +08:00
Sodbileg Gansukh
cc4d828575 Fixed logo visibility when the header is hidden 2022-12-16 11:57:59 +08:00
d3bf2b05d2 **update** minor changes for tag page 2022-12-15 15:32:04 +01:00
28bdf273f3 Merge remote-tracking branch 'origin/v5.4.3' into pre543
# Conflicts:
#	assets/built/casper.js.map
#	assets/built/screen.css
#	assets/built/screen.css.map
#	assets/css/screen.css
#	assets/js/dropdown.js
#	default.hbs
#	package.json
2022-12-15 14:54:33 +01:00
ad518db147 **update** minor changes for tag page 2022-12-15 14:49:15 +01:00
91ed758fc9 **update** minor changes for tag page 2022-12-15 14:47:29 +01:00
b7bbd91565 **update** pre543 2022-12-15 13:38:09 +00:00
Sodbileg Gansukh
3767e3d994 Adjusted the pagination to dark mode 2022-12-15 10:00:58 +08:00
Sodbileg Gansukh
7da41d344f Added sign in link to the navbar 2022-12-14 16:42:46 +08:00
2d9ba902b4 **update** merge with 5.4.2 from origin 2022-12-12 10:36:25 +01:00
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