diff --git a/contents/style.scss b/contents/style.scss index 8525686..2fa7fd6 100644 --- a/contents/style.scss +++ b/contents/style.scss @@ -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; diff --git a/templates/code.jade b/templates/code.jade index 45897bd..57b70bc 100644 --- a/templates/code.jade +++ b/templates/code.jade @@ -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 \ No newline at end of file + 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 \ No newline at end of file