@akimeaki/reset-css 0.5.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/modules/reset.css +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -6,9 +6,9 @@ npm install @akimeaki/reset-css
|
|
|
6
6
|
|
|
7
7
|
# 使い方
|
|
8
8
|
|
|
9
|
-
##
|
|
9
|
+
## 読み込み順
|
|
10
10
|
|
|
11
|
-
以下の順番で読み込むことで`@akimeaki/reset-css
|
|
11
|
+
以下の順番で読み込むことで`@akimeaki/reset-css`のスタイルの優先度が一番下になります。
|
|
12
12
|
|
|
13
13
|
```js
|
|
14
14
|
import "@akimeaki/reset-css";
|
|
@@ -19,7 +19,7 @@ import "上書きしたいオリジナルスタイル.scss";
|
|
|
19
19
|
|
|
20
20
|
`@akimeaki/reset-css`は`aki-reset`layer配下に設定されています。
|
|
21
21
|
|
|
22
|
-
|
|
22
|
+
以下のような形でカスケードレイヤーの順序を設定することを推奨します。
|
|
23
23
|
|
|
24
24
|
```css
|
|
25
25
|
@layer aki-reset, <他に使いたいレイヤー1>, <他に使いたいレイヤー2>;
|
package/modules/reset.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@layer aki-reset{body{font-family:"游ゴシック体",YuGothic,"游ゴシック","メイリオ",Meiryo,"Hiragino Kaku Gothic Pro","ヒラギノ角ゴ Pro W3","MS Pゴシック",sans-serif;font-size:18px;line-height:1;color:#494949;text-decoration:none;font-weight:normal;font-variant-ligatures:none;-webkit-tap-highlight-color:rgba(0,0,0,0);word-wrap:break-word;overflow-wrap:break-word;word-break:break-word}*{box-sizing:inherit;box-sizing:border-box;padding:0;margin:0;text-align:left;word-wrap:inherit;overflow-wrap:inherit;word-break:inherit;font-family:inherit;font-size:inherit;line-height:inherit;color:inherit;text-decoration:inherit;font-weight:inherit;font-variant-ligatures:inherit;-webkit-tap-highlight-color:inherit;border:none}*:focus{outline:none}html,body{width:100%;height:100%}ul,ol{padding-block-start:0;padding-block-end:0;padding-inline-start:40px;margin-inline-start:0;margin-inline-end:0}
|
|
1
|
+
@layer aki-reset{body{font-family:"游ゴシック体",YuGothic,"游ゴシック","メイリオ",Meiryo,"Hiragino Kaku Gothic Pro","ヒラギノ角ゴ Pro W3","MS Pゴシック",sans-serif;font-size:18px;line-height:1;color:#494949;text-decoration:none;font-weight:normal;font-variant-ligatures:none;-webkit-tap-highlight-color:rgba(0,0,0,0);word-wrap:break-word;overflow-wrap:break-word;word-break:break-word}*{box-sizing:inherit;box-sizing:border-box;padding:0;margin:0;text-align:left;word-wrap:inherit;overflow-wrap:inherit;word-break:inherit;font-family:inherit;font-size:inherit;line-height:inherit;color:inherit;text-decoration:inherit;font-weight:inherit;font-variant-ligatures:inherit;-webkit-tap-highlight-color:inherit;border:none}*:focus{outline:none}html,body{width:100%;height:100%}ul,ol{padding-block-start:0;padding-block-end:0;padding-inline-start:40px;margin-inline-start:0;margin-inline-end:0}input,select{appearance:none;border:1px solid #000;border-radius:0}}
|