| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120 |
- * {
- box-sizing: border-box;
- // user-select: none;
- }
- /* 去除标签自带的margin和padding */
- body,
- ol,
- ul,
- h1,
- h2,
- h3,
- h4,
- h5,
- h6,
- p,
- th,
- td,
- dl,
- dd,
- form,
- fieldset,
- legend,
- input,
- textarea,
- select,
- td {
- margin: 0;
- padding: 0;
- }
- /* 设置页面的统一的样式 */
- body {
- word-wrap: break-word;
- }
- /* 去除a标签默认样式 */
- a {
- text-decoration: none;
- }
- /* i使斜体的文字正常 em使强调的内容正常 */
- em,
- i {
- font-style: normal;
- }
- strong,
- b {
- font-weight: 100;
- }
- /* 去除li元素默认的小圆点 */
- li {
- list-style: none;
- }
- /* 去除图片的margin和padding */
- img {
- display: block;
- }
- /* 设置单元格为单线样式 */
- table {
- border-collapse: collapse;
- border-spacing: 0;
- }
- /* 首行缩进连两个单位 */
- .indent {
- text-indent: 2em;
- }
- .noborder {
- border: 0;
- }
- /* 省略号 */
- .ellipsis {
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- }
- *:focus-visible {
- outline: none !important;
- }
- *:focus-visible {
- outline: none !important;
- }
- /* 设置滚动条的宽度和背景色 */
- ::-webkit-scrollbar {
- width: 0;
- height: 0;
- background-color: transparent;
- }
- /* 设置滚动条轨道的样式 */
- ::-webkit-scrollbar-track {
- border-radius: 10px;
- }
- /* 设置滚动条滑块的样式 */
- ::-webkit-scrollbar-thumb {
- background-color: #57a3f3;
- border-radius: 10px;
- }
- /* 设置滚动条角落的样式 */
- ::-webkit-scrollbar-corner {
- background-color: transparent;
- }
- tbody::-webkit-scrollbar {
- width:0;
- height: 0;
- }
|