1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- body {
- /* 定义一些主题色及基础样式 */
- font-family: PingFang SC, Arial, Hiragino Sans GB, Microsoft YaHei, sans-serif;
- margin: 0;
- padding: 0;
- font-size: 14px;
- background-color: $--background-color-base;
- font-weight: 400;
- color: $--color-text-primary;
- line-height: 1.3;
- }
- *, :after, :before {
- box-sizing: border-box;
- }
- button, input {
- font-family: PingFang SC, Arial, Hiragino Sans GB, Microsoft YaHei, sans-serif;
- font-size: 14px;
- outline: none;
- border: none;
- }
- ul,li,ol {
- margin:0;
- padding:0;
- list-style: none;
- }
- // 去除number类型input框加减号
- /* 谷歌 */
- input::-webkit-outer-spin-button,
- input::-webkit-inner-spin-button {
- -webkit-appearance: none;
- appearance: none;
- margin: 0;
- }
- /* 火狐 */
- input{
- -moz-appearance:textfield;
- }
- a {
- color: unset;
- text-decoration: none;
- }
|