Jony/assets/css/joe.normalize.scss

146 lines
1.8 KiB
SCSS
Raw Normal View History

2021-01-19 09:56:21 +00:00
* {
2021-01-25 13:26:58 +00:00
margin: 0;
padding: 0;
box-sizing: border-box;
outline: none;
-webkit-tap-highlight-color: transparent;
2021-01-19 09:56:21 +00:00
}
2021-01-22 10:37:16 +00:00
::-webkit-scrollbar {
2021-01-25 13:26:58 +00:00
width: 8px;
height: 8px;
2021-01-22 10:37:16 +00:00
}
::-webkit-scrollbar-thumb {
2021-01-25 13:26:58 +00:00
border-radius: 4px;
background: var(--seat);
2021-01-22 10:37:16 +00:00
}
::-webkit-scrollbar-track {
2021-01-25 13:26:58 +00:00
background: transparent;
2021-01-22 10:37:16 +00:00
}
2021-02-05 12:12:22 +00:00
::selection {
color: #fff;
background: var(--theme);
}
2021-01-19 09:56:21 +00:00
body {
2021-01-25 13:26:58 +00:00
font-size: 14px;
/* 我们对字体进行统一规范,力求在各个操作系统下都有最佳展示效果。 */
font-family: 'Helvetica Neue', Helvetica, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
2021-01-25 03:29:51 +00:00
}
body::before {
2021-01-25 13:26:58 +00:00
content: '';
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
2021-01-25 04:59:40 +00:00
z-index: -520;
2021-01-25 03:29:51 +00:00
pointer-events: none;
2021-01-19 09:56:21 +00:00
}
input[type='text'] {
2021-01-25 13:26:58 +00:00
-webkit-appearance: none;
border-radius: 0;
font-size: 13px;
font-weight: 500;
2021-01-19 09:56:21 +00:00
}
2021-01-29 15:38:41 +00:00
iframe {
display: block;
border: none;
margin: 0 auto;
2021-02-03 06:24:58 +00:00
vertical-align: middle;
2021-01-29 15:38:41 +00:00
}
2021-01-19 09:56:21 +00:00
textarea {
2021-01-25 13:26:58 +00:00
resize: none;
-webkit-appearance: none;
2021-01-19 09:56:21 +00:00
}
li {
2021-01-25 13:26:58 +00:00
list-style: none;
2021-01-19 09:56:21 +00:00
}
a {
2021-01-25 13:26:58 +00:00
text-decoration: none;
2021-01-19 09:56:21 +00:00
}
h1,
h2,
h3,
h4,
h5,
h6 {
2021-01-25 13:26:58 +00:00
font-weight: 500;
2021-01-19 09:56:21 +00:00
}
img {
2021-01-25 13:26:58 +00:00
border: 0;
vertical-align: middle;
2021-01-19 09:56:21 +00:00
}
img[src=''],
img:not([src]) {
2021-01-25 13:26:58 +00:00
border: 0;
opacity: 0;
2021-01-19 09:56:21 +00:00
}
svg,
canvas {
2021-01-25 13:26:58 +00:00
vertical-align: middle;
2021-01-19 09:56:21 +00:00
}
button {
2021-01-25 13:26:58 +00:00
cursor: pointer;
-webkit-appearance: none;
font-size: 13px;
2021-01-19 09:56:21 +00:00
}
table {
2021-01-25 13:26:58 +00:00
border-collapse: collapse;
border-spacing: 0;
2021-01-19 09:56:21 +00:00
}
.joe_main {
2021-01-25 13:26:58 +00:00
min-width: 0;
flex: 1;
padding: 15px 0;
2021-01-19 09:56:21 +00:00
}
2021-01-24 13:30:43 +00:00
.joe_container {
2021-01-25 13:26:58 +00:00
display: flex;
width: 100%;
margin: 0 auto;
padding: 0 15px;
2021-01-24 13:30:43 +00:00
}
@media (min-width: 576px) {
2021-01-25 13:26:58 +00:00
.joe_container {
max-width: 540px;
}
2021-01-19 09:56:21 +00:00
}
2021-01-24 13:30:43 +00:00
@media (min-width: 768px) {
2021-01-25 13:26:58 +00:00
.joe_container {
max-width: 720px;
}
2021-01-19 09:56:21 +00:00
}
2021-01-24 13:30:43 +00:00
@media (min-width: 992px) {
2021-01-25 13:26:58 +00:00
.joe_container {
max-width: 960px;
}
2021-01-24 13:30:43 +00:00
}
@media (min-width: 1200px) {
2021-01-25 13:26:58 +00:00
.joe_container {
max-width: 1140px;
}
2021-01-19 09:56:21 +00:00
}
2021-01-24 13:30:43 +00:00
@media (min-width: 1400px) {
2021-01-25 13:26:58 +00:00
.joe_container {
max-width: 1320px;
}
2021-01-19 09:56:21 +00:00
}