Skip to content

Commit

Permalink
[refs #21] Tidy up generic spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
csswizardry committed Jul 3, 2016
1 parent 8396369 commit 0f201b1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions generic/_generic.reset.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ hr {
/**
* Remove trailing margins from nested lists.
*/

li > {

ul,
Expand All @@ -34,6 +35,7 @@ li > {
/**
* Remove default table spacing.
*/

table {
border-collapse: collapse;
border-spacing: 0;
Expand Down
6 changes: 6 additions & 0 deletions generic/_generic.shared.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
* Always declare margins in the same direction:
* csswizardry.com/2012/06/single-direction-margin-declarations
*/

h1, h2, h3, h4, h5, h6,
ul, ol, dl,
blockquote, p, address,
Expand All @@ -20,6 +21,11 @@ pre {
margin-bottom: $inuit-global-spacing-unit;
}


/**
* Consistent indentation for lists.
*/

ul, ol,
dd {
margin-left: $inuit-global-spacing-unit;
Expand Down

0 comments on commit 0f201b1

Please sign in to comment.