normalize-unistyle
Version:
Normalize CSS as a Unistyle module
70 lines (61 loc) • 1.15 kB
JavaScript
;
Object.defineProperty(exports, '__esModule', {
value: true
});
exports['default'] = {
/**
* Address styling not present in IE 8/9/10/11, Safari, and Chrome.
*/
'abbr[title]': {
borderBottom: '1px dotted'
},
/**
* Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
*/
'b, strong': {
fontWeight: 'bold'
},
/**
* Address styling not present in Safari and Chrome.
*/
'dfn': {
fontStyle: 'italic'
},
/**
* Address variable `h1` font-size and margin within `section` and `article`
* contexts in Firefox 4+, Safari, and Chrome.
*/
'h1': {
fontSize: '2em',
margin: '0.67em 0'
},
/**
* Address styling not present in IE 8/9.
*/
'mark': {
background: '#ff0',
color: '#000'
},
/**
* Address inconsistent and variable font size in all browsers.
*/
'small': {
fontSize: '80%'
},
/**
* Prevent `sub` and `sup` affecting `line-height` in all browsers.
*/
'sub, sup': {
fontSize: '75%',
lineHeight: 0,
position: 'relative',
verticalAlign: 'baseline'
},
'sup': {
top: '-0.5em'
},
'sub': {
bottom: '-0.25em'
}
};
module.exports = exports['default'];