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

Commit d8611a2

Browse files
authored
Merge branch 'v2.0' into v2.0
2 parents 6ae4d03 + bee1f96 commit d8611a2

4 files changed

Lines changed: 93 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: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ body {
110110
line-height: inherit;
111111
}
112112

113+
113114
.et-button-deactivated{
114115
background-color: var(--et-gray-primary);
115116
color: var(--et-black);
@@ -120,4 +121,44 @@ body {
120121
color: var(--et-black);
121122
border: var(--et-black) solid;
122123
border-width: 2px;
124+
125+
// Heading Method - Combined button Property
126+
127+
h1,.et-h1,h2,.et-h2,h3,.et-h3,h4,.et-h4,h5,.et-h5,h6,.et-h6{
128+
font-family: var(--et-sans-serif);
129+
color: var(--et-black);
130+
margin: 0;
131+
}
132+
133+
// heading method - (h1)
134+
h1, .et-h1{
135+
font-size: 45.3px;
136+
font-weight: 600;
137+
}
138+
139+
// heading method - (h2)
140+
h2, .et-h2{
141+
font-size: 38.3px;
142+
}
143+
144+
// heading method - (h3)
145+
h3, .et-h3{
146+
font-size: 29.12px;
147+
font-weight: 600;
148+
}
149+
150+
// heading method - (h4)
151+
h4, .h4{
152+
font-size: 22.65px;
153+
}
154+
155+
// heading method - (h5)
156+
h5, .et-h5{
157+
font-size: 16.18px;
158+
font-weight: 600;
159+
}
160+
161+
// heading method - (h6)
162+
h6, .et-h6{
163+
font-size: 12.94px;
123164
}

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)