1 @require 'inc/wfpl/stylus_helpers.styl'
2 @require '.sha1sums.styl'
5 site_width = 934px // inside the shadow
7 content_width = (site_width - (site_padding * 2))
8 font_size_normal = 15px
11 site_column_gap = 40px
18 // always show vertical scrollbar, so content doesn't shift around when
19 // switching from tall to short pages
23 header, hgroup, section, footer, aside, nav, article, figure, img
29 border: 1px solid black
45 border: 1px dotted black
46 padding: 0 15px 15px 15px
100 margin: 15px 15px 0 15px
102 p.quote:before, p.quote:after
107 display: inline-block
118 width: 0; // make sure it doesn't wrap
120 p.attrib, p.attribution
121 margin: 0 0 15px 20px
132 background: window_bg
134 font: font_size_normal Arimo, Arial, sans-serif
136 // call this for each ckeditor on each page
137 ckeditor(basename, element_name, width)
138 // ckeditor ui, including border around wysiwyg area
139 #{basename}_body #cke_{element_name}
145 // body tag of the wysiwyg area
146 #{basename}_wysiwyg_{element_name}
147 background: content_bg
154 border-right: 20px solid #eee
155 border-left: 20px solid #eee
156 border-top: 1px solid #eee
157 border-bottom: 1px solid #eee
160 ckeditor('admin_pages', 'content', content_width)
162 // outermost div for centering, shadow, etc
165 background: content_bg
167 padding-right: site_padding
168 padding-bottom: site_padding
169 padding-left: site_padding
170 width: site_width - @padding-left - @padding-right
186 display: inline-block
193 box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4)
204 border-top: 1px dotted #ddc;
218 // floating images (from pastable example code on admin_images)
226 background-repeat: no-repeat
227 background-position: left top
238 background-repeat: no-repeat
239 background-position: left top
247 background-repeat: no-repeat
248 background-position: center top
251 // hack so that vertical margins are only between siblings for the most part
255 article > :first-child,
256 aside > :first-child,
257 section > :first-child,
265 fieldset > :last-child,
266 article > :last-child,
268 section > :last-child,
281 background: rgba(0,0,0,0.04)
284 background: rgba(0,0,0,0.07)
287 background: rgba(0,0,0,0.02)
290 background: rgba(0,0,0,0.09)
294 border: 1px solid red