lightlimx-website/assets/style/reset.less

64 lines
2.2 KiB
Plaintext

@font-face {
font-family: 'Manrope'; /*给自定义字体命名*/
src: url('~/assets/fonts/Manrope-Regular.ttf') format('truetype');
font-weight:normal;
font-style: normal;
}
@font-face {
font-family: 'Manrope'; /*给自定义字体命名*/
src: url('~/assets/fonts/Manrope-Bold.ttf') format('truetype');
font-weight:Bold;
font-style: normal;
}
body,dl,dt,dd,ul,ol,li,pre,form,fieldset,input,p,blockquote,th,td{;font-weight:400;margin:0;padding:0}h1,h2,h3,h4,h4,h5{margin:0;padding:0}body{background-color:#f7f7f7;color:#666;font-family:Helvetica,Arial,sans-serif;font-size:14px;text-align:left}select{font-size:14px}table{border-collapse:collapse}fieldset,img{border:0 none}fieldset{margin:0;padding:0}fieldset p{margin:0;padding:0 0 0 8px}legend{display:none}address,caption,em,strong,th,i{font-style:normal;font-weight:400}table caption{margin-left:-1px}hr{border-bottom:1px solid #fff;border-top:1px solid #eee;border-width:1px 0;clear:both;height:2px;margin:5px 0;overflow:hidden}ol,ul{list-style-image:none;list-style-position:outside;list-style-type:none}caption,th{text-align:left}q:before,q:after,blockquote:before,blockquote:after{content:''}.clearfix{clear: both;}.fl{float: left;}.fr{float: right;}html,body{height: 100%}
#__layout,#__nuxt{
height: 100%;
display: block;
}
body{
overflow-x: hidden !important;
}
div[class*="-h5-wrap"]{
width: 100%;
max-width: 13rem;
margin: 0 auto;
}
@media screen and (max-width: 1300px) {
div[class*="-h5-wrap"]{
padding: 0 .15rem;
box-sizing: border-box;
white-space:pre-wrap;
//overflow--y: visible;
}
}
@media screen and (max-width: 768px) {
div[class*="-h5-wrap"]{
padding: 0 .15rem;
box-sizing: border-box;
white-space:pre-wrap;
overflow-x:hidden ;
height: auto !important;
}
}
.h5-scroll-bar{
overflow-y: auto;
}
.h5-scroll-bar::-webkit-scrollbar{
width:4px;
height:4px;
}
.h5-scroll-bar::-webkit-scrollbar-track{
background: #f6f6f6;
border-radius:2px;
}
.h5-scroll-bar::-webkit-scrollbar-thumb{
background: #aaa;
border-radius:2px;
}
.h5-scroll-bar::-webkit-scrollbar-thumb:hover{
background: #747474;
}
.h5-scroll-bar::-webkit-scrollbar-corner{
background: #f6f6f6;
}