source:
imaps-frontend/node_modules/nano-css/addon/reset/ShaunInman.js
Last change on this file was d565449, checked in by , 4 weeks ago | |
---|---|
|
|
File size: 1.0 KB |
Rev | Line | |
---|---|---|
[d565449] | 1 | 'use strict'; |
2 | ||
3 | exports.addon = function (renderer) { | |
4 | if (process.env.NODE_ENV !== 'production') { | |
5 | require('../__dev__/warnOnMissingDependencies')('reset', renderer, ['put']); | |
6 | } | |
7 | ||
8 | var css = { | |
9 | 'body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,p,blockquote,table,th,td,embed,object': { | |
10 | pad: 0, | |
11 | mar: 0, | |
12 | }, | |
13 | table: { | |
14 | 'border-collapse': 'collapse', | |
15 | 'border-spacing': 0, | |
16 | }, | |
17 | 'fieldset,img,abbr': { | |
18 | bd: 0, | |
19 | }, | |
20 | 'address,caption,cite,code,dfn,em,h1,h2,h3,h4,h5,h6,strong,th,var': { | |
21 | fw: 'normal', | |
22 | fs: 'normal', | |
23 | }, | |
24 | ul: { | |
25 | 'list-style': 'none', | |
26 | }, | |
27 | 'caption,th': { | |
28 | ta: 'left', | |
29 | }, | |
30 | 'h1,h2,h3,h4,h5,h6': { | |
31 | fz: '1.0em', | |
32 | }, | |
33 | 'q:before,q:after': { | |
34 | con: '""', | |
35 | }, | |
36 | 'a,ins': { | |
37 | td: 'none', | |
38 | }, | |
39 | }; | |
40 | ||
41 | renderer.put('', css); | |
42 | }; |
Note:
See TracBrowser
for help on using the repository browser.