Skip to content

Commit

Permalink
feat(curtana): add description list styles
Browse files Browse the repository at this point in the history
  • Loading branch information
sparanoid committed Dec 10, 2016
1 parent 6305b75 commit 27feb67
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions _app/assets/themes/curtana/_less/common.less
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ body:hover .latest {
line-height: (@line-height * 1.2 / .8);
text-align: right;
opacity: .6;
pointer-events: none;
}

> ul,
Expand All @@ -226,6 +227,30 @@ body:hover .latest {
padding-right: .3em;
}

dl {
line-height: (@line-height * 1.2);

@media (max-width: @breakpoint-sm) {
margin-left: 1em;
}

dt {

&:before {
position: absolute;
width: 1em;
margin-left: -1em;
content: "-";
opacity: .6;
pointer-events: none;
}
}

dd {
margin-bottom: 1.8rem;
}
}

img,
video,
iframe,
Expand Down

0 comments on commit 27feb67

Please sign in to comment.