website_builder_engine 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.gitignore +1 -0
- data/CHANGELOG.textile +7 -0
- data/Gemfile.lock +1 -1
- data/app/assets/stylesheets/website_builder_engine/welcome.css.scss +87 -0
- data/app/controllers/website_builder_engine/articles_controller.rb +1 -0
- data/app/models/article.rb +1 -0
- data/app/models/offerpage.rb +1 -0
- data/app/models/setting.rb +5 -1
- data/app/views/shared/_google_analytics.html.haml +11 -0
- data/app/views/website_builder_engine/articles/_form.html.haml +3 -0
- data/app/views/website_builder_engine/articles/template.html.haml +11 -4
- data/app/views/website_builder_engine/offerpages/_form.html.haml +3 -0
- data/app/views/website_builder_engine/offerpages/template.html.haml +11 -4
- data/app/views/website_builder_engine/settings/_form.html.haml +14 -2
- data/app/views/website_builder_engine/welcome/template.html.haml +21 -16
- data/spec/dummy/app/assets/stylesheets/application.css +28 -2
- data/spec/dummy/app/assets/stylesheets/articles.css.scss +87 -0
- data/spec/dummy/app/assets/stylesheets/base.css.scss +336 -0
- data/spec/dummy/app/assets/stylesheets/home.css.scss +7 -0
- data/spec/dummy/app/assets/stylesheets/layout.css.scss +64 -0
- data/spec/dummy/app/assets/stylesheets/normalize.css.scss +413 -0
- data/spec/dummy/app/assets/stylesheets/offerpages.css.scss +232 -0
- data/spec/dummy/app/assets/stylesheets/scaffolds.css.scss +56 -0
- data/spec/dummy/app/assets/stylesheets/settings.css.scss +7 -0
- data/spec/dummy/app/assets/stylesheets/skeleton.css.scss +237 -0
- data/spec/dummy/app/assets/stylesheets/welcome.css.scss +88 -0
- data/spec/dummy/log/development.log +752 -0
- data/spec/dummy/public/howto/using-rails-3-1.html +105 -0
- data/spec/dummy/public/index.html +94 -0
- data/spec/dummy/tmp/cache/assets/C62/1D0/sprockets%2F1638f87db345b13872695759502b54fe +0 -0
- data/spec/dummy/tmp/cache/assets/C73/800/sprockets%2Fe26c7a52215e3d8315b952630b7d6230 +0 -0
- data/spec/dummy/tmp/cache/assets/CD7/6F0/sprockets%2Fbd3936370d0f952ada5774e2230046ed +0 -0
- data/spec/dummy/tmp/cache/assets/CFA/F70/sprockets%2F3d96de8209591d59d678790b059ed4cb +0 -0
- data/spec/dummy/tmp/cache/assets/D17/4C0/sprockets%2Fb8f748b53e6b83e646f2114a34ca8a86 +0 -0
- data/spec/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/spec/dummy/tmp/cache/assets/D3E/660/sprockets%2Ff27703f6505840cfcd80bce4f380c7a5 +0 -0
- data/spec/dummy/tmp/cache/assets/D44/5E0/sprockets%2F9e993bc311cd8ad60bc66560b6629bd6 +0 -0
- data/spec/dummy/tmp/cache/assets/D46/0F0/sprockets%2Fa788672c315b82d19c5db34f9bcf3a19 +0 -0
- data/spec/dummy/tmp/cache/assets/D54/ED0/sprockets%2F71c9fa01091d432b131da3bb73faf3d4 +0 -0
- data/spec/dummy/tmp/cache/assets/D5E/170/sprockets%2F2f2229c70dcf195564d4d0fd6a12ac1a +0 -0
- data/spec/dummy/tmp/cache/assets/D79/9D0/sprockets%2F6ea17d7230964f04e6dd9cc9a724bf7d +0 -0
- data/spec/dummy/tmp/cache/assets/D9B/890/sprockets%2F350c8c72b1dbd7a84f85424b5cd4def1 +0 -0
- data/spec/dummy/tmp/cache/assets/DA7/4C0/sprockets%2F834c8b5df453ca373b66bca70d74fe8f +0 -0
- data/spec/dummy/tmp/cache/assets/DC8/280/sprockets%2Fa32ab71649e3db15eca95bcc3a7588da +0 -0
- data/spec/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/spec/dummy/tmp/cache/sass/0ab7c234fc1a58954e94a39dac695c435cc5d635/articles.css.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/0ab7c234fc1a58954e94a39dac695c435cc5d635/base.css.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/0ab7c234fc1a58954e94a39dac695c435cc5d635/home.css.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/0ab7c234fc1a58954e94a39dac695c435cc5d635/layout.css.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/0ab7c234fc1a58954e94a39dac695c435cc5d635/normalize.css.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/0ab7c234fc1a58954e94a39dac695c435cc5d635/offerpages.css.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/0ab7c234fc1a58954e94a39dac695c435cc5d635/scaffolds.css.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/0ab7c234fc1a58954e94a39dac695c435cc5d635/settings.css.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/0ab7c234fc1a58954e94a39dac695c435cc5d635/skeleton.css.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/0ab7c234fc1a58954e94a39dac695c435cc5d635/welcome.css.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/a4c85d529bdb9cb90c9baac1d898e753aa526545/welcome.css.scssc +0 -0
- data/version.rb +1 -1
- metadata +96 -20
|
@@ -0,0 +1,413 @@
|
|
|
1
|
+
/*! normalize.css 2011-06-27T20:08 UTC · http://github.com/necolas/normalize.css */
|
|
2
|
+
|
|
3
|
+
/* =============================================================================
|
|
4
|
+
HTML5 element display
|
|
5
|
+
========================================================================== */
|
|
6
|
+
|
|
7
|
+
/*
|
|
8
|
+
* Corrects block display not defined in IE6/7/8/9 & FF3
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
article,
|
|
12
|
+
aside,
|
|
13
|
+
details,
|
|
14
|
+
figcaption,
|
|
15
|
+
figure,
|
|
16
|
+
footer,
|
|
17
|
+
header,
|
|
18
|
+
hgroup,
|
|
19
|
+
nav,
|
|
20
|
+
section {
|
|
21
|
+
display: block;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/*
|
|
25
|
+
* Corrects inline-block display not defined in IE6/7/8/9 & FF3
|
|
26
|
+
* Known limitation: IE6 will not apply style for 'audio[controls]'
|
|
27
|
+
*/
|
|
28
|
+
|
|
29
|
+
audio[controls],
|
|
30
|
+
canvas,
|
|
31
|
+
video {
|
|
32
|
+
display: inline-block;
|
|
33
|
+
*display: inline;
|
|
34
|
+
*zoom: 1;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
/* =============================================================================
|
|
39
|
+
Base
|
|
40
|
+
========================================================================== */
|
|
41
|
+
|
|
42
|
+
/*
|
|
43
|
+
* 1. Corrects text resizing oddly in IE6/7 when body font-size is set using em units
|
|
44
|
+
* http://clagnut.com/blog/348/#c790
|
|
45
|
+
* 2. Keeps page centred in all browsers regardless of content height
|
|
46
|
+
* 3. Removes Android and iOS tap highlight color to prevent entire container being highlighted
|
|
47
|
+
* www.yuiblog.com/blog/2010/10/01/quick-tip-customizing-the-mobile-safari-tap-highlight-color/
|
|
48
|
+
* 4. Prevents iOS text size adjust after orientation change, without disabling user zoom
|
|
49
|
+
* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/
|
|
50
|
+
*/
|
|
51
|
+
|
|
52
|
+
html {
|
|
53
|
+
font-size: 100%; /* 1 */
|
|
54
|
+
overflow-y: scroll; /* 2 */
|
|
55
|
+
-webkit-tap-highlight-color: rgba(0,0,0,0); /* 3 */
|
|
56
|
+
-webkit-text-size-adjust: 100%; /* 4 */
|
|
57
|
+
-ms-text-size-adjust: 100%; /* 4 */
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/*
|
|
61
|
+
* Addresses margins handled incorrectly in IE6/7
|
|
62
|
+
*/
|
|
63
|
+
|
|
64
|
+
body {
|
|
65
|
+
margin: 0;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
/*
|
|
69
|
+
* Addresses font-family inconsistency between 'textarea' and other form elements.
|
|
70
|
+
*/
|
|
71
|
+
|
|
72
|
+
body,
|
|
73
|
+
button,
|
|
74
|
+
input,
|
|
75
|
+
select,
|
|
76
|
+
textarea {
|
|
77
|
+
font-family: sans-serif;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
/* =============================================================================
|
|
82
|
+
Links
|
|
83
|
+
========================================================================== */
|
|
84
|
+
|
|
85
|
+
a {
|
|
86
|
+
color: #00e;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
a:visited {
|
|
90
|
+
color: #551a8b;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
/*
|
|
94
|
+
* Addresses outline displayed oddly in Chrome
|
|
95
|
+
*/
|
|
96
|
+
|
|
97
|
+
a:focus {
|
|
98
|
+
outline: thin dotted;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
/*
|
|
102
|
+
* Improves readability when focused and also mouse hovered in all browsers
|
|
103
|
+
* people.opera.com/patrickl/experiments/keyboard/test
|
|
104
|
+
*/
|
|
105
|
+
|
|
106
|
+
a:hover,
|
|
107
|
+
a:active {
|
|
108
|
+
outline: 0;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
/* =============================================================================
|
|
113
|
+
Typography
|
|
114
|
+
========================================================================== */
|
|
115
|
+
|
|
116
|
+
/*
|
|
117
|
+
* Addresses styling not present in IE7/8/9, S5, Chrome
|
|
118
|
+
*/
|
|
119
|
+
|
|
120
|
+
abbr[title] {
|
|
121
|
+
border-bottom: 1px dotted;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
/*
|
|
125
|
+
* Addresses style set to 'bolder' in FF3/4, S4/5, Chrome
|
|
126
|
+
*/
|
|
127
|
+
|
|
128
|
+
b,
|
|
129
|
+
strong {
|
|
130
|
+
font-weight: bold;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
blockquote {
|
|
134
|
+
margin: 1em 40px;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
/*
|
|
138
|
+
* Addresses styling not present in S5, Chrome
|
|
139
|
+
*/
|
|
140
|
+
|
|
141
|
+
dfn {
|
|
142
|
+
font-style: italic;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
/*
|
|
146
|
+
* Addresses styling not present in IE6/7/8/9
|
|
147
|
+
*/
|
|
148
|
+
|
|
149
|
+
mark {
|
|
150
|
+
background: #ff0;
|
|
151
|
+
color: #000;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
/*
|
|
155
|
+
* Corrects font family set oddly in IE6, S5, Chrome
|
|
156
|
+
* en.wikipedia.org/wiki/User:Davidgothberg/Test59
|
|
157
|
+
*/
|
|
158
|
+
|
|
159
|
+
pre,
|
|
160
|
+
code,
|
|
161
|
+
kbd,
|
|
162
|
+
samp {
|
|
163
|
+
font-family: monospace, monospace;
|
|
164
|
+
_font-family: 'courier new', monospace;
|
|
165
|
+
font-size: 1em;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
/*
|
|
169
|
+
* Improves readability of pre-formatted text in all browsers
|
|
170
|
+
*/
|
|
171
|
+
|
|
172
|
+
pre {
|
|
173
|
+
white-space: pre;
|
|
174
|
+
white-space: pre-wrap;
|
|
175
|
+
word-wrap: break-word;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
/*
|
|
179
|
+
* 1. Addresses CSS quotes not supported in IE6/7
|
|
180
|
+
* 2. Addresses quote property not supported in S4
|
|
181
|
+
*/
|
|
182
|
+
|
|
183
|
+
/* 1 */
|
|
184
|
+
|
|
185
|
+
q {
|
|
186
|
+
quotes: none;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
/* 2 */
|
|
190
|
+
|
|
191
|
+
q:before,
|
|
192
|
+
q:after {
|
|
193
|
+
content: '';
|
|
194
|
+
content: none;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
small {
|
|
198
|
+
font-size: 75%;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
/*
|
|
202
|
+
* Prevents sub and sup affecting line-height in all browsers
|
|
203
|
+
* gist.github.com/413930
|
|
204
|
+
*/
|
|
205
|
+
|
|
206
|
+
sub,
|
|
207
|
+
sup {
|
|
208
|
+
font-size: 75%;
|
|
209
|
+
line-height: 0;
|
|
210
|
+
position: relative;
|
|
211
|
+
vertical-align: baseline;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
sup {
|
|
215
|
+
top: -0.5em;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
sub {
|
|
219
|
+
bottom: -0.25em;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
/* =============================================================================
|
|
224
|
+
Lists
|
|
225
|
+
========================================================================== */
|
|
226
|
+
|
|
227
|
+
ul,
|
|
228
|
+
ol {
|
|
229
|
+
margin: 1em 0;
|
|
230
|
+
padding: 0 0 0 40px;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
dd {
|
|
234
|
+
margin: 0 0 0 40px;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
nav ul,
|
|
238
|
+
nav ol {
|
|
239
|
+
list-style: none;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
/* =============================================================================
|
|
244
|
+
Embedded content
|
|
245
|
+
========================================================================== */
|
|
246
|
+
|
|
247
|
+
/*
|
|
248
|
+
* 1. Removes border when inside 'a' element in IE6/7/8/9
|
|
249
|
+
* 2. Improves image quality when scaled in IE7
|
|
250
|
+
* code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/
|
|
251
|
+
*/
|
|
252
|
+
|
|
253
|
+
img {
|
|
254
|
+
border: 0; /* 1 */
|
|
255
|
+
-ms-interpolation-mode: bicubic; /* 2 */
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
/*
|
|
259
|
+
* Corrects overflow displayed oddly in IE9
|
|
260
|
+
*/
|
|
261
|
+
|
|
262
|
+
svg:not(:root) {
|
|
263
|
+
overflow: hidden;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
/* =============================================================================
|
|
268
|
+
Figures
|
|
269
|
+
========================================================================== */
|
|
270
|
+
|
|
271
|
+
/*
|
|
272
|
+
* Addresses margin not present in IE6/7/8/9, S5, O11
|
|
273
|
+
*/
|
|
274
|
+
|
|
275
|
+
figure {
|
|
276
|
+
margin: 0;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
|
|
280
|
+
/* =============================================================================
|
|
281
|
+
Forms
|
|
282
|
+
========================================================================== */
|
|
283
|
+
|
|
284
|
+
/*
|
|
285
|
+
* Corrects margin displayed oddly in IE6/7
|
|
286
|
+
*/
|
|
287
|
+
|
|
288
|
+
form {
|
|
289
|
+
margin: 0;
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
/*
|
|
293
|
+
* Define consistent margin and padding
|
|
294
|
+
*/
|
|
295
|
+
|
|
296
|
+
fieldset {
|
|
297
|
+
margin: 0 2px;
|
|
298
|
+
padding: 0.35em 0.625em 0.75em;
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
/*
|
|
302
|
+
* 1. Corrects color not being inherited in IE6/7/8/9
|
|
303
|
+
* 2. Corrects alignment displayed oddly in IE6/7
|
|
304
|
+
*/
|
|
305
|
+
|
|
306
|
+
legend {
|
|
307
|
+
border: 0; /* 1 */
|
|
308
|
+
*margin-left: -7px; /* 2 */
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
/*
|
|
312
|
+
* 1. Corrects font size not being inherited in all browsers
|
|
313
|
+
* 2. Addresses margins set differently in IE6/7, F3/4, S5, Chrome
|
|
314
|
+
* 3. Improves appearance and consistency in all browsers
|
|
315
|
+
*/
|
|
316
|
+
|
|
317
|
+
button,
|
|
318
|
+
input,
|
|
319
|
+
select,
|
|
320
|
+
textarea {
|
|
321
|
+
font-size: 100%; /* 1 */
|
|
322
|
+
margin: 0; /* 2 */
|
|
323
|
+
vertical-align: baseline; /* 3 */
|
|
324
|
+
*vertical-align: middle; /* 3 */
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
/*
|
|
328
|
+
* 1. Addresses FF3/4 setting line-height using !important in the UA stylesheet
|
|
329
|
+
* 2. Corrects inner spacing displayed oddly in IE6/7
|
|
330
|
+
*/
|
|
331
|
+
|
|
332
|
+
button,
|
|
333
|
+
input {
|
|
334
|
+
line-height: normal; /* 1 */
|
|
335
|
+
*overflow: visible; /* 2 */
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
/*
|
|
339
|
+
* 1. Improves usability and consistency of cursor style between image-type 'input' and others
|
|
340
|
+
* 2. Corrects inability to style clickable 'input' types in iOS
|
|
341
|
+
*/
|
|
342
|
+
|
|
343
|
+
button,
|
|
344
|
+
input[type="button"],
|
|
345
|
+
input[type="reset"],
|
|
346
|
+
input[type="submit"] {
|
|
347
|
+
cursor: pointer; /* 1 */
|
|
348
|
+
-webkit-appearance: button; /* 2 */
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
/*
|
|
352
|
+
* Addresses box sizing set to content-box in IE8/9
|
|
353
|
+
*/
|
|
354
|
+
|
|
355
|
+
input[type="checkbox"],
|
|
356
|
+
input[type="radio"] {
|
|
357
|
+
box-sizing: border-box;
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
/*
|
|
361
|
+
* 1. Addresses appearance set to searchfield in S5, Chrome
|
|
362
|
+
* 2. Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof)
|
|
363
|
+
*/
|
|
364
|
+
|
|
365
|
+
input[type="search"] {
|
|
366
|
+
-webkit-appearance: textfield; /* 1 */
|
|
367
|
+
-moz-box-sizing: content-box;
|
|
368
|
+
-webkit-box-sizing: content-box; /* 2 */
|
|
369
|
+
box-sizing: content-box;
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
/*
|
|
373
|
+
* Corrects inner padding displayed oddly in S5, Chrome on OSX
|
|
374
|
+
*/
|
|
375
|
+
|
|
376
|
+
input[type="search"]::-webkit-search-decoration {
|
|
377
|
+
-webkit-appearance: none;
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
/*
|
|
381
|
+
* Corrects inner padding and border displayed oddly in FF3/4
|
|
382
|
+
* www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/
|
|
383
|
+
*/
|
|
384
|
+
|
|
385
|
+
button::-moz-focus-inner,
|
|
386
|
+
input::-moz-focus-inner {
|
|
387
|
+
border: 0;
|
|
388
|
+
padding: 0;
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
/*
|
|
392
|
+
* 1. Removes default vertical scrollbar in IE6/7/8/9
|
|
393
|
+
* 2. Improves readability and alignment in all browsers
|
|
394
|
+
*/
|
|
395
|
+
|
|
396
|
+
textarea {
|
|
397
|
+
overflow: auto; /* 1 */
|
|
398
|
+
vertical-align: top; /* 2 */
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
|
|
402
|
+
/* =============================================================================
|
|
403
|
+
Tables
|
|
404
|
+
========================================================================== */
|
|
405
|
+
|
|
406
|
+
/*
|
|
407
|
+
* Remove most spacing between table cells
|
|
408
|
+
*/
|
|
409
|
+
|
|
410
|
+
table {
|
|
411
|
+
border-collapse: collapse;
|
|
412
|
+
border-spacing: 0;
|
|
413
|
+
}
|
|
@@ -0,0 +1,232 @@
|
|
|
1
|
+
// Place all the styles related to the Articles controller here.
|
|
2
|
+
// They will automatically be included in application.css.
|
|
3
|
+
// You can use Sass (SCSS) here: http://sass-lang.com/
|
|
4
|
+
|
|
5
|
+
// various mixins from https://github.com/thoughtbot/bourbon
|
|
6
|
+
@import 'bourbon';
|
|
7
|
+
|
|
8
|
+
// variables
|
|
9
|
+
$textfont: Arial, "Helvetica Neue", Helvetica, sans-serif;
|
|
10
|
+
$headlinefont: Tahoma, Verdana, Geneva;
|
|
11
|
+
$textcolor: black;
|
|
12
|
+
$h1size: 16pt;
|
|
13
|
+
$h2size: 16pt;
|
|
14
|
+
$h3size: 16pt;
|
|
15
|
+
$textsize: 12pt;
|
|
16
|
+
$sidebarh1size: 14pt;
|
|
17
|
+
$sidebartextsize: 11pt;
|
|
18
|
+
$smalltextsize: 9pt;
|
|
19
|
+
|
|
20
|
+
body.offerpages {
|
|
21
|
+
|
|
22
|
+
@include background-image(linear-gradient(#FFF, #FCEDA6 15%));
|
|
23
|
+
|
|
24
|
+
.container {
|
|
25
|
+
background: #fff;
|
|
26
|
+
font: 14px/21px $textfont;
|
|
27
|
+
color: #000;
|
|
28
|
+
border-top: medium none;
|
|
29
|
+
border-collapse: collapse;
|
|
30
|
+
margin-top: 10px;
|
|
31
|
+
margin-bottom: 10px;
|
|
32
|
+
border: 1px solid black;
|
|
33
|
+
@include border-radius(20px);
|
|
34
|
+
|
|
35
|
+
.logo {
|
|
36
|
+
margin-top:30px;
|
|
37
|
+
margin-bottom:0px;
|
|
38
|
+
.sitename{float:left;text-transform: lowercase;}
|
|
39
|
+
.sitename a{color:#cc0000; text-decoration:none;}
|
|
40
|
+
.sitename a:hover{color:#cc0000;}
|
|
41
|
+
.tagline{text-transform: lowercase;}
|
|
42
|
+
.tagline:before{content:" :";}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.recommend {
|
|
46
|
+
text-align: center;
|
|
47
|
+
|
|
48
|
+
.tweet {
|
|
49
|
+
margin-top: 20px;
|
|
50
|
+
margin-bottom: 20px;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
section {
|
|
55
|
+
|
|
56
|
+
// Facebook "like" button
|
|
57
|
+
.fb_reset {
|
|
58
|
+
text-align: center;
|
|
59
|
+
margin-top: 20px;
|
|
60
|
+
// margin-left: 20px;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
a {
|
|
64
|
+
color: #00e;
|
|
65
|
+
font-size: $textsize;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
a:visited {
|
|
69
|
+
color: #551a8b;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
a:hover,
|
|
73
|
+
a:active {
|
|
74
|
+
text-decoration: none;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
strong {
|
|
78
|
+
color: $textcolor;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
p {
|
|
82
|
+
padding-left: 5px;
|
|
83
|
+
padding-right: 5px;
|
|
84
|
+
text-align: left;
|
|
85
|
+
font-family: $textfont;
|
|
86
|
+
font-size: $textsize;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
ul {
|
|
90
|
+
list-style: none outside;
|
|
91
|
+
padding-left: 5px;
|
|
92
|
+
padding-right: 5px;
|
|
93
|
+
text-align: left;
|
|
94
|
+
margin: 0;
|
|
95
|
+
font-family: $textfont;
|
|
96
|
+
font-size: $textsize;
|
|
97
|
+
li:before {
|
|
98
|
+
content:"\2713\0020";
|
|
99
|
+
color: red;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
header {
|
|
104
|
+
hgroup {
|
|
105
|
+
h1 {
|
|
106
|
+
text-align: center;
|
|
107
|
+
font-family: $headlinefont;
|
|
108
|
+
font-size: $h1size;
|
|
109
|
+
font-weight: bolder;
|
|
110
|
+
line-height: 1.2;
|
|
111
|
+
}
|
|
112
|
+
h2 {
|
|
113
|
+
padding: 0px 120px;
|
|
114
|
+
text-align: center;
|
|
115
|
+
font-family: $headlinefont;
|
|
116
|
+
font-size: $h1size;
|
|
117
|
+
font-weight: bolder;
|
|
118
|
+
line-height: 1.2;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
h1, h2, h3, h4, h5, h6 {
|
|
124
|
+
text-align: center;
|
|
125
|
+
padding-left: 5px;
|
|
126
|
+
padding-right: 5px;
|
|
127
|
+
font-family: $headlinefont;
|
|
128
|
+
color: inherit;
|
|
129
|
+
}
|
|
130
|
+
h1 {
|
|
131
|
+
font-size: $h1size;
|
|
132
|
+
line-height: 1.2;
|
|
133
|
+
font-weight: bolder;
|
|
134
|
+
}
|
|
135
|
+
h2 {
|
|
136
|
+
font-size: $h1size;
|
|
137
|
+
line-height: 1.2;
|
|
138
|
+
font-weight: bolder;
|
|
139
|
+
}
|
|
140
|
+
h3 {
|
|
141
|
+
font-size: $h1size;
|
|
142
|
+
line-height: 1.2;
|
|
143
|
+
font-weight: bolder;
|
|
144
|
+
}
|
|
145
|
+
blockquote {
|
|
146
|
+
background: #FEFEE6;
|
|
147
|
+
padding-top: 5px;
|
|
148
|
+
padding-left: 5px;
|
|
149
|
+
padding-right: 5px;
|
|
150
|
+
border-left: none;
|
|
151
|
+
p {
|
|
152
|
+
margin-top: 10px;
|
|
153
|
+
font-style: normal;
|
|
154
|
+
color: $textcolor;
|
|
155
|
+
font-size: $sidebartextsize;
|
|
156
|
+
line-height: 1;
|
|
157
|
+
}
|
|
158
|
+
cite {
|
|
159
|
+
font-size: $smalltextsize;
|
|
160
|
+
color: $textcolor;
|
|
161
|
+
line-height: 1;
|
|
162
|
+
margin-top: 4px;
|
|
163
|
+
margin-left: 10px;
|
|
164
|
+
font-style: italic;
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.video {
|
|
170
|
+
text-align: center;
|
|
171
|
+
p {
|
|
172
|
+
text-align: center;
|
|
173
|
+
font-family: $textfont;
|
|
174
|
+
font-weight: bolder;
|
|
175
|
+
font-size: $textsize;
|
|
176
|
+
margin-top:20px;
|
|
177
|
+
margin-bottom:30px;
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
aside {
|
|
182
|
+
display: inline-block;
|
|
183
|
+
float: right;
|
|
184
|
+
vertical-align: top;
|
|
185
|
+
width: 280px;
|
|
186
|
+
margin-left: 10px;
|
|
187
|
+
|
|
188
|
+
section {
|
|
189
|
+
background: #FEFEE6;
|
|
190
|
+
border: 1px solid black;
|
|
191
|
+
padding-top: 5px;
|
|
192
|
+
padding-left: 5px;
|
|
193
|
+
padding-right: 5px;
|
|
194
|
+
|
|
195
|
+
h1, h2, h3, h4, h5, h6 {
|
|
196
|
+
margin-top: 10px;
|
|
197
|
+
font-family: $headlinefont;
|
|
198
|
+
color: inherit;
|
|
199
|
+
font-size: $sidebarh1size;
|
|
200
|
+
line-height: 1.2;
|
|
201
|
+
font-weight: bolder;
|
|
202
|
+
}
|
|
203
|
+
p {
|
|
204
|
+
margin: 0;
|
|
205
|
+
font-size: $sidebartextsize;
|
|
206
|
+
}
|
|
207
|
+
blockquote {
|
|
208
|
+
margin: 0;
|
|
209
|
+
blockquote:before, blockquote:after {
|
|
210
|
+
content: '"';
|
|
211
|
+
}
|
|
212
|
+
p {
|
|
213
|
+
margin-top: 10px;
|
|
214
|
+
font-style: normal;
|
|
215
|
+
color: $textcolor;
|
|
216
|
+
font-size: $sidebartextsize;
|
|
217
|
+
line-height: 1;
|
|
218
|
+
}
|
|
219
|
+
cite {
|
|
220
|
+
font-size: $smalltextsize;
|
|
221
|
+
color: $textcolor;
|
|
222
|
+
line-height: 1;
|
|
223
|
+
margin-top: 4px;
|
|
224
|
+
margin-left: 10px;
|
|
225
|
+
font-style: italic;
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
}
|
|
232
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
body {
|
|
2
|
+
background-color: #fff;
|
|
3
|
+
color: #333;
|
|
4
|
+
font-family: verdana, arial, helvetica, sans-serif;
|
|
5
|
+
font-size: 13px;
|
|
6
|
+
line-height: 18px; }
|
|
7
|
+
|
|
8
|
+
p, ol, ul, td {
|
|
9
|
+
font-family: verdana, arial, helvetica, sans-serif;
|
|
10
|
+
font-size: 13px;
|
|
11
|
+
line-height: 18px; }
|
|
12
|
+
|
|
13
|
+
pre {
|
|
14
|
+
background-color: #eee;
|
|
15
|
+
padding: 10px;
|
|
16
|
+
font-size: 11px; }
|
|
17
|
+
|
|
18
|
+
a {
|
|
19
|
+
color: #000;
|
|
20
|
+
&:visited {
|
|
21
|
+
color: #666; }
|
|
22
|
+
&:hover {
|
|
23
|
+
color: #fff;
|
|
24
|
+
background-color: #000; } }
|
|
25
|
+
|
|
26
|
+
div {
|
|
27
|
+
&.field, &.actions {
|
|
28
|
+
margin-bottom: 10px; } }
|
|
29
|
+
|
|
30
|
+
#notice {
|
|
31
|
+
color: green; }
|
|
32
|
+
|
|
33
|
+
.field_with_errors {
|
|
34
|
+
padding: 2px;
|
|
35
|
+
background-color: red;
|
|
36
|
+
display: table; }
|
|
37
|
+
|
|
38
|
+
#error_explanation {
|
|
39
|
+
width: 450px;
|
|
40
|
+
border: 2px solid red;
|
|
41
|
+
padding: 7px;
|
|
42
|
+
padding-bottom: 0;
|
|
43
|
+
margin-bottom: 20px;
|
|
44
|
+
background-color: #f0f0f0;
|
|
45
|
+
h2 {
|
|
46
|
+
text-align: left;
|
|
47
|
+
font-weight: bold;
|
|
48
|
+
padding: 5px 5px 5px 15px;
|
|
49
|
+
font-size: 12px;
|
|
50
|
+
margin: -7px;
|
|
51
|
+
margin-bottom: 0px;
|
|
52
|
+
background-color: #c00;
|
|
53
|
+
color: #fff; }
|
|
54
|
+
ul li {
|
|
55
|
+
font-size: 12px;
|
|
56
|
+
list-style: square; } }
|