mirror of
https://github.com/rmaake1/httpstatuses.git
synced 2024-10-06 08:07:21 +02:00
cleans up code listing html/sass
This commit is contained in:
parent
8496c5a115
commit
46b8760f61
@ -52,42 +52,44 @@ code {
|
||||
padding: 25px 0px 10px 0px;
|
||||
}
|
||||
|
||||
.introduction {
|
||||
// border-bottom: 4px solid #f9f9f9;
|
||||
}
|
||||
|
||||
.codes {
|
||||
margin-bottom: 40px;
|
||||
|
||||
section {
|
||||
margin-bottom: 10px;
|
||||
|
||||
h2 {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
h2, h3 {
|
||||
ul {
|
||||
font-family: 'Open Sans', sans-serif;
|
||||
font-size: 14px;
|
||||
letter-spacing: 0.5px;
|
||||
margin-bottom: 2px;
|
||||
list-style-type: none;
|
||||
margin-bottom: 10px;
|
||||
|
||||
h2 {
|
||||
font-family: 'Open Sans', sans-serif;
|
||||
font-size: 14px;
|
||||
font-weight: bold;
|
||||
letter-spacing: 0.5px;
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
|
||||
li {
|
||||
margin-bottom: 0px;
|
||||
|
||||
a {
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
&:hover {
|
||||
color: #d6156d;
|
||||
}
|
||||
|
||||
a span {
|
||||
span {
|
||||
color: #d6156d;
|
||||
font-family: 'Source Code Pro';
|
||||
font-weight: bold;
|
||||
width: 34px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.code {
|
||||
margin: 25px auto;
|
||||
|
@ -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}]
|
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user