mirror of
https://github.com/danbulant/api_docs
synced 2026-06-20 06:41: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;
|
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 {
|
||||||
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 {
|
||||||
}
|
}
|
||||||
|
|
||||||
// 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 {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
dt {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
p, li {
|
dd {
|
||||||
|
margin-left: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
p, li, dt, dd {
|
||||||
line-height: 1.6;
|
line-height: 1.6;
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue