source: imaps-frontend/node_modules/nano-css/addon/reset/Yahoo.js

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

Update repo after prototype presentation

  • Property mode set to 100644
File size: 1.0 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 'body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td': {
10 pad: 0,
11 mar: 0,
12 },
13 table: {
14 'border-collapse': 'collapse',
15 'border-spacing': 0,
16 },
17 'fieldset,img': {
18 bd: 0,
19 },
20 'address,caption,cite,code,dfn,em,strong,th,var': {
21 fw: 'normal',
22 fs: 'normal',
23 },
24 'ol,ul': {
25 'list-style': 'none',
26 },
27 'caption,th': {
28 ta: 'left',
29 },
30 'h1,h2,h3,h4,h5,h6': {
31 fw: 'normal',
32 fz: '100%',
33 },
34 'q:before,q:after': {
35 con: '""',
36 },
37 'abbr,acronym': {
38 bd: 0,
39 },
40 };
41
42 renderer.put('', css);
43};
Note: See TracBrowser for help on using the repository browser.