source: imaps-frontend/node_modules/nano-css/addon/reset/Tripoli.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.7 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 '*': {
10 td: 'none',
11 fz: '1em',
12 out: 'none',
13 pad: 0,
14 mar: 0,
15 },
16 'code,kbd,samp,pre,tt,var,textarea,input,select,isindex,listing,xmp,plaintext': {
17 'white-space': 'normal',
18 fz: '1em',
19 font: 'inherit',
20 },
21 'dfn,i,cite,var,address,em': {
22 fs: 'normal',
23 },
24 'th,b,strong,h1,h2,h3,h4,h5,h6': {
25 fw: 'normal',
26 },
27 'a,img,a img,iframe,form,fieldset,abbr,acronym,object,applet,table': {
28 bd: 'none',
29 },
30 table: {
31 'border-collapse': 'collapse',
32 'border-spacing': 0,
33 },
34 'caption,th,td,center': {
35 'vertical-align': 'top',
36 ta: 'left',
37 },
38 body: {
39 bg: 'white',
40 lh: 1,
41 col: 'black',
42 },
43 q: {
44 quotes: '"" ""',
45 },
46 'ul,ol,dir,menu': {
47 'list-style': 'none',
48 },
49 'sub,sup': {
50 'vertical-align': 'baseline',
51 },
52 a: {
53 col: 'inherit',
54 },
55 hr: {
56 d: 'none',
57 },
58 font: {
59 col: 'inherit !important',
60 font: 'inherit !important',
61 },
62 marquee: {
63 ov: 'inherit !important',
64 '-moz-binding': 'none',
65 },
66 blink: {
67 td: 'none',
68 },
69 nobr: {
70 'white-space': 'normal',
71 },
72 };
73
74 renderer.put('', css);
75};
Note: See TracBrowser for help on using the repository browser.