Skip to content

Commit

Permalink
Merge pull request #54 from gouravmohanty7070/paragraph
Browse files Browse the repository at this point in the history
Paragraph Spacing Changes
  • Loading branch information
kkrishguptaa authored Aug 28, 2021
2 parents 01a87cd + 125af31 commit 28a0014
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 17 deletions.
5 changes: 5 additions & 0 deletions src/less/components/global.less
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,8 @@ h1 {
font-size: 2em;
margin: 0.67em 0;
}

p + p {
margin-top: 1rem;
}

3 changes: 3 additions & 0 deletions src/sass/components/global.sass
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,6 @@ main
h1
font-size: 2em
margin: 0.67em 0

p + p
margin-top: 1rem
5 changes: 5 additions & 0 deletions src/scss/components/global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,8 @@ h1 {
font-size: 2em;
margin: 0.67em 0;
}

p + p {
margin-top: 1rem;
}

33 changes: 16 additions & 17 deletions src/stylus/components/global.styl
Original file line number Diff line number Diff line change
@@ -1,22 +1,21 @@
*,
*::before,
*::after {
box-sizing: inherit;
padding: 0;
margin: 0;
}
*::after
box-sizing: inherit
padding: 0
margin: 0

html {
line-height: 1.15;
box-sizing: border-box;
font-family: sans-serif;
}
html
line-height: 1.15
box-sizing: border-box
font-family: sans-serif

main {
display: block;
}
main
display: block

h1 {
font-size: 2em;
margin: 0.67em 0;
}
h1
font-size: 2em
margin: 0.67em 0

p + p
margin-top: 1rem

0 comments on commit 28a0014

Please sign in to comment.