I plan to use shift amount to represent the structure of a post consisting of different level content. The deeper the content is, the more the content is shifted right. For example,
<h1>Part1</h1>
This is a post about Universe.
<h2>Part1.1</h2>
First we talk about the Galaxy.
Facts about the Galaxy.
Now you know the Galaxy.
<h3>Part1.1.1</h3>
More details about the Galaxy.
<h2>Part1.2</h2>
Facts aoubt another galaxy.
<h1>Part2</h1>
I want the is no padding before This is a post about Universe.
, a 100px padding for <h2>Part....you know the Galaxy
, a 200px padding for <h3>....details about the Galaxy.
. I think css/sass can do this, but I don't know how to choosing thde corresponding elements.