source: imaps-frontend/node_modules/nano-css/addon/reset/Siolon.js@ d565449

main
Last change on this file since d565449 was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago

Update repo after prototype presentation

  • Property mode set to 100644
File size: 794 bytes
Line 
1'use strict';
2
3exports.addon = function (renderer) {
4 if (process.env.NODE_ENV !== 'production') {
5 require('../__dev__/warnOnMissingDependencies')('reset', renderer, ['put']);
6 }
7
8 var css = {
9 '*': {
10 'vertical-align': 'baseline',
11 ff: 'inherit',
12 fs: 'inherit',
13 fz: '100%',
14 bd: 'none',
15 pad: 0,
16 mar: 0,
17 },
18 body: {
19 pad: '5px',
20 },
21 'h1, h2, h3, h4, h5, h6, p, pre, blockquote, form, ul, ol, dl': {
22 mar: '20px 0',
23 },
24 'li, dd, blockquote': {
25 marl: '40px',
26 },
27 table: {
28 'border-collapse': 'collapse',
29 'border-spacing': 0,
30 },
31 };
32
33 renderer.put('', css);
34};
Note: See TracBrowser for help on using the repository browser.