Skip to content

Commit

Permalink
Merge pull request #56 from mozdevs/hr
Browse files Browse the repository at this point in the history
Improved hr styles, see #27
  • Loading branch information
mirisuzanne authored Sep 12, 2019
2 parents e24c0f2 + 300f314 commit f0cf50b
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions remedy.css
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,18 @@ h1 { margin: 0.67em 0; }
/* Overflow by default is bad */
pre { white-space: pre-wrap; }

/* Solid, thin horizonatal rules */
hr { border: 0.5px solid; }
/*
* 1. Solid, thin horizonatal rules
* 2. Remove Firefox `color: gray`
* 3. Remove default `1px` height, and common `overflow: hidden`
*/
hr {
border-style: solid;
border-width: 1px 0 0;
color: inherit;
height: 0;
overflow: visible;
}


/* Embedded Elements
Expand Down

0 comments on commit f0cf50b

Please sign in to comment.