Commit graph

137 commits

Author SHA1 Message Date
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
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
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
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
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
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
John O'Nolan
b5d0589222 And so the lord said unto Moses, let us obliterate this CSS 2021-03-04 08:05:28 -05:00
John O'Nolan
1365eab4ae Cleanup 2021-03-03 15:44:30 -05:00
John O'Nolan
6c7cf02111 Style refresh 2021-03-02 21:48:32 -05:00
Sodbileg Gansukh
609507d22d Keep bookmark author and publisher classes for GScan 2021-03-02 16:53:53 +08:00
Sodbileg Gansukh
fd89c6575c Remove specific selectors from bookmark metadata 2021-03-02 13:59:05 +08:00
John O'Nolan
c680f4efcd Style refresh 2021-03-01 20:34:12 -05:00
John O'Nolan
5fd447b815 Style refresh 2021-02-28 20:10:09 -05:00
Sodbileg Gansukh
f9d9b1fab5 Disable dark mode by default
Dark mode is disabled by default, but can be enabled by adding a class dark-mode to html element.
2021-02-25 21:58:09 +08:00
Sodbileg Gansukh
676b73172f Increase contrast of excerpts 2021-02-18 15:16:42 +08:00