Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

dependency updates, trying for firefox support, no success

  • Loading branch information...
commit 4e38b500b64db7d6faf1f93b699136e0b7053e65 1 parent 58d3b6f
@balupton balupton authored
Showing with 19 additions and 13 deletions.
  1. +8 −8 package.json
  2. +11 −5 site/src/documents/styles/style.css.styl
View
16 package.json
@@ -24,7 +24,7 @@
"npm": "1.1.x"
},
"dependencies": {
- "docpad": "6.21.x",
+ "docpad": "~6.21.7",
"docpad-plugin-coffeekup": "2.x",
"docpad-plugin-coffeescript": "2.x",
"docpad-plugin-eco": "2.x",
@@ -35,15 +35,15 @@
"docpad-plugin-services": "2.x",
"docpad-plugin-stylus": "2.1.x",
"docpad-plugin-text": "2.x",
- "feedr": "2.4.x",
- "bal-util": "~1.15.3",
- "moment": "1.7.x",
- "underscore": "1.4.x",
- "underscore.string": "2.3.x",
- "request": "2.11.x"
+ "feedr": "~2.4.1",
+ "bal-util": "~1.16.2",
+ "moment": "~1.7.2",
+ "underscore": "~1.4.4",
+ "underscore.string": "~2.3.1",
+ "request": "~2.12.0"
},
"devDependencies": {
- "coffee-script": "1.4.x",
+ "coffee-script": "~1.4.0",
"docpad-plugin-livereload": "2.x"
},
"subdomain": "docpad",
View
16 site/src/documents/styles/style.css.styl
@@ -37,13 +37,16 @@ wrapper($site-width = 70%)
column($columns)
display: inline
float: left
- overflow: hidden
width: (100/$columns)%
// ====================================
// Configuration
+// Helpers
+zoom($size)
+ zoom: $size
+
// Fonts
fontMyraid = "Myriad Pro", "Segoe WP", "Segoe UI", Segoe, Calibri, Helvetica, Arial
fontMyraidBoldest = 700
@@ -416,6 +419,7 @@ nav li
display: block
.image
+ display: block
background: url(../img/splash-features.png) no-repeat 4px 100%
width: 152px
height: 256px
@@ -773,7 +777,9 @@ nav li
.splash
.overview
li
- zoom: 0.9
+ font-size: 90%
+ .image
+ zoom(0.9)
@media screen and (max-width: 1024px)
// Remove side padding
@@ -834,7 +840,7 @@ nav li
li
margin: 0 3%
.image
- zoom: 0.8
+ zoom(0.8)
@media screen and (max-width: 768px)
// Reduce doc columns per row to 2
@@ -899,7 +905,7 @@ nav li
float: none
padding: 0 0 2em
.image
- zoom: 0.6
+ zoom(0.6)
.block
h2
@@ -922,7 +928,7 @@ nav li
.overview
li
.image
- zoom: 0.5
+ zoom(0.5)
@media screen and (max-width: 450px)
// Shrink features even more

2 comments on commit 4e38b50

@chase

Unfortunately, there is no support for zoom in Firefox.
The closest thing to it is transform: scale( ... )

@balupton
Owner

Yep tried it, but for some reason the positioning of the images goes whacked out, as if it doesn't adjust for the different sizes, like it center middle shrinks, rather than shrinks in the direction of the text align.

Please sign in to comment.
Something went wrong with that request. Please try again.