Skip to content

Commit f0cf50b

Browse files
authored
Merge pull request #56 from mozdevs/hr
Improved hr styles, see #27
2 parents e24c0f2 + 300f314 commit f0cf50b

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

remedy.css

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,18 @@ h1 { margin: 0.67em 0; }
4141
/* Overflow by default is bad */
4242
pre { white-space: pre-wrap; }
4343

44-
/* Solid, thin horizonatal rules */
45-
hr { border: 0.5px solid; }
44+
/*
45+
* 1. Solid, thin horizonatal rules
46+
* 2. Remove Firefox `color: gray`
47+
* 3. Remove default `1px` height, and common `overflow: hidden`
48+
*/
49+
hr {
50+
border-style: solid;
51+
border-width: 1px 0 0;
52+
color: inherit;
53+
height: 0;
54+
overflow: visible;
55+
}
4656

4757

4858
/* Embedded Elements

0 commit comments

Comments
 (0)