Commit d744b8a2 authored by Robert Lord's avatar Robert Lord

Add styling for definition lists

parent 730ee46d
...@@ -154,7 +154,7 @@ html, body { ...@@ -154,7 +154,7 @@ html, body {
background-color: $main-bg; background-color: $main-bg;
padding-bottom: 1px; // prevent margin overflow padding-bottom: 1px; // prevent margin overflow
// The dark box is what gives the code samples their dark background. // The dark box is what gives the code samples their dark background.
// It sits essentially under the actual content block, which has a // It sits essentially under the actual content block, which has a
// transparent background. // transparent background.
...@@ -214,7 +214,7 @@ html, body { ...@@ -214,7 +214,7 @@ html, body {
z-index: 30; z-index: 30;
&>h1, &>h2, &>h3, &>p, &>table, &>ul, &>ol, &>aside { &>h1, &>h2, &>h3, &>p, &>table, &>ul, &>ol, &>aside, &>dl {
margin-right: $examples-width; margin-right: $examples-width;
padding: 0 $main-padding; padding: 0 $main-padding;
@include box-sizing(border-box); @include box-sizing(border-box);
...@@ -227,7 +227,7 @@ html, body { ...@@ -227,7 +227,7 @@ html, body {
} }
// the div is the tocify hidden div for placeholding stuff // the div is the tocify hidden div for placeholding stuff
&>h1, &>h2, &>div { &>h1, &>h2, &>div {
clear:both; clear:both;
} }
...@@ -313,8 +313,15 @@ html, body { ...@@ -313,8 +313,15 @@ html, body {
} }
} }
dt {
font-weight: bold;
}
dd {
margin-left: 15px;
}
p, li { p, li, dt, dd {
line-height: 1.6; line-height: 1.6;
margin-top: 0; 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