Commit graph

897 commits

Author SHA1 Message Date
Badri 0f34b79ec4 Update browser data in caniuse-lite
The command-line told me to do it :P
2021-12-09 17:31:22 +05:30
Badri Sunderarajan 2a0a0af8e1 Add vertical spacing for mathboxes 2021-11-15 13:16:03 +05:30
Badri Sunderarajan 1d7dc0ad38 Implement math-toggles natively into the theme
Adding math toggles to articles now just got a lot simpler.
2021-11-15 12:46:06 +05:30
Badri Sunderarajan 69b42a05bc Add styles for .tile-menu
This is currently used for the "submit" page, but hey, maybe we'll
end up using it elsewhere too since it's now so convenient to
implement.
2021-11-14 16:38:07 +05:30
Badri Sunderarajan 91893bcac5 Style all headings with our heading font
That's Abhaya Libre ExtraBold, but of course it can easily be
changed because you just need to set the `--font-heading` variable!
2021-11-14 16:35:56 +05:30
Badri Sunderarajan e6ae9b83e8 Add .gh-inline class to make fonts work on nested elements
By default, the theme only styles elements (eg. <p>) if they are
directly in the post body: if there's a <p> inside a <div>, for
example, it won't be styled. This is problematic for elements that
need to look like part of the main text, such as mathbox passages
or subscription detail boxes, because we'd have to manually style
each of them to match...

...except we don't because now adding the `.gh-inline` class takes
care of it all! We directly tack on to the `.gh-content` direct
rules, so if that gets updated then ours will too, no further
action needed. Yayy!
2021-11-14 16:33:25 +05:30
Badri Sunderarajan 033a36c35c Add support for extra social icons!
The catch is we will no longer have a secondary footer menu at the
bottom - but hey, we can put the socials there as well ;)
2021-11-07 00:44:24 +05:30
Hippo 68e2208a4b Increase font size for header and footer
Didact Gothic is svalpa small.
2021-11-07 00:43:41 +05:30
Hippo 83334884aa Convert to new theme, WeFlock
Add basic styling, and update the README and package.json. Let's
go, or, should I say, #weflock!
2021-10-30 22:11:08 +05:30
Sodbileg Gansukh c63a07e8df v4.1.1 2021-09-22 15:28:46 +08:00
Sodbileg Gansukh 0e0898d7e9 Fix W3C warning about section lacks heading 2021-09-22 15:26:39 +08:00
Sodbileg Gansukh 2234b14bbd Fix nested main element issue 2021-09-22 15:24:17 +08:00
Sodbileg Gansukh 046d53e885 v4.1.0 2021-07-07 12:16:03 +08:00
Sodbileg Gansukh e49664eca4
Add alt and caption support to feature images (#812)
* Add alt and caption support to feature images

* Add feature image alt support to post card

* Remove three-curlies
2021-07-05 10:59:21 +08:00
Sodbileg Gansukh 21bdffbd8a Fix header element inside header 2021-06-10 13:32:41 +08:00
Leedan ea33b00c0a
Author page: remove span stray end tag (#808) 2021-06-03 10:15:25 +08:00
Sodbileg Gansukh 17c9fe6c55 v4.0.5 2021-05-10 14:21:53 +08:00
Sodbileg Gansukh 5adeaa458b Make the footer stick to bottom
Currently, the footer doesn't stick to the bottom of the viewport when the page content is small. This fixes the issue by making the <main> element fill the remaining space
2021-05-10 14:20:40 +08:00
Sodbileg Gansukh 5013c91f1a Revert "Pin beeper to v2"
This reverts commit f43f6c567f.
2021-05-06 15:48:36 +08:00
Sodbileg Gansukh f43f6c567f Pin beeper to v2
Beeper started requiring ESM syntax from v3, and it caused an error when running development workflow
Error [ERR_REQUIRE_ESM]: Must use import to load ES Module
2021-05-06 12:28:54 +08:00
Sodbileg Gansukh 69feef6c46 Exclude development files from zipped theme 2021-05-05 07:53:10 +08:00
Sodbileg Gansukh 4708987c39 Update signup button Portal link
fixes #791
2021-04-02 14:45:33 +08:00
Sodbileg Gansukh a4eb58f8e7 v4.0.4 2021-04-01 16:18:12 +08:00
Sodbileg Gansukh 5ad96f7c12 Fix post featured image width 2021-04-01 13:20:50 +08:00
Sodbileg Gansukh 6ac55407b3 Break long words
Fixes #788
2021-04-01 13:01:09 +08:00
Sodbileg Gansukh b0e21fe0f7 Improve code block styling 2021-04-01 12:58:41 +08:00
Sodbileg Gansukh 85cd131cf1 v4.0.3 2021-03-29 11:57:50 +08:00
Sodbileg Gansukh 53ff37cf10 Add background color to default profile image
Fixes #785
2021-03-29 11:43:45 +08:00
Sodbileg Gansukh 816e1f608e Make image block element by default
By doing that, any possible future image alignment issues in post content can be prevented
refs #786
2021-03-29 11:34:53 +08:00
Sodbileg Gansukh 0d49da97a2 Fix list item spacing issue
List items had both top and bottom margin, and it caused some inconsistent spacing for lists inside post content. This updates fixes the issue by only assigning top margin on list items except the first one.
refs: #787
2021-03-29 10:52:15 +08:00
Sodbileg Gansukh e34e2e3e0a Fix mobile menu overlapping Portal popup
fixes #784
2021-03-22 11:38:03 +08:00
iron 18ceb822dd
Update screen.css (#778) 2021-03-19 07:19:03 -04:00
Sodbileg Gansukh 08c1e38ae1 v4.0.2 2021-03-19 16:47:30 +08:00
Sodbileg Gansukh d9e9e097cd Fix headings and card caption color on dark mode
refs #780
2021-03-19 14:15:52 +08:00
Daniel Lockyer 96aac80081
v4.0.1 2021-03-18 17:35:03 +00:00
Sodbileg Gansukh 3fa7f25147 Add Facebook link to the header
Fixes #776
2021-03-18 14:31:56 +08:00
Daniel Lockyer b16671d8a7
v4.0.0 2021-03-15 23:33:48 +00:00
Daniel Lockyer 3d6a3dc68f
v4.0.0-rc.2 2021-03-12 20:27:07 +00:00
Paul Davis 48d06196c2
Fix horizontal scrolling caused by scaling on the subscribe CTA h2 (#765) 2021-03-12 09:53:43 -05:00
Paul Davis 573e384381
Add space between gallery/image cards with caption (#766)
Co-authored-by: John O'Nolan <john@ghost.org>
2021-03-12 08:29:53 -05:00
Paul Davis 5f127c395b
Fix traditional Instagram embeds (#767)
Highly specific styles for traditional Instagram embeds

Co-authored-by: John O'Nolan <john@ghost.org>
2021-03-12 08:27:58 -05:00
Sodbileg Gansukh 3cc9cb0988
Fix headings typography scale (#771) 2021-03-12 08:25:37 -05:00
Paul Davis ca36c4fe91
Only use post-card-large variation if feature_image exists (#764) 2021-03-11 13:44:10 -05:00
Paul Davis 260d5ec4e6
Fix horizontal alignment of smaller post images (#759)
Co-authored-by: John O'Nolan <john@ghost.org>
2021-03-11 13:37:58 -05:00
Paul Davis 410ec1a9d5
Fix logo size in header on small screens (#760)
Co-authored-by: John O'Nolan <john@ghost.org>
2021-03-11 13:37:00 -05:00
Paul Davis e72f4236be
Fix long links causing horizontal scrolling on small screens (#761)
Co-authored-by: John O'Nolan <john@ghost.org>
2021-03-11 13:36:13 -05:00
Paul Davis c0d5a3d999
Fix broken card layout caused by long strings (#762) 2021-03-11 13:33:25 -05:00
Paul Davis b927cf62ed
Adjust infinite scroll selector to target article.post-card (#763)
The tag archive header shares the same classes as post cards, but have different elements.

This changes the selector to target article.post-card, which ignores header.post-card
2021-03-11 13:32:57 -05:00
Daniel Lockyer 91ced578c5
Updated tagName in release script
no issue

- as of 4.0, we're shipping tags with the preceding `v`, but this script
  ignored that and so the release was incorrect
- this commit updates the tagName to have the preceding `v`
2021-03-10 21:11:23 +00:00
Daniel Lockyer 87772282c8
v4.0.0-rc.1 2021-03-10 21:08:10 +00:00