mirror of
https://github.com/rmaake1/httpstatuses.git
synced 2024-09-03 16:19:48 +02:00
cleans up code listing html/sass
This commit is contained in:
parent
8496c5a115
commit
46b8760f61
@ -52,38 +52,40 @@ code {
|
|||||||
padding: 25px 0px 10px 0px;
|
padding: 25px 0px 10px 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.introduction {
|
|
||||||
// border-bottom: 4px solid #f9f9f9;
|
|
||||||
}
|
|
||||||
|
|
||||||
.codes {
|
.codes {
|
||||||
margin-bottom: 40px;
|
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;
|
margin-bottom: 10px;
|
||||||
|
|
||||||
h2 {
|
h2 {
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
|
|
||||||
h2, h3 {
|
|
||||||
font-family: 'Open Sans', sans-serif;
|
font-family: 'Open Sans', sans-serif;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
|
font-weight: bold;
|
||||||
letter-spacing: 0.5px;
|
letter-spacing: 0.5px;
|
||||||
margin-bottom: 2px;
|
margin-bottom: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
li {
|
||||||
|
margin-bottom: 0px;
|
||||||
|
|
||||||
a {
|
a {
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
}
|
|
||||||
|
|
||||||
a:hover {
|
&:hover {
|
||||||
color: #d6156d;
|
color: #d6156d;
|
||||||
}
|
}
|
||||||
|
|
||||||
a span {
|
span {
|
||||||
color: #d6156d;
|
color: #d6156d;
|
||||||
font-family: 'Source Code Pro';
|
font-family: 'Source Code Pro';
|
||||||
width: 34px;
|
font-weight: bold;
|
||||||
|
width: 34px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -3,10 +3,9 @@ extends layout.jade
|
|||||||
block contents
|
block contents
|
||||||
.hero.introduction: .container: .row: .twelve.columns !{contents}
|
.hero.introduction: .container: .row: .twelve.columns !{contents}
|
||||||
|
|
||||||
.container.codes
|
.container.codes: .row: .twelve.columns
|
||||||
each group in groups.codes
|
each group in groups.codes
|
||||||
section
|
ul
|
||||||
h2 !{group.title}
|
h2 !{group.title}
|
||||||
each code in group.items
|
each code in group.items
|
||||||
article
|
li #[a(href='/#{code.code}') #[span !{code.code}] #{code.title}]
|
||||||
h3 #[a(href='/#{code.code}') #[span !{code.code}] #{code.title}]
|
|
@ -1,10 +1,8 @@
|
|||||||
block title
|
|
||||||
title #{title} — httpstatus.es
|
|
||||||
|
|
||||||
doctype html
|
doctype html
|
||||||
html(lang="en")
|
html(lang="en")
|
||||||
head
|
head
|
||||||
block title
|
block title
|
||||||
|
#{title} — httpstatus.es
|
||||||
link(rel='shortcut icon', href='/' + fingerprint['favicon.ico'], type='image/x-icon')
|
link(rel='shortcut icon', href='/' + fingerprint['favicon.ico'], type='image/x-icon')
|
||||||
link(rel='stylesheet', href='/' + fingerprint['style.css'])
|
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')
|
link(rel='stylesheet', href='https://fonts.googleapis.com/css?family=Montserrat|Open+Sans|Source+Code+Pro:700', type='text/css')
|
||||||
|
Loading…
Reference in New Issue
Block a user