Commit graph

347 commits

Author SHA1 Message Date
f6691c3018 Darken metadata for better readability with Didact Gothic
Because the font really is very thin!
2021-12-09 19:11:43 +05:30
ccca1670ee Switch back to Didact Gothic ∵ better vibes
Didact Gothic works much better for author names, menus, etc. on
the website so we're sticking to it after all!
2021-12-09 18:58:58 +05:30
a536fbbbf9 Update font styles to better match Analog
We've reverted to Open Sans because Didact Gothic is a bit point-
less if there's no lowercase; on the other hand Fanwood Text has
remained and is going to make its debut appearance in the print
version!
2021-12-09 18:39:29 +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
2234b14bbd Fix nested main element issue 2021-09-22 15:24:17 +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
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
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
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
d9e9e097cd Fix headings and card caption color on dark mode
refs #780
2021-03-19 14:15:52 +08:00
Sodbileg Gansukh
3fa7f25147 Add Facebook link to the header
Fixes #776
2021-03-18 14:31:56 +08: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
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
John O'Nolan
3a5fda7009 Spacing fix on author profile 2021-03-09 22:23:47 -05:00
John O'Nolan
4f2fe7eb43 Update page template style 2021-03-09 22:02:35 -05:00
John O'Nolan
be0600a603 Update end of post CTA bg color 2021-03-09 21:33:13 -05:00
John O'Nolan
a78784decf Fix codeblock specificity, props @pauladamdavis 2021-03-09 09:27:47 -05:00
John O'Nolan
a516282b73 Correct logo height in navbar 2021-03-09 09:04:50 -05:00
John O'Nolan
ea6942a7fe Fix bug with :not unfixing previous fix of ::not which it turns out is not a thing 2021-03-09 09:03:54 -05:00
John O'Nolan
b5c2869ff6 Fix bug where incorrect styles were applied if codeblocks have captions 2021-03-08 16:08:47 -05:00
John O'Nolan
b7faac9eda Dark codeblocks by default 2021-03-08 15:59:11 -05:00
John O'Nolan
372dca859b Reinstate a class which as it turns out was not unused after all 2021-03-08 11:46:41 -05:00
John O'Nolan
0584a58c6c Remove overlays from cover image, these only worked when CSS bg image, not img tag 2021-03-08 11:28:11 -05:00
John O'Nolan
2231274b07 Remove unused old class 2021-03-08 11:25:46 -05:00
John O'Nolan
715f95d209 Typography fixes 2021-03-06 21:54:43 -05:00
Daniel Lockyer
70f71e9839
Updated built JS assets
no issue

- these weren't rebuilt when changing the code
2021-03-05 14:05:57 +00:00
John O'Nolan
f590fb029a Tag archive 2021-03-04 18:31:29 -05:00
John O'Nolan
7617c7baf2 Author profile 2021-03-04 17:22:45 -05:00