diff --git a/contents/style.scss b/contents/style.scss index 8260401..8525686 100644 --- a/contents/style.scss +++ b/contents/style.scss @@ -98,8 +98,6 @@ code { p:first-of-type { font-size: 18px; - padding-bottom: 10px; - border-bottom: 2px solid #eee; } h1 { @@ -110,6 +108,10 @@ code { span { color: #d6156d; } + + &.section { + margin-top: 20px; + } } h2 { @@ -118,4 +120,27 @@ code { letter-spacing: 0.5px; text-transform: uppercase; } + + hr { + border-top: 1px solid #eee; + margin: 10px 0px; + } + + ul { + font-size: 12px; + list-style-type: none; + + li { + margin: 0px; + + span:target { + background-color: #f9f9f9; + color: #222; + } + + &:last-of-type { + margin-top: 6px; + } + } + } } \ No newline at end of file diff --git a/templates/code.jade b/templates/code.jade index 2d30a97..45897bd 100644 --- a/templates/code.jade +++ b/templates/code.jade @@ -10,7 +10,7 @@ block contents h1 #[span !{code}] !{title} != contents if references - h1 #[span !{code}] Code 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