Code Monkey home page Code Monkey logo

Comments (8)

cansar avatar cansar commented on July 17, 2024 3

Just as an FYI, this worked well for me:

:root {

  --h1:1.5em;
  --h2:1.25em;
  --h3:1em;
  --h4:0.90em;
}

but you can adjust the numbers to your liking.

from obsidian-minimal.

kepano avatar kepano commented on July 17, 2024 1

Right now the best solution for this is to write your own CSS snippet. See forum https://forum.obsidian.md/t/getting-comfortable-with-obsidian-css/133

from obsidian-minimal.

kepano avatar kepano commented on July 17, 2024

That will edit both editor and preview so if you only want to change the editor you have to add the relevant selectors.

from obsidian-minimal.

cansar avatar cansar commented on July 17, 2024

Ah, good point, I failed at reading comprehension. I just wanted to increase the difference between the headings a bit so this worked perfectly for me.

from obsidian-minimal.

kepano avatar kepano commented on July 17, 2024

Note that those values can be edited in Style Settings plugin, but it will affect both editor and preview.

from obsidian-minimal.

accept82 avatar accept82 commented on July 17, 2024

Как и для вашего сведения, это сработало для меня:

:root {

  --h1:1.5em;
  --h2:1.25em;
  --h3:1em;
  --h4:0.90em;
}

но вы можете настроить числа по своему вкусу.

Thank you friend! Very helpful! Everything is super!

from obsidian-minimal.

N1cl4s avatar N1cl4s commented on July 17, 2024

Just as an FYI, this worked well for me:

:root {

  --h1:1.5em;
  --h2:1.25em;
  --h3:1em;
  --h4:0.90em;
}

but you can adjust the numbers to your liking.

Do you happen to know how I can make the heading bold in that syntax you posted?

from obsidian-minimal.

kepano avatar kepano commented on July 17, 2024

All of the variables can be found near the top of the CSS file, see
https://github.com/kepano/obsidian-minimal/blob/master/obsidian.css#L177

Also note that these value can be edited in Style Settings plugin, but they do not differ between Editor and Preview

from obsidian-minimal.

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.