mabtie 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +100 -0
- data/Rakefile +23 -0
- data/app/controllers/flutie/styleguides_controller.rb +27 -0
- data/app/views/flutie/styleguides/show.erb +742 -0
- data/app/views/layouts/flutie.erb +30 -0
- data/config/initializers/expansion.rb +1 -0
- data/config/initializers/sass.rb +3 -0
- data/config/routes.rb +5 -0
- data/lib/flutie/engine.rb +6 -0
- data/lib/flutie.rb +3 -0
- data/lib/tasks/flutie.rake +17 -0
- data/public/stylesheets/flutie.css +687 -0
- data/public/stylesheets/sass/_defaults.scss +147 -0
- data/public/stylesheets/sass/_forms.scss +315 -0
- data/public/stylesheets/sass/_lists.scss +40 -0
- data/public/stylesheets/sass/_reset.scss +54 -0
- data/public/stylesheets/sass/_screen.scss +0 -0
- data/public/stylesheets/sass/_tables.scss +35 -0
- data/public/stylesheets/sass/_type.scss +139 -0
- data/public/stylesheets/sass/flutie.scss +7 -0
- metadata +104 -0
@@ -0,0 +1,147 @@
|
|
1
|
+
body {
|
2
|
+
color: #222;
|
3
|
+
font-size: 13px;
|
4
|
+
font-family: "helvetica neue", arial, helvetica, "lucida grande", sans-serif;
|
5
|
+
}
|
6
|
+
|
7
|
+
h1, h2, h3, h4, h5, h6 {
|
8
|
+
color: #111;
|
9
|
+
font-family: "helvetica neue", Helvetica, arial, sans-serif;
|
10
|
+
}
|
11
|
+
|
12
|
+
/* Success, error & notice boxes for messages and errors. */
|
13
|
+
div.error, div.notice, div.success,
|
14
|
+
#flash_failure, #flash_success, #flash_notice {
|
15
|
+
-moz-border-radius: 8px;
|
16
|
+
-webkit-border-radius: 8px;
|
17
|
+
border: 1px solid #ddd;
|
18
|
+
margin-bottom: 1em;
|
19
|
+
padding: 0.8em;
|
20
|
+
}
|
21
|
+
|
22
|
+
div.error,
|
23
|
+
#flash_failure {
|
24
|
+
background: #FBE3E4;
|
25
|
+
border-color: #FBC2C4;
|
26
|
+
color: #D12F19;
|
27
|
+
}
|
28
|
+
|
29
|
+
div.error a,
|
30
|
+
#flash_failure a {
|
31
|
+
color: #D12F19;
|
32
|
+
}
|
33
|
+
|
34
|
+
div.notice,
|
35
|
+
#flash_notice {
|
36
|
+
background: #FFF6BF;
|
37
|
+
border-color: #FFD324;
|
38
|
+
color: #817134;
|
39
|
+
}
|
40
|
+
|
41
|
+
div.notice a,
|
42
|
+
#flash_notice a {
|
43
|
+
color: #817134;
|
44
|
+
}
|
45
|
+
|
46
|
+
div.success,
|
47
|
+
#flash_success {
|
48
|
+
background: #E6EFC2;
|
49
|
+
border-color: #C6D880;
|
50
|
+
color: #529214;
|
51
|
+
}
|
52
|
+
|
53
|
+
div.success a,
|
54
|
+
#flash_success a {
|
55
|
+
color: #529214;
|
56
|
+
}
|
57
|
+
|
58
|
+
/* Misc classes and elements */
|
59
|
+
/* Use a .box to create a padded box inside a column. */
|
60
|
+
.box {
|
61
|
+
background: #eee;
|
62
|
+
margin-bottom: 1.5em;
|
63
|
+
padding: 1.5em;
|
64
|
+
}
|
65
|
+
|
66
|
+
/* Use this to create a horizontal ruler across a column. */
|
67
|
+
hr {
|
68
|
+
background: #ddd;
|
69
|
+
border: none;
|
70
|
+
clear: both;
|
71
|
+
color: #ddd;
|
72
|
+
float: none;
|
73
|
+
height: 1px;
|
74
|
+
margin: 0 0 1.4em;
|
75
|
+
width: 100%;
|
76
|
+
}
|
77
|
+
|
78
|
+
hr.space {
|
79
|
+
background: #fff;
|
80
|
+
color: #fff;
|
81
|
+
}
|
82
|
+
|
83
|
+
/* for image replacement */
|
84
|
+
.ir {
|
85
|
+
background-repeat: no-repeat;
|
86
|
+
direction: ltr;
|
87
|
+
display: block;
|
88
|
+
overflow: hidden;
|
89
|
+
text-align: left;
|
90
|
+
text-indent: -999em;
|
91
|
+
}
|
92
|
+
|
93
|
+
/* Hide for both screenreaders and browsers
|
94
|
+
css-discuss.incutio.com/wiki/Screenreader_Visibility */
|
95
|
+
.hidden {
|
96
|
+
display: none;
|
97
|
+
visibility: hidden;
|
98
|
+
}
|
99
|
+
|
100
|
+
/* Hide only visually, but have it available for screenreaders
|
101
|
+
www.webaim.org/techniques/css/invisiblecontent/ & j.mp/visuallyhidden */
|
102
|
+
.visuallyhidden {
|
103
|
+
clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
|
104
|
+
clip: rect(1px, 1px, 1px, 1px);
|
105
|
+
position: absolute !important;
|
106
|
+
}
|
107
|
+
|
108
|
+
/* Hide visually and from screenreaders, but maintain layout */
|
109
|
+
.invisible {
|
110
|
+
visibility: hidden;
|
111
|
+
}
|
112
|
+
|
113
|
+
/* >> The Magnificent CLEARFIX: Updated to prevent margin-collapsing on child elements << j.mp/bestclearfix */
|
114
|
+
.clearfix:before,
|
115
|
+
.clearfix:after {
|
116
|
+
content: "\0020";
|
117
|
+
display: block;
|
118
|
+
height: 0;
|
119
|
+
visibility: hidden;
|
120
|
+
}
|
121
|
+
|
122
|
+
.clearfix:after {
|
123
|
+
clear: both;
|
124
|
+
}
|
125
|
+
|
126
|
+
/* Fix clearfix: blueprintcss.lighthouseapp.com/projects/15318/tickets/5-extra-margin-padding-bottom-of-page */
|
127
|
+
.clearfix {
|
128
|
+
zoom: 1;
|
129
|
+
}
|
130
|
+
|
131
|
+
.ie7 img {
|
132
|
+
-ms-interpolation-mode: bicubic;
|
133
|
+
}
|
134
|
+
|
135
|
+
@media print {
|
136
|
+
* { background: transparent !important; color: #444 !important; text-shadow: none !important; }
|
137
|
+
a, a:visited { color: #444 !important; text-decoration: underline; }
|
138
|
+
a:after { content: " (" attr(href) ")"; }
|
139
|
+
abbr:after { content: " (" attr(title) ")"; }
|
140
|
+
.ir a:after { content: ""; } /* Don't show links for images */
|
141
|
+
pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
|
142
|
+
thead { display: table-header-group; } /* css-discuss.incutio.com/wiki/Printing_Tables */
|
143
|
+
tr, img { page-break-inside: avoid; }
|
144
|
+
@page { margin: 0.5cm; }
|
145
|
+
p, h2, h3 { orphans: 3; widows: 3; }
|
146
|
+
h2, h3{ page-break-after: avoid; }
|
147
|
+
}
|
@@ -0,0 +1,315 @@
|
|
1
|
+
/* `Widths
|
2
|
+
----------------------------------------------------------------------------------------------------*/
|
3
|
+
|
4
|
+
.input_tiny {
|
5
|
+
width: 50px;
|
6
|
+
}
|
7
|
+
|
8
|
+
.input_small {
|
9
|
+
width: 100px;
|
10
|
+
}
|
11
|
+
|
12
|
+
.input_medium {
|
13
|
+
width: 150px;
|
14
|
+
}
|
15
|
+
|
16
|
+
.input_large {
|
17
|
+
width: 200px;
|
18
|
+
}
|
19
|
+
|
20
|
+
.input_xlarge {
|
21
|
+
width: 250px;
|
22
|
+
}
|
23
|
+
|
24
|
+
.input_xxlarge {
|
25
|
+
width: 300px;
|
26
|
+
}
|
27
|
+
|
28
|
+
.input_full {
|
29
|
+
width: 100%;
|
30
|
+
}
|
31
|
+
|
32
|
+
/*
|
33
|
+
Added via JS to <textarea> and class="input_full".
|
34
|
+
Applies only to IE7. Other browsers don't need it.
|
35
|
+
*/
|
36
|
+
.input_full_wrap {
|
37
|
+
display: block;
|
38
|
+
padding-right: 8px;
|
39
|
+
}
|
40
|
+
|
41
|
+
/* `UI Consistency
|
42
|
+
----------------------------------------------------------------------------------------------------*/
|
43
|
+
|
44
|
+
::-moz-focus-inner {
|
45
|
+
border: 0;
|
46
|
+
padding: 0;
|
47
|
+
}
|
48
|
+
|
49
|
+
input[type="search"]::-webkit-search-decoration {
|
50
|
+
display: none;
|
51
|
+
}
|
52
|
+
|
53
|
+
input,
|
54
|
+
button,
|
55
|
+
select,
|
56
|
+
textarea {
|
57
|
+
margin: 0;
|
58
|
+
vertical-align: middle;
|
59
|
+
}
|
60
|
+
|
61
|
+
button,
|
62
|
+
input[type="reset"],
|
63
|
+
input[type="submit"],
|
64
|
+
input[type="button"] {
|
65
|
+
-webkit-appearance: none;
|
66
|
+
-moz-border-radius: 11px;
|
67
|
+
-webkit-border-radius: 11px;
|
68
|
+
-moz-background-clip: padding;
|
69
|
+
-webkit-background-clip: padding;
|
70
|
+
background-clip: padding-box;
|
71
|
+
border-radius: 11px;
|
72
|
+
background: #ddd url(../images/button.png) repeat-x;
|
73
|
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #fff), color-stop(1, #ddd));
|
74
|
+
background: -moz-linear-gradient(top center, #fff 0%, #ddd 100%);
|
75
|
+
border: 1px solid;
|
76
|
+
border-color: #ddd #bbb #999;
|
77
|
+
cursor: pointer;
|
78
|
+
color: #333;
|
79
|
+
font: bold 12px/1.2 Arial, sans-serif;
|
80
|
+
outline: 0;
|
81
|
+
overflow: visible;
|
82
|
+
padding: 3px 10px 4px;
|
83
|
+
text-shadow: #fff 0 1px 1px;
|
84
|
+
width: auto;
|
85
|
+
|
86
|
+
/* IE7 */
|
87
|
+
*padding-top: 2px;
|
88
|
+
*padding-bottom: 0px;
|
89
|
+
}
|
90
|
+
|
91
|
+
button {
|
92
|
+
/* IE7 */
|
93
|
+
*padding-top: 1px;
|
94
|
+
*padding-bottom: 1px;
|
95
|
+
}
|
96
|
+
|
97
|
+
textarea,
|
98
|
+
select,
|
99
|
+
input[type="date"],
|
100
|
+
input[type="datetime"],
|
101
|
+
input[type="datetime-local"],
|
102
|
+
input[type="email"],
|
103
|
+
input[type="month"],
|
104
|
+
input[type="number"],
|
105
|
+
input[type="password"],
|
106
|
+
input[type="search"],
|
107
|
+
input[type="tel"],
|
108
|
+
input[type="text"],
|
109
|
+
input[type="time"],
|
110
|
+
input[type="url"],
|
111
|
+
input[type="week"] {
|
112
|
+
-webkit-appearance: none;
|
113
|
+
-moz-border-radius: 0;
|
114
|
+
-webkit-border-radius: 0;
|
115
|
+
border-radius: 0;
|
116
|
+
-webkit-box-sizing: border-box;
|
117
|
+
-moz-box-sizing: border-box;
|
118
|
+
box-sizing: border-box;
|
119
|
+
-moz-background-clip: padding;
|
120
|
+
-webkit-background-clip: padding;
|
121
|
+
background-clip: padding-box;
|
122
|
+
background-color: #fff;
|
123
|
+
border: 1px solid;
|
124
|
+
border-color: #848484 #c1c1c1 #e1e1e1;
|
125
|
+
color: #000;
|
126
|
+
outline: 0;
|
127
|
+
padding: 2px 3px;
|
128
|
+
font-size: 13px;
|
129
|
+
font-family: Arial, sans-serif;
|
130
|
+
height: 1.8em;
|
131
|
+
|
132
|
+
/* IE7 */
|
133
|
+
*padding-top: 2px;
|
134
|
+
*padding-bottom: 1px;
|
135
|
+
*height: auto;
|
136
|
+
}
|
137
|
+
|
138
|
+
/*
|
139
|
+
Separate rule for Firefox.
|
140
|
+
Cannot stack with WebKit's.
|
141
|
+
*/
|
142
|
+
input.placeholder_text,
|
143
|
+
textarea.placeholder_text,
|
144
|
+
input:-moz-placeholder,
|
145
|
+
textarea:-moz-placeholder {
|
146
|
+
color: #888;
|
147
|
+
}
|
148
|
+
|
149
|
+
::-webkit-input-placeholder {
|
150
|
+
color: #888;
|
151
|
+
}
|
152
|
+
|
153
|
+
button:focus,
|
154
|
+
button:active,
|
155
|
+
input:focus,
|
156
|
+
input:active,
|
157
|
+
select:focus,
|
158
|
+
select:active,
|
159
|
+
textarea:focus,
|
160
|
+
textarea:active {
|
161
|
+
-moz-box-shadow: #06f 0 0 7px;
|
162
|
+
-webkit-box-shadow: #06f 0 0 7px;
|
163
|
+
box-shadow: #06f 0 0 7px;
|
164
|
+
|
165
|
+
/* for Opera */
|
166
|
+
z-index: 1;
|
167
|
+
}
|
168
|
+
|
169
|
+
input[type="file"]:focus,
|
170
|
+
input[type="file"]:active,
|
171
|
+
input[type="radio"]:focus,
|
172
|
+
input[type="radio"]:active,
|
173
|
+
input[type="checkbox"]:focus,
|
174
|
+
input[type="checkbox"]:active {
|
175
|
+
-moz-box-shadow: none;
|
176
|
+
-webkit-box-shadow: none;
|
177
|
+
box-shadow: none;
|
178
|
+
}
|
179
|
+
|
180
|
+
select[disabled],
|
181
|
+
textarea[disabled],
|
182
|
+
input[type="date"][disabled],
|
183
|
+
input[type="datetime"][disabled],
|
184
|
+
input[type="datetime-local"][disabled],
|
185
|
+
input[type="email"][disabled],
|
186
|
+
input[type="month"][disabled],
|
187
|
+
input[type="number"][disabled],
|
188
|
+
input[type="password"][disabled],
|
189
|
+
input[type="search"][disabled],
|
190
|
+
input[type="tel"][disabled],
|
191
|
+
input[type="text"][disabled],
|
192
|
+
input[type="time"][disabled],
|
193
|
+
input[type="url"][disabled],
|
194
|
+
input[type="week"][disabled] {
|
195
|
+
background-color: #eee;
|
196
|
+
}
|
197
|
+
|
198
|
+
button[disabled],
|
199
|
+
input[disabled],
|
200
|
+
select[disabled],
|
201
|
+
select[disabled] option,
|
202
|
+
select[disabled] optgroup,
|
203
|
+
textarea[disabled] {
|
204
|
+
-moz-box-shadow: none;
|
205
|
+
-webkit-box-shadow: none;
|
206
|
+
box-shadow: none;
|
207
|
+
-webkit-user-select: none;
|
208
|
+
-moz-user-select: none;
|
209
|
+
user-select: none;
|
210
|
+
color: #888;
|
211
|
+
cursor: default;
|
212
|
+
}
|
213
|
+
|
214
|
+
.is_webkit select {
|
215
|
+
/* Tweaks for Safari + Chrome. */
|
216
|
+
background-image: url(../images/select_arrow.gif);
|
217
|
+
background-repeat: no-repeat;
|
218
|
+
background-position: right center;
|
219
|
+
padding-right: 20px;
|
220
|
+
}
|
221
|
+
|
222
|
+
textarea,
|
223
|
+
select[size],
|
224
|
+
select[multiple] {
|
225
|
+
height: auto;
|
226
|
+
}
|
227
|
+
|
228
|
+
.is_webkit select[size],
|
229
|
+
.is_webkit select[multiple] {
|
230
|
+
background-image: none;
|
231
|
+
padding: 0;
|
232
|
+
}
|
233
|
+
|
234
|
+
textarea {
|
235
|
+
min-height: 40px;
|
236
|
+
overflow: auto;
|
237
|
+
resize: vertical;
|
238
|
+
width: 100%;
|
239
|
+
}
|
240
|
+
|
241
|
+
optgroup {
|
242
|
+
color: #000;
|
243
|
+
font-style: normal;
|
244
|
+
font-weight: normal;
|
245
|
+
}
|
246
|
+
|
247
|
+
/* `IE6
|
248
|
+
----------------------------------------------------------------------------------------------------*/
|
249
|
+
|
250
|
+
/*
|
251
|
+
Everything below this line is for IE6.
|
252
|
+
Delete it if you don't support it! :)
|
253
|
+
|
254
|
+
Classes are added dynamically via JS,
|
255
|
+
because IE6 doesn't support attribute
|
256
|
+
selectors: .ie6_button, .ie6_input, etc.
|
257
|
+
|
258
|
+
Note: These style rules are somewhat
|
259
|
+
duplicated because IE6 bombs out when
|
260
|
+
it sees attribute selectors. Example:
|
261
|
+
|
262
|
+
.ie6_button {
|
263
|
+
This works in IE6.
|
264
|
+
}
|
265
|
+
|
266
|
+
.ie6_button,
|
267
|
+
input[type=submit] {
|
268
|
+
This doesn't work.
|
269
|
+
}
|
270
|
+
*/
|
271
|
+
|
272
|
+
.ie6_button,
|
273
|
+
* html button {
|
274
|
+
background: #ddd url(../images/button.png) repeat-x;
|
275
|
+
border: 1px solid;
|
276
|
+
border-color: #ddd #bbb #999;
|
277
|
+
cursor: pointer;
|
278
|
+
color: #333;
|
279
|
+
font: bold 12px/1.2 Arial, sans-serif;
|
280
|
+
padding: 2px 10px 0px;
|
281
|
+
overflow: visible;
|
282
|
+
width: auto;
|
283
|
+
}
|
284
|
+
|
285
|
+
* html button {
|
286
|
+
padding-top: 1px;
|
287
|
+
padding-bottom: 1px;
|
288
|
+
}
|
289
|
+
|
290
|
+
.ie6_input,
|
291
|
+
* html textarea,
|
292
|
+
* html select {
|
293
|
+
background: #fff;
|
294
|
+
border: 1px solid;
|
295
|
+
border-color: #848484 #c1c1c1 #e1e1e1;
|
296
|
+
color: #000;
|
297
|
+
padding: 2px 3px 1px;
|
298
|
+
font-size: 13px;
|
299
|
+
font-family: Arial, sans-serif;
|
300
|
+
vertical-align: top;
|
301
|
+
}
|
302
|
+
|
303
|
+
* html select {
|
304
|
+
margin-top: 1px;
|
305
|
+
}
|
306
|
+
|
307
|
+
.placeholder_text,
|
308
|
+
.ie6_input_disabled,
|
309
|
+
.ie6_button_disabled {
|
310
|
+
color: #888;
|
311
|
+
}
|
312
|
+
|
313
|
+
.ie6_input_disabled {
|
314
|
+
background: #eee;
|
315
|
+
}
|
@@ -0,0 +1,40 @@
|
|
1
|
+
/* Lists */
|
2
|
+
|
3
|
+
ul, ol {
|
4
|
+
list-style-position: inside;
|
5
|
+
margin-bottom: 1.5em;
|
6
|
+
}
|
7
|
+
|
8
|
+
ul {
|
9
|
+
list-style-type: disc;
|
10
|
+
}
|
11
|
+
|
12
|
+
ol {
|
13
|
+
list-style-type: decimal;
|
14
|
+
}
|
15
|
+
|
16
|
+
dl {
|
17
|
+
line-height: 1.4;
|
18
|
+
margin-bottom: 1.5em;
|
19
|
+
}
|
20
|
+
|
21
|
+
dl dt {
|
22
|
+
font-weight: bold;
|
23
|
+
margin-top: 0.5em;
|
24
|
+
}
|
25
|
+
|
26
|
+
dl dd {
|
27
|
+
margin-bottom: 0em;
|
28
|
+
}
|
29
|
+
|
30
|
+
dd {
|
31
|
+
margin-left: 0.5em;
|
32
|
+
}
|
33
|
+
|
34
|
+
li {
|
35
|
+
line-height: 1.4;
|
36
|
+
}
|
37
|
+
|
38
|
+
ol ol, ol ul, ul ul, ul ol {
|
39
|
+
margin-left: 1em;
|
40
|
+
}
|
@@ -0,0 +1,54 @@
|
|
1
|
+
/*
|
2
|
+
html5doctor.com Reset Stylesheet (Eric Meyer's Reset Reloaded + HTML5 baseline)
|
3
|
+
v1.4 2009-07-27 | Authors: Eric Meyer & Richard Clark
|
4
|
+
html5doctor.com/html-5-reset-stylesheet/
|
5
|
+
*/
|
6
|
+
html, body, div, span, object, iframe,
|
7
|
+
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
8
|
+
abbr, address, cite, code,
|
9
|
+
del, dfn, em, img, ins, kbd, q, samp,
|
10
|
+
small, strong, sub, sup, var,
|
11
|
+
b, i,
|
12
|
+
dl, dt, dd, ol, ul, li,
|
13
|
+
fieldset, form, label, legend,
|
14
|
+
table, caption, tbody, tfoot, thead, tr, th, td,
|
15
|
+
article, aside, canvas, details, figcaption, figure,
|
16
|
+
footer, header, hgroup, menu, nav, section, summary,
|
17
|
+
time, mark, audio, video {
|
18
|
+
margin:0;
|
19
|
+
padding:0;
|
20
|
+
border:0;
|
21
|
+
outline:0;
|
22
|
+
font-size:100%;
|
23
|
+
vertical-align:baseline;
|
24
|
+
background:transparent;
|
25
|
+
}
|
26
|
+
|
27
|
+
article, aside, details, figcaption, figure,
|
28
|
+
footer, header, hgroup, menu, nav, section {
|
29
|
+
display:block;
|
30
|
+
}
|
31
|
+
|
32
|
+
nav ul { list-style:none; }
|
33
|
+
|
34
|
+
blockquote, q { quotes:none; }
|
35
|
+
|
36
|
+
blockquote:before, blockquote:after,
|
37
|
+
q:before, q:after { content:''; content:none; }
|
38
|
+
|
39
|
+
a { margin:0; padding:0; font-size:100%; vertical-align:baseline; background:transparent; }
|
40
|
+
|
41
|
+
ins { background-color:#ff9; color:#000; text-decoration:none; }
|
42
|
+
|
43
|
+
mark { background-color:#ff9; color:#000; font-style:italic; font-weight:bold; }
|
44
|
+
|
45
|
+
del { text-decoration: line-through; }
|
46
|
+
|
47
|
+
abbr[title], dfn[title] { cursor:help; }
|
48
|
+
|
49
|
+
/* tables still need cellspacing="0" in the markup */
|
50
|
+
table { border-collapse:collapse; border-spacing:0; }
|
51
|
+
|
52
|
+
hr { display:block; height:1px; border:0; border-top:1px solid #ccc; margin:1em 0; padding:0; }
|
53
|
+
|
54
|
+
input, select { vertical-align:middle; }
|
File without changes
|
@@ -0,0 +1,35 @@
|
|
1
|
+
/* Tables */
|
2
|
+
|
3
|
+
table {
|
4
|
+
margin-bottom: 2em;
|
5
|
+
width: 100%;
|
6
|
+
}
|
7
|
+
|
8
|
+
th {
|
9
|
+
border-bottom: 2px solid #ccc;
|
10
|
+
font-weight: bold;
|
11
|
+
text-align: left;
|
12
|
+
}
|
13
|
+
|
14
|
+
td {
|
15
|
+
border-bottom: 1px solid #ddd;
|
16
|
+
}
|
17
|
+
|
18
|
+
caption, th, td {
|
19
|
+
padding: 4px 10px 4px 0;
|
20
|
+
}
|
21
|
+
|
22
|
+
caption {
|
23
|
+
background: #f1f1f1;
|
24
|
+
margin-bottom: 1em;
|
25
|
+
padding: 10px 0;
|
26
|
+
}
|
27
|
+
|
28
|
+
tr, td, th {
|
29
|
+
vertical-align: middle;
|
30
|
+
}
|
31
|
+
|
32
|
+
/* Use this if you use span-x classes on th/td. */
|
33
|
+
table .last {
|
34
|
+
padding-right: 0;
|
35
|
+
}
|
@@ -0,0 +1,139 @@
|
|
1
|
+
/* Headings */
|
2
|
+
h1, h2, h3, h4, h5, h6 {
|
3
|
+
font-weight: bold;
|
4
|
+
}
|
5
|
+
|
6
|
+
h1 {
|
7
|
+
font-size: 2.2em;
|
8
|
+
line-height: 1;
|
9
|
+
margin-bottom: 0.25em;
|
10
|
+
}
|
11
|
+
|
12
|
+
h2 {
|
13
|
+
font-size: 1.6em;
|
14
|
+
line-height: 1.1;
|
15
|
+
margin-bottom: 0.25em;
|
16
|
+
}
|
17
|
+
|
18
|
+
h3 {
|
19
|
+
font-size: 1.3em;
|
20
|
+
line-height: 1;
|
21
|
+
margin-bottom: 0.25em;
|
22
|
+
}
|
23
|
+
|
24
|
+
h4 {
|
25
|
+
font-size: 1.1em;
|
26
|
+
line-height: 1.25;
|
27
|
+
margin-bottom: 0.25em;
|
28
|
+
}
|
29
|
+
|
30
|
+
h5 {
|
31
|
+
font-size: 1em;
|
32
|
+
margin-bottom: 0.25em;
|
33
|
+
}
|
34
|
+
|
35
|
+
h6 {
|
36
|
+
font-size: 1em;
|
37
|
+
margin-bottom: 0.25em;
|
38
|
+
}
|
39
|
+
|
40
|
+
/* Text elements */
|
41
|
+
p {
|
42
|
+
margin-bottom: 0.5em;
|
43
|
+
}
|
44
|
+
|
45
|
+
p.last {
|
46
|
+
margin-bottom: 0;
|
47
|
+
}
|
48
|
+
|
49
|
+
p img {
|
50
|
+
float: left;
|
51
|
+
margin: 1.5em 1.5em 1.5em 0;
|
52
|
+
padding: 0;
|
53
|
+
}
|
54
|
+
|
55
|
+
/* Use this if the image is at the top of the <p>. */
|
56
|
+
p img.top {
|
57
|
+
margin-top: 0;
|
58
|
+
}
|
59
|
+
|
60
|
+
img {
|
61
|
+
margin: 0 0 1.5em;
|
62
|
+
}
|
63
|
+
|
64
|
+
abbr, acronym {
|
65
|
+
border-bottom: 1px dotted #666;
|
66
|
+
cursor: help;
|
67
|
+
}
|
68
|
+
|
69
|
+
address {
|
70
|
+
font-style: italic;
|
71
|
+
margin-top: 1.5em;
|
72
|
+
}
|
73
|
+
|
74
|
+
del {
|
75
|
+
color:#666;
|
76
|
+
}
|
77
|
+
|
78
|
+
a, a:link {
|
79
|
+
color: #1a4882;
|
80
|
+
text-decoration: underline;
|
81
|
+
}
|
82
|
+
|
83
|
+
a:visited {
|
84
|
+
color: #1a4882;
|
85
|
+
}
|
86
|
+
|
87
|
+
a:hover {
|
88
|
+
color: #052246;
|
89
|
+
}
|
90
|
+
|
91
|
+
a:active,
|
92
|
+
a:focus {
|
93
|
+
color: #1a4882;
|
94
|
+
}
|
95
|
+
|
96
|
+
blockquote {
|
97
|
+
border-left: 4px solid #d1d1d1;
|
98
|
+
color: #666;
|
99
|
+
font-style: italic;
|
100
|
+
margin: 1.5em 0;
|
101
|
+
padding-left: 1em;
|
102
|
+
}
|
103
|
+
|
104
|
+
strong {
|
105
|
+
font-weight: bold;
|
106
|
+
}
|
107
|
+
|
108
|
+
em,
|
109
|
+
dfn {
|
110
|
+
font-style: italic;
|
111
|
+
}
|
112
|
+
|
113
|
+
dfn {
|
114
|
+
font-weight: bold;
|
115
|
+
}
|
116
|
+
|
117
|
+
pre, code {
|
118
|
+
margin: 1.5em 0;
|
119
|
+
white-space: pre; /* CSS2 */
|
120
|
+
white-space: pre-wrap; /* CSS 2.1 */
|
121
|
+
word-wrap: break-word; /* IE */
|
122
|
+
}
|
123
|
+
|
124
|
+
pre, code, tt {
|
125
|
+
font: 1em 'andale mono', 'monotype.com', 'lucida console', monospace;
|
126
|
+
line-height: 1.5;
|
127
|
+
}
|
128
|
+
|
129
|
+
pre.code {
|
130
|
+
background: #000;
|
131
|
+
color: #fff;
|
132
|
+
padding: 20px;
|
133
|
+
}
|
134
|
+
|
135
|
+
tt {
|
136
|
+
display: block;
|
137
|
+
line-height: 1.5;
|
138
|
+
margin: 1.5em 0;
|
139
|
+
}
|