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 {
margin: 25px auto;
p:first-of-type {
> p:first-of-type {
font-size: 18px;
}
@ -121,14 +121,29 @@ code {
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 {
border-top: 1px solid #eee;
margin: 10px 0px;
}
ul {
hr ~ ul {
font-size: 12px;
list-style-type: none;
margin: 0px;
li {
margin: 0px;

View File

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