Skip to content
This repository was archived by the owner on May 5, 2023. It is now read-only.

Commit 2c7c59f

Browse files
@atharvagadkari0512 Heading Added
1 parent 4ba49b6 commit 2c7c59f

4 files changed

Lines changed: 90 additions & 1 deletion

File tree

src/lib/eccentric.css

Lines changed: 33 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/lib/eccentric.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/lib/eccentric.scss

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,4 +108,42 @@ body {
108108
border-radius: 4px;
109109
font-size: inherit;
110110
line-height: inherit;
111+
}
112+
h1,.et-h1,h2,.et-h2,h3,.et-h3,h4,.et-h4,h5,.et-h5,h6,.et-h6{
113+
font-family: var(--et-sans-serif);
114+
color: var(--et-black);
115+
margin: 0;
116+
}
117+
118+
// heading method - (h1)
119+
h1, .et-h1{
120+
font-size: 45.3px;
121+
font-weight: 600;
122+
}
123+
124+
125+
h2, .et-h2{
126+
font-size: 38.3px;
127+
}
128+
129+
130+
h3, .et-h3{
131+
font-size: 29.12px;
132+
font-weight: 600;
133+
}
134+
135+
136+
h4, .h4{
137+
font-size: 22.65px;
138+
}
139+
140+
141+
h5, .et-h5{
142+
font-size: 16.18px;
143+
font-weight: 600;
144+
}
145+
146+
147+
h6, .et-h6{
148+
font-size: 12.94px;
111149
}

src/tests/__heading.html

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<title></title>
5+
<meta charset="UTF-8">
6+
<meta name="viewport" content="width=device-width, initial-scale=1">
7+
<link href="../lib/eccentric.css" rel="stylesheet">
8+
</head>
9+
<body>
10+
<h1 class="et-h1">This is a Heading</h1>
11+
<h2 class="et-h2">This is a Heading</h1>
12+
<h3 class="et-h3">This is a Heading</h1>
13+
<h4 class="et-h4">This is a Heading</h1>
14+
<h5 class="et-h5">This is a Heading</h1>
15+
<h6 class="et-h6">This is a Heading</h1>
16+
17+
</body>
18+
</html>

0 commit comments

Comments
 (0)