diff --git a/packages/omi-mp/src-mp/component.wxss b/packages/omi-mp/src-mp/component.wxss new file mode 100644 index 000000000..5d6b3ca85 --- /dev/null +++ b/packages/omi-mp/src-mp/component.wxss @@ -0,0 +1,73 @@ +html { + height: 100%!important; + font-size: 12px +} + +blockquote,body,button,code,dd,div,dl,dt,fieldset,form,h1,h2,h3,h4,h5,h6,input,legend,li,ol,p,pre,td,textarea,th,ul { + margin: 0; + padding: 0 +} + +body { + background: #fff; + color: #444; + font-family: Microsoft YaHei,Verdana,Arial,Helvetica,sans-serif; + width: 100%; +} + +h1,h2,h3,h4,h5,h6 { + font-weight: 400; + font-size: 100% +} + +address,caption,cite,code,dfn,em,strong,th,var { + font-style: normal; + font-weight: 400 +} + +a { + color: #666; + text-decoration: none +} + +a:hover { + text-decoration: none +} + +img { + border: none +} + +li,ol,ul { + list-style: none +} + +button,input,select,textarea { + font: 100% Verdana,Helvetica,Arial,sans-serif; + outline: 0; + border: 1px solid #dbdbdb; + width: 100%; +} + +input { + font: 100% Verdana,Helvetica,Arial,sans-serif; + outline: 0; + border: 1px solid #dbdbdb; + width: 100%; +} + +textarea { + padding: 5px +} + +button[disabled],input[disabled] { + cursor: not-allowed +} + +b { + font-weight: 400 +} + +table { + border-collapse: collapse +}