source: imaps-frontend/node_modules/nano-css/addon/reset/EricMeyer.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: 1.3 KB
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 'html,body,div,span,applet,object,iframe,table,caption,tbody,tfoot,thead,tr,th,td,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,dl,dt,dd,ol,ul,li,fieldset,form,label,legend': {
10 'vertical-align': 'baseline',
11 ff: 'inherit',
12 fw: 'inherit',
13 fs: 'inherit',
14 fz: '100%',
15 out: 0,
16 pad: 0,
17 mar: 0,
18 bd: 0,
19 },
20 ':focus': {
21 out: 0,
22 },
23 body: {
24 bg: 'white',
25 lh: 1,
26 col: 'black',
27 },
28 'ol, ul': {
29 'list-style': 'none',
30 },
31 table: {
32 'border-collapse': 'separate',
33 'border-spacing': 0,
34 },
35 'caption, th, td': {
36 fw: 'normal',
37 ta: 'left',
38 },
39 'blockquote:before, blockquote:after, q:before, q:after': {
40 content: '""',
41 },
42 'blockquote, q': {
43 quotes: '"" ""',
44 },
45 };
46
47 renderer.put('', css);
48};
Note: See TracBrowser for help on using the repository browser.