Skip to content

GCHS/purplemountainmajesty

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Purple Mountain Majesty

Purple Mountain Majesty is the Ghost theme used on https://giancarlosaraceni.com.

It is intended to be:

  1. Dark
  2. Purple
  3. Out of your way

"Dark" and "purple" are accomplished via color palette. "Out of your way" is achieved by putting as much text onscreen as is comfortable and using the default sans-serif proportial font of the user to minimize font accent.

In addition, as a heavy user (and abuser) of parentheticals, footnotes are pulled out from their own separate section at the actual foot of the page and inline, via in-page popups, where I feel them to be more contextful.

The footnotes are created client-side after page load, as otherwise recursive footnote structures (remember that parenthetical abuse?) would result in a page of infinite size (and infinite rendering time!). Highest-level footnotes are generated in a single pass, the rest are generated on-demand (when first clicked or tapped).

If you want to use the popup footnotes on your own Ghost page, the code to generate them is partials/postscript.hbs and their styling is partials/footnotestyle.hbs. You'll need both in your partials folder. I recommend putting a {{> footnotestyle}} in your post.hbs after your {{!< default}} and before any visible elements and {{> postscript}} at the bottom of post.hbs. Once you've done that, all you need to do is change the colors at the top of footnotestyle.hbs to reflect what's on your site.

About

Purple Mountain Majesty is the Ghost theme used on https://giancarlosaraceni.com.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages