diff options
author | SkyArrow <tommy351@gmail.com> | 2012-01-24 18:17:31 +0100 |
---|---|---|
committer | SkyArrow <tommy351@gmail.com> | 2012-01-24 18:17:31 +0100 |
commit | a9a4bf51f0597ec616fa7e3345ac6f4203f0a273 (patch) | |
tree | f5edc2fce5ffee2cbb46b8bc0e8faef3796c4910 /sass/base | |
parent | 29e9aa4d923db3c9703d1b7288f709534c1d39fe (diff) | |
download | octopress-theme-jeyzu-a9a4bf51f0597ec616fa7e3345ac6f4203f0a273.zip octopress-theme-jeyzu-a9a4bf51f0597ec616fa7e3345ac6f4203f0a273.tar.gz |
add library
Diffstat (limited to 'sass/base')
-rw-r--r-- | sass/base/_layout.scss | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sass/base/_layout.scss b/sass/base/_layout.scss index 0ccdb0d..1d11880 100644 --- a/sass/base/_layout.scss +++ b/sass/base/_layout.scss @@ -15,6 +15,15 @@ $max-width: 1000px; border-top: 1px solid $top; border-bottom: 1px solid $bottom; } +@mixin center($width, $height){ + position: absolute; + top: 50%; + left: 50%; + margin-left: $width/(-2); + margin-top: $height/(-2); + width: $width; + height: $height; +} *{ margin: 0; |