1 | 'use strict';
|
2 |
|
3 | function __$styleInject(css) {
|
4 | if (!css) return;
|
5 |
|
6 | if (typeof window == 'undefined') return;
|
7 | var style = document.createElement('style');
|
8 | style.setAttribute('media', 'screen');
|
9 |
|
10 | style.innerHTML = css;
|
11 | document.head.appendChild(style);
|
12 | return css;
|
13 | }
|
14 | __$styleInject("body .wrap {\n color: #fff;\n}\nbody a {\n font-size: 12px;\n}\n");
|
15 |
|
16 | __$styleInject(".hidden {\n display: none !important;\n}\n.content .header {\n font-size: 12px;\n}\n.content .body {\n color: #333;\n}\n"); |
\ | No newline at end of file |