Skip to content

Commit

Permalink
Move dl style rules into lists partial
Browse files Browse the repository at this point in the history
Definition list (dl) is clearly not a typography topic
  • Loading branch information
tvdeyen committed Apr 22, 2022
1 parent 6ed3400 commit 6b712ee
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 32 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,38 +57,6 @@ ul.text_list {
padding-left: 0;
}

dl {
width: 100%;
overflow: hidden;
margin: 5px 0;
color: lighten($body-color, 15);

dt, dd {
float: left;
line-height: 16px;
padding: 5px;
}

dt {
width: 40%;
font-weight: $font-weight-bold;
padding-left: 0;
clear: left;
}

dd {
width: 60%;
padding-right: 0;
margin-left: 0;
}
}

.dl-collapse {
dt, dd {
width: auto;
}
}

// Helpers
.align-center { text-align: center }
.align-right { text-align: right }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,37 @@
padding-left: 0;
list-style: none;
}

dl {
width: 100%;
overflow: hidden;
margin: 5px 0;
color: lighten($body-color, 15);

dt,
dd {
float: left;
line-height: 16px;
padding: 5px;
}

dt {
width: 40%;
font-weight: $font-weight-bold;
padding-left: 0;
clear: left;
}

dd {
width: 60%;
padding-right: 0;
margin-left: 0;
}
}

.dl-collapse {
dt,
dd {
width: auto;
}
}

0 comments on commit 6b712ee

Please sign in to comment.