mirror of
https://github.com/danbulant/api_docs
synced 2026-05-19 04:08:40 +00:00
Add styling for definition lists
This commit is contained in:
parent
730ee46de9
commit
d744b8a22f
1 changed files with 11 additions and 4 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
p, li {
|
||||
dd {
|
||||
margin-left: 15px;
|
||||
}
|
||||
|
||||
p, li, dt, dd {
|
||||
line-height: 1.6;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue