Commit d744b8a2 authored by Robert Lord's avatar Robert Lord

Add styling for definition lists

parent 730ee46d
......@@ -154,7 +154,7 @@ html, body {
background-color: $main-bg;
padding-bottom: 1px; // prevent margin overflow
// The dark box is what gives the code samples their dark background.
// It sits essentially under the actual content block, which has a
// transparent background.
......@@ -214,7 +214,7 @@ html, body {
z-index: 30;
&>h1, &>h2, &>h3, &>p, &>table, &>ul, &>ol, &>aside {
&>h1, &>h2, &>h3, &>p, &>table, &>ul, &>ol, &>aside, &>dl {
margin-right: $examples-width;
padding: 0 $main-padding;
@include box-sizing(border-box);
......@@ -227,7 +227,7 @@ html, body {
}
// the div is the tocify hidden div for placeholding stuff
&>h1, &>h2, &>div {
&>h1, &>h2, &>div {
clear:both;
}
......@@ -313,8 +313,15 @@ html, body {
}
}
dt {
font-weight: bold;
}
dd {
margin-left: 15px;
}
p, li {
p, li, dt, dd {
line-height: 1.6;
margin-top: 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment