mobi-plugin-reset
Version:
The reset plugin for Mobi.css
1 lines • 7.22 kB
Source Map (JSON)
{"version":3,"sources":["mobi-plugin-reset.css","index.css"],"names":[],"mappings":"AAAA,qEAAqE;;ACcrE;IAGI,4BAAuB;IAAvB,+BAAuB;IAFvB,uBAAuB;IAEvB,uBAAuB;CAC1B;;AAED;;;IAGI,oBAAoB;CACvB;;AAED;IACI,uBAA0C;IAC1C,YAAyB;IACzB,gBAA4B;IAC5B,iBAAgC;IAChC,UAAU;CACb;;AAED;;;;;IAKI,qNAAgC;CACnC;;AAMD;;;;;;IAMI,iBAAoC;CACvC;;AAED;;;;;;;;;;IAUI,iBAA6B;CAChC;;AAED;;;;;;IAMI,iBAAqC;CACxC;;AAED;IAAK,gBAA+B;CAAE;;AACtC;IAAK,gBAA+B;CAAE;;AACtC;IAAK,gBAA+B;CAAE;;AACtC;IAAK,gBAA+B;CAAE;;AACtC;IAAK,gBAA+B;CAAE;;AACtC;IAAK,gBAA+B;CAAE;;AAEtC;IAII,sCAAsC;IAHtC,eAA4B;IAC5B,sBAAsB;CAQzB;;AAJG;;IAEI,2BAA2B;CAC9B;;AAGL;;;IAGI,iBAAqC;CACxC;;AAED;;;IAGI,0BAAgD;IAChD,eAAkC;IAClC,qBAA6B;CAChC;;AAED;;;;IAII,yEAA0C;CAC7C;;AAED;IAKI,kCAAkC;IAJlC,0BAAgD;IAEhD,iBAAoC;IACpC,eAAe;IAEf,cAA0B;CAQ7B;;AALG;;IAPA,gBAAgC;CAW/B;;AAJD;IACI,8BAA8B;IAE9B,WAAW;CACd;;AAGL;IACI,4BAAkE;IAClE,YAA+B;IAC/B,mBAA+B;CAClC;;AAED;;IAEI,mBAAsC;CACzC;;AAED;;;;;;IAMI,UAAU;CACb;;AAED;IAEI,UAA0D;IAA1D,2BAA0D;CAC7D;;AAOD;;;IAJI,eAAkC;CAUrC;;AAND;;IAGI,eAAe;IACf,mBAAmB;IACnB,yBAAyB;CAC5B;;AAED;IACI,cAAe;CAClB;;AAED;IACI,WAAY;CACf;;AAED;;IAEI,mBAAmB;CACtB;;AAED;IACI,uBAAyB;IACzB,YAAyB;IACzB,iBAAiB;CACpB;;AAED;IACI,eAAe;CAClB;;AAED;IAGI,0CAAkC;IAFlC,iBAAiB;IACjB,2BAA2B;IAC3B,kCAAkC;CACrC;;AAOD;IACI,cAAc;IACd,UAAU;CACb;;AAED;IAII,mBAAmB;IAFnB,uBAAuB;CAG1B;;AAED;;;IANI,gBAAgB;CASnB;;AAED;IACI,YAA+B;IAC/B,eAAkC;CACrC;;AAaD;IACI,gBAAgB;CACnB;;AAGD;;;;;;;;;IASI,+BAA2B;IAA3B,2BAA2B;CAC9B;;AAED;;;;;IAOI,2BAAmB;IAAnB,mBAAmB;CACtB;;AAED;IAEI,sBAAiB;IAAjB,yBAAiB;IAAjB,iBAAiB;CACpB;;AAGD;IACI,cAAc;CACjB;;AAED;IACI,cAAc;CACjB;;AAED;IACI,uBAAsD;IACtD,iBAA6B;IAC7B,qBAA6C;CAChD;;AAED;IACI,iBAAiB;CACpB;;AAED;IACI,YAA+B;IAC/B,mBAAmB;IACnB,iBAAoB;CACvB;;AAED;IACI,YAAyB;CAC5B;;AAED;IACI,gBAAgB;CACnB","file":"mobi-plugin-reset.css","sourcesContent":["/*! mobi-plugin-reset v3.1.1 http://getmobicss.com/docs/reset.html */\n@import 'mobi-theme-base';\n@import './index.css';\n","/**\n * Resets\n *\n * Global resets to common HTML elements.\n * Doesn't depend on any third party libraries.\n * Inspired by Normalise.css and bootstrap/_reboot.scss\n * Doesn't reset form and table because it's hard to set styles back in third-party libraries\n */\n\n\n\n/* `html` and `body` */\n\n/* Reset the box-sizing */\nhtml {\n box-sizing: border-box;\n /* Prevent adjustments of font size after orientation changes in IE and iOS. */\n text-size-adjust: 100%;\n}\n\n*,\n*::before,\n*::after {\n box-sizing: inherit;\n}\n\nbody {\n background-color: var(--color-background);\n color: var(--color-text);\n font-size: var(--font-size);\n line-height: var(--line-height);\n margin: 0;\n}\n\nbody,\nbutton,\ninput,\nselect,\ntextarea {\n font-family: var(--font-family);\n}\n\n\n\n/* Typography */\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n margin: var(--width-gap-double) 0 0;\n}\n\np,\nblockquote,\ntable,\nhr,\ndl,\nul,\nol,\npre,\naddress,\nfigure {\n margin: var(--width-gap) 0 0;\n}\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n font-weight: var(--font-weight-bold);\n}\n\nh1 { font-size: var(--font-size-h1); }\nh2 { font-size: var(--font-size-h2); }\nh3 { font-size: var(--font-size-h3); }\nh4 { font-size: var(--font-size-h4); }\nh5 { font-size: var(--font-size-h5); }\nh6 { font-size: var(--font-size-h6); }\n\na {\n color: var(--color-primary);\n text-decoration: none;\n /* Remove gaps in links underline in iOS 8+ and Safari 8+. */\n -webkit-text-decoration-skip: objects;\n\n &:active,\n &:hover {\n text-decoration: underline;\n }\n}\n\nb,\nstrong,\ndt {\n font-weight: var(--font-weight-bold);\n}\n\ncode,\nkbd,\nsamp {\n background-color: var(--color-background-faded);\n font-size: var(--font-size-small);\n padding: var(--padding-code);\n}\n\ncode,\nkbd,\nsamp,\npre {\n font-family: var(--font-family-monospace);\n}\n\npre {\n background-color: var(--color-background-faded);\n font-size: var(--font-size-pre);\n line-height: var(--line-height-pre);\n overflow: auto;\n -webkit-overflow-scrolling: touch;\n padding: var(--width-gap);\n\n /* Override the code styles */\n & code {\n background-color: transparent;\n font-size: var(--font-size-pre);\n padding: 0;\n }\n}\n\nblockquote {\n border-left: var(--width-padding-input) solid var(--color-border);\n color: var(--color-text-muted);\n padding-left: var(--width-gap);\n}\n\nul,\nol {\n padding-left: var(--width-gap-double);\n}\n\ndt,\ndd,\nol ol,\nul ul,\nol ul,\nul ol {\n margin: 0;\n}\n\nhr {\n border: 0;\n border-top: var(--width-border) solid var(--color-border);\n}\n\nsmall {\n font-size: var(--font-size-small);\n}\n\n/* Prevent `sub` and `sup` elements from affecting the line height in all browsers. */\nsub,\nsup {\n font-size: var(--font-size-small);\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.2em;\n}\n\nsup {\n top: -0.4em;\n}\n\naddress,\ntime {\n font-style: normal;\n}\n\nmark {\n background-color: yellow;\n color: var(--color-text);\n padding: 0 0.2em;\n}\n\nrt {\n font-size: 60%;\n}\n\nabbr[title] {\n border-bottom: 0;\n text-decoration: underline;\n text-decoration: underline dotted;\n}\n\n\n\n/* Embedded Content */\n\n/* Add the correct display in iOS 4-7. */\naudio:not([controls]) {\n display: none;\n height: 0;\n}\n\nimg {\n max-width: 100%;\n vertical-align: middle;\n /* Remove the border on images inside links in IE 10-. */\n border-style: none;\n}\n\naudio,\nvideo {\n max-width: 100%;\n}\n\nfigcaption {\n color: var(--color-text-muted);\n font-size: var(--font-size-small);\n}\n\n\n\n/* Forms */\n\n/**\n * iOS \"clickable elements\" fix for role=\"button\"\n *\n * Fixes \"clickability\" issue (and more generally, the firing of events such as focus as well)\n * for traditionally non-focusable elements with role=\"button\"\n * see https://developer.mozilla.org/en-US/docs/Web/Events/click#Safari_Mobile\n */\n[role=\"button\"] {\n cursor: pointer;\n}\n\n/* Avoid 300ms click delay on touch devices that support the `touch-action` CSS property. */\na,\narea,\nbutton,\n[role=\"button\"],\ninput,\nlabel,\nselect,\nsummary,\ntextarea {\n touch-action: manipulation;\n}\n\nbutton,\n/* Prevent a WebKit bug where (*) destroys native `audio` and `video` controls in Android 4. */\nhtml [type=button],\n[type=reset],\n[type=submit],\n::-webkit-file-upload-button {\n /* (*) Correct the inability to style clickable types in iOS and Safari. */\n appearance: button;\n}\n\n[type=search] {\n /* Correct the odd appearance in Chrome and Safari. */\n appearance: none;\n}\n\n/* Change font properties to `inherit` in Safari. */\n::-webkit-file-upload-button {\n font: inherit;\n}\n\n[hidden] {\n display: none;\n}\n\nfieldset {\n border: var(--width-border) solid var(--color-border);\n margin: var(--width-gap) 0 0;\n padding: 0 var(--width-gap) var(--width-gap);\n}\n\nlegend {\n padding: 0 0.2em;\n}\n\noptgroup {\n color: var(--color-text-muted);\n font-style: normal;\n font-weight: normal;\n}\n\noption {\n color: var(--color-text);\n}\n\nprogress {\n max-width: 100%;\n}\n"]}