wip
This commit is contained in:
parent
2eee2e7ffd
commit
0fc0af5efc
7
Rules
7
Rules
|
@ -69,7 +69,12 @@ compile '/js/*/' do
|
|||
end
|
||||
|
||||
route '/js/*/' do
|
||||
fp = fingerprint(item[:filename])
|
||||
if ENV['NANOC_ENV'] == "production"
|
||||
fp = fingerprint(item[:filename])
|
||||
else
|
||||
fp = ''
|
||||
end
|
||||
|
||||
item.identifier.chop + fp + '.js'
|
||||
end
|
||||
|
||||
|
|
30
content/css/_adpack.sass
Normal file
30
content/css/_adpack.sass
Normal file
|
@ -0,0 +1,30 @@
|
|||
// aside#adpack
|
||||
// // The Ad
|
||||
// .bsa_it
|
||||
// background-color: $clouds
|
||||
//
|
||||
// .bsa_it_ad
|
||||
// padding-top: rhythm(0.5)
|
||||
// padding-right: rhythm(0.5)
|
||||
// padding-bottom: rhythm(0.25)
|
||||
// padding-left: rhythm(0.5)
|
||||
//
|
||||
// // Image
|
||||
// .bsa_it_i
|
||||
// float: left
|
||||
// margin-right: rhythm(0.5)
|
||||
//
|
||||
// // Title
|
||||
// .bsa_it_t
|
||||
// color: $concrete
|
||||
// display: block
|
||||
// margin-top: rhythm(1)
|
||||
//
|
||||
// // Description
|
||||
// .bsa_it_d
|
||||
// color: $text-color
|
||||
// display: block
|
||||
//
|
||||
// // By AdPack
|
||||
// .bsa_it_p
|
||||
// display: none
|
|
@ -1,4 +1,4 @@
|
|||
$max-width: em(980)
|
||||
$max-width: em(920)
|
||||
$mobile: new-breakpoint(max-width 480px)
|
||||
|
||||
section#wrapper
|
||||
|
@ -8,12 +8,27 @@ section#wrapper
|
|||
@include media($mobile)
|
||||
border: rhythm(0.5) solid transparent
|
||||
|
||||
header
|
||||
@include span-columns(12)
|
||||
@include omega()
|
||||
|
||||
footer
|
||||
@include span-columns(12)
|
||||
@include omega()
|
||||
|
||||
section#page
|
||||
padding: rhythm(2)
|
||||
|
||||
@include media($mobile)
|
||||
padding: rhythm(1)
|
||||
|
||||
section#content
|
||||
@include span-columns(9)
|
||||
|
||||
aside#adpack
|
||||
@include span-columns(3)
|
||||
@include omega()
|
||||
|
||||
nav#primary,
|
||||
nav#social
|
||||
ol
|
||||
|
|
|
@ -1,13 +1,60 @@
|
|||
$base-font-size: 14px
|
||||
$base-line-height: 22px
|
||||
@import url(http://fonts.googleapis.com/css?family=PT+Sans:700)
|
||||
|
||||
$text-color: #393939
|
||||
$base-font-size: 16px
|
||||
$base-line-height: 26px
|
||||
|
||||
@import "compass/typography"
|
||||
|
||||
@include establish-baseline
|
||||
|
||||
html
|
||||
font-family: $helvetica
|
||||
html, body
|
||||
font-family: 'PT Sans'
|
||||
font-weight: 200
|
||||
background-color: #737373
|
||||
color: $text-color
|
||||
|
||||
#title
|
||||
a
|
||||
color: $peterriver
|
||||
text-decoration: none
|
||||
|
||||
section#page
|
||||
background-color: #ffffff
|
||||
|
||||
header
|
||||
h1
|
||||
@include adjust-font-size-to(48px)
|
||||
@include adjust-font-size-to(32px)
|
||||
font-family: 'PT Sans'
|
||||
font-weight: 700
|
||||
|
||||
nav#primary
|
||||
ol
|
||||
li
|
||||
@include adjust-font-size-to(16px)
|
||||
margin-right: rhythm(0.5)
|
||||
font-family: 'PT Sans'
|
||||
|
||||
a
|
||||
color: $concrete
|
||||
|
||||
nav#social
|
||||
display: none
|
||||
|
||||
article.post
|
||||
margin-top: rhythm(1)
|
||||
|
||||
p
|
||||
margin-bottom: rhythm(1)
|
||||
|
||||
#meta
|
||||
font-family: 'PT Sans'
|
||||
font-weight: 200
|
||||
color: $concrete
|
||||
|
||||
h1
|
||||
@include adjust-font-size-to(48px)
|
||||
color: $peterriver
|
||||
|
||||
#body
|
||||
|
||||
#comments
|
||||
|
|
|
@ -15,5 +15,7 @@
|
|||
/* == Colours and backgrounds == */
|
||||
@import "colours"
|
||||
|
||||
@import "adpack"
|
||||
|
||||
/* == Pygments == */
|
||||
@import "pygments"
|
||||
|
|
Loading…
Reference in New Issue
Block a user