Skip to content

Commit

Permalink
dependency updates, trying for firefox support, no success
Browse files Browse the repository at this point in the history
  • Loading branch information
balupton committed Feb 1, 2013
1 parent 58d3b6f commit 4e38b50
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 13 deletions.
16 changes: 8 additions & 8 deletions package.json
Expand Up @@ -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",
Expand All @@ -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",
Expand Down
16 changes: 11 additions & 5 deletions site/src/documents/styles/style.css.styl
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -899,7 +905,7 @@ nav li
float: none
padding: 0 0 2em
.image
zoom: 0.6
zoom(0.6)

.block
h2
Expand All @@ -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
Expand Down

2 comments on commit 4e38b50

@chase
Copy link
Contributor

@chase chase commented on 4e38b50 Feb 1, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

@balupton
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.