Styles lists used in status code descriptions

This commit is contained in:
Samuel Ryan 2015-11-08 23:37:49 +00:00
parent a2b46df2a5
commit e0c7e68db2
2 changed files with 26 additions and 12 deletions

View File

@ -96,7 +96,7 @@ code {
.code { .code {
margin: 25px auto; margin: 25px auto;
p:first-of-type { > p:first-of-type {
font-size: 18px; font-size: 18px;
} }
@ -121,14 +121,29 @@ code {
text-transform: uppercase; text-transform: uppercase;
} }
ul {
font-size: 14px;
list-style-position: outside;
margin: 0px 0px 10px 20px;
li {
margin: 2px 0 0 0;
}
ul {
margin: 5px 0 0 10px;
}
}
hr { hr {
border-top: 1px solid #eee; border-top: 1px solid #eee;
margin: 10px 0px; margin: 10px 0px;
} }
ul { hr ~ ul {
font-size: 12px; font-size: 12px;
list-style-type: none; list-style-type: none;
margin: 0px;
li { li {
margin: 0px; margin: 0px;

View File

@ -4,13 +4,12 @@ block title
title !{code} !{title} — httpstatuses.com title !{code} !{title} — httpstatuses.com
block contents block contents
.code article.code.container
article.container.code: .row: .twelve.columns h2 !{groups.codes[set].title}
h2 !{groups.codes[set].title} h1 #[span !{code}] !{title}
h1 #[span !{code}] !{title} != contents
!= contents if references
if references h1.section #[span !{code}] Code References
h1.section #[span !{code}] Code References each value, key in references
each value, key in references p !{key} #[code !{value}]
p !{key} #[code !{value}] a(href='/') ← Return to httpstatuses.com
a(href='/') ← Return to httpstatuses.com