Skip to content

Commit

Permalink
Updated <hr>
Browse files Browse the repository at this point in the history
  • Loading branch information
TBarregren committed Apr 1, 2021
1 parent 0a9502b commit 87754dd
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
9 changes: 5 additions & 4 deletions kntnt-css-framework/content.css
Original file line number Diff line number Diff line change
Expand Up @@ -417,19 +417,19 @@ hr.double {
}

hr.single {
border-top: 1px solid var(--text-color);
border-top: 1px solid var(--hr-color-line);
}

hr.dashed {
border-top: 2px dashed var(--text-color);
border-top: 2px dashed var(--hr-color-line);
}

hr.dotted {
border-top: 3px dotted var(--text-color);
border-top: 3px dotted var(--hr-color-line);
}

hr.double {
border-top: 5px double var(--text-color);
border-top: 5px double var(--hr-color-line);
}


Expand All @@ -443,6 +443,7 @@ hr.fleuron {
margin: 2em 0;
text-align: center;
line-height: 1px;
color: var(--hr-color-dinkus);
}

hr.dinkus::after {
Expand Down
8 changes: 8 additions & 0 deletions kntnt-css-framework/defaults.css
Original file line number Diff line number Diff line change
Expand Up @@ -476,6 +476,14 @@
--image-shadow: var(--shadow);


/**
* Defaults for <hr>
*/

--hr-color-line: var(--gray-viii);
--hr-color-dinkus: var(--text-color);


/**
* Defaults for <del> and <ins>
*/
Expand Down

0 comments on commit 87754dd

Please sign in to comment.