Skip to content

Commit 45e8481

Browse files
authored
Merge pull request #334 from Mikek2252/master
Add styling for <hr/>
2 parents a208ec9 + bbe1dfe commit 45e8481

File tree

3 files changed

+21
-7
lines changed

3 files changed

+21
-7
lines changed

addon/styles/components/es-footer.css

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,6 @@
5858
}
5959
}
6060

61-
& .footer-hr {
62-
border: 0;
63-
border-bottom: 2px solid var(--color-gray-200);
64-
margin: 0;
65-
}
66-
6761
& .footer-statement {
6862
justify-content: space-between;
6963
}
@@ -79,7 +73,6 @@
7973

8074
& .footer-spacer {
8175
border: 0;
82-
border-top: 2px solid var(--color-gray-300);
8376
display: block;
8477
height: 2px;
8578
}

addon/styles/global.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,14 @@ code {
216216
font-family: var(--font-family-mono);
217217
}
218218

219+
hr {
220+
background: var(--color-gray-300);
221+
border: 1px var(--color-gray-300);
222+
margin: 35px 0px;
223+
border-radius: 1px;
224+
height: 2px;
225+
}
226+
219227
/*
220228
@media (max-width: 1280px) and (min-width: 421px) {
221229
body,

docs/css/global.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# CSS Global Styles
2+
3+
## Element styles
4+
5+
All of the below are default element styles.
6+
7+
### Horizontal Rule `<hr>`
8+
9+
If you would like to add a break between content then you can use the pre-styled Horizontal Rule `<hr>` element.
10+
11+
```html
12+
<hr>
13+
```

0 commit comments

Comments
 (0)