Code Monkey home page Code Monkey logo

Comments (2)

curiositry avatar curiositry commented on May 21, 2024

I see what you mean. The reason the first level headings are so large: MNML uses a type scale, and and making them some random less-enourmous size would mess up said scale. Also, you’re not really supposed to use H1s inside a blog post, since it’s non semantic (technically the blog title (regardless of visual size) would be (pretty much the only) H1, the post title H2, and the section headers inside the post H3-H6s).

However, I realize that some people will be migrating existing content into MNML, or be used to using H1s inside posts, which may result in, as you pointed out, GIANT WORDS IN THE MIDDLE OF THEIR BLOGPOSTS.

I think the most elegant solutions would be to cap H1 and H2s in the post at the size of the H3 (maybe with some decoration to distinguish them), and leave typegreat for overrides for people who want giant words.

I take a whack at this as soon as I get a chance, and I’d also welcome a pull-request.

from mnml-ghost-theme.

alfiepates avatar alfiepates commented on May 21, 2024

Thanks for the swift response πŸ‘

EDIT: H3 appears to be the same size as H2?

from mnml-ghost-theme.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.