Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
wfpl-cms.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3b9b94e
)
stylus: s/-/_/ in variable names
author
Jason Woofenden
<jason@jasonwoof.com>
Tue, 23 Jun 2015 16:38:21 +0000
(12:38 -0400)
committer
Jason Woofenden
<jason@jasonwoof.com>
Tue, 23 Jun 2015 16:38:21 +0000
(12:38 -0400)
styl.styl
patch
|
blob
|
history
diff --git
a/styl.styl
b/styl.styl
index
54ac463
..
bf86721
100644
(file)
--- a/
styl.styl
+++ b/
styl.styl
@@
-2,19
+2,18
@@
@require '.sha1sums.styl'
// dimensions
@require '.sha1sums.styl'
// dimensions
-site-width = 934px // inside the shadow
-site-padding = 30px
-content-width = (site-width - (site-padding * 2))
-font-size-normal = 15px
-font-size-small = 13px
-font-size-tiny = 11px
-site-column-gap = 40px
-spritesheet-height = 1050px // for sprites near bottom
+site_width = 934px // inside the shadow
+site_padding = 30px
+content_width = (site_width - (site_padding * 2))
+font_size_normal = 15px
+font_size_small = 13px
+font_size_tiny = 11px
+site_column_gap = 40px
// colors
// colors
-content-bg = #fff
-content-fg = #000
-window-bg = #e6e7e8
+content_bg = #fff
+content_fg = #000
+window_bg = #e6e7e8
// always show vertical scrollbar, so content doesn't shift around when
// switching from tall to short pages
// always show vertical scrollbar, so content doesn't shift around when
// switching from tall to short pages
@@
-130,9
+129,9
@@
p.attrib, p.attribution
body
margin: 0
padding: 0
body
margin: 0
padding: 0
- background: window-bg
- color: content-fg
- font: font-size-normal Arimo, Arial, sans-serif
+ background: window_bg
+ color: content_fg
+ font: font_size_normal Arimo, Arial, sans-serif
// expand the ckeditor widget so there's space for the content to be exactly
// the size of the content outside the editor
// expand the ckeditor widget so there's space for the content to be exactly
// the size of the content outside the editor
@@
-141,19
+140,19
@@
body
margin-left: -15px
// <body> tag within ckeditor
#admin_pages-wysiwyg-content
margin-left: -15px
// <body> tag within ckeditor
#admin_pages-wysiwyg-content
- background: content-bg
- width: content-width
+ background: content_bg
+ width: content_width
margin: 0 auto
// outermost div for centering, shadow, etc
#centerer
position: relative
margin: 0 auto
// outermost div for centering, shadow, etc
#centerer
position: relative
- background: content-bg
+ background: content_bg
padding-top: 150px
padding-top: 150px
- padding-right: site-padding
- padding-bottom: site-padding
- padding-left: site-padding
- width: site-width - @padding-left - @padding-right
+ padding-right: site_padding
+ padding-bottom: site_padding
+ padding-left: site_padding
+ width: site_width - @padding-left - @padding-right
margin: 10px auto
nav#site-nav
margin: 10px auto
nav#site-nav