Skip to content

Commit

Permalink
Style both <dt>s the same, fixes #20
Browse files Browse the repository at this point in the history
  • Loading branch information
lorensr committed Jul 22, 2016
1 parent c76bf70 commit 50bc61e
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 15 deletions.
20 changes: 5 additions & 15 deletions source/style/_theme/content.less
Original file line number Diff line number Diff line change
Expand Up @@ -113,21 +113,7 @@
dl {
padding-left: 0;

dt {
.type-code;
.font-code;
color: @color-complementary;

.type {
.font-s1;
.type-primary;
.type-italic;
color: @color-dark;
margin-left: 10px;
}

a { &:extend(.link.primary); }
}
dt { .term-code; }

dd { margin-left: 0; }
}
Expand Down Expand Up @@ -182,4 +168,8 @@
margin-bottom: 1.5rem;
text-align: center;
}

.objdesc > dt {
.term-code;
}
}
16 changes: 16 additions & 0 deletions source/style/_util/ui.import.less
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,19 @@
font-size: 0;
> * { .font-s3; }
}

.term-code() {
.type-code;
.font-code;
color: @color-complementary;

.type {
.font-s1;
.type-primary;
.type-italic;
color: @color-dark;
margin-left: 10px;
}

a { &:extend(.link.primary); }
}

0 comments on commit 50bc61e

Please sign in to comment.