cleans up code listing html/sass

This commit is contained in:
Samuel Ryan 2015-11-06 23:19:22 +00:00
parent 8496c5a115
commit 46b8760f61
3 changed files with 24 additions and 25 deletions

View File

@ -52,38 +52,40 @@ code {
padding: 25px 0px 10px 0px;
}
.introduction {
// border-bottom: 4px solid #f9f9f9;
}
.codes {
margin-bottom: 40px;
section {
ul {
font-family: 'Open Sans', sans-serif;
font-size: 14px;
letter-spacing: 0.5px;
list-style-type: none;
margin-bottom: 10px;
h2 {
font-weight: bold;
}
h2, h3 {
font-family: 'Open Sans', sans-serif;
font-size: 14px;
font-weight: bold;
letter-spacing: 0.5px;
margin-bottom: 2px;
margin-bottom: 0px;
}
li {
margin-bottom: 0px;
a {
font-weight: normal;
}
a:hover {
color: #d6156d;
}
&:hover {
color: #d6156d;
}
a span {
color: #d6156d;
font-family: 'Source Code Pro';
width: 34px;
span {
color: #d6156d;
font-family: 'Source Code Pro';
font-weight: bold;
width: 34px;
}
}
}
}

View File

@ -3,10 +3,9 @@ extends layout.jade
block contents
.hero.introduction: .container: .row: .twelve.columns !{contents}
.container.codes
.container.codes: .row: .twelve.columns
each group in groups.codes
section
ul
h2 !{group.title}
each code in group.items
article
h3 #[a(href='/#{code.code}') #[span !{code.code}] #{code.title}]
li #[a(href='/#{code.code}') #[span !{code.code}] #{code.title}]

View File

@ -1,10 +1,8 @@
block title
title #{title} — httpstatus.es
doctype html
html(lang="en")
head
block title
#{title} — httpstatus.es
link(rel='shortcut icon', href='/' + fingerprint['favicon.ico'], type='image/x-icon')
link(rel='stylesheet', href='/' + fingerprint['style.css'])
link(rel='stylesheet', href='https://fonts.googleapis.com/css?family=Montserrat|Open+Sans|Source+Code+Pro:700', type='text/css')