Jony/assets/css/joe.normalize.scss

147 lines
1.9 KiB
SCSS
Raw Normal View History

2021-01-19 09:56:21 +00:00
* {
2021-01-23 15:32:27 +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-23 15:32:27 +00:00
width: 8px;
2021-01-22 10:37:16 +00:00
}
::-webkit-scrollbar-thumb {
2021-01-23 15:32:27 +00:00
border-radius: 4px;
background: var(--seat);
2021-01-22 10:37:16 +00:00
}
::-webkit-scrollbar-track {
2021-01-23 15:32:27 +00:00
background: transparent;
2021-01-22 10:37:16 +00:00
}
2021-01-19 09:56:21 +00:00
body {
2021-01-23 15:32:27 +00:00
font-size: 14px;
background: #f5f5f5;
font-family: 'Helvetica Neue', Helvetica, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
2021-01-19 09:56:21 +00:00
}
input[type='text'] {
2021-01-23 15:32:27 +00:00
-webkit-appearance: none;
border-radius: 0;
font-size: 13px;
font-weight: 500;
2021-01-19 09:56:21 +00:00
}
textarea {
2021-01-23 15:32:27 +00:00
resize: none;
-webkit-appearance: none;
2021-01-19 09:56:21 +00:00
}
li {
2021-01-23 15:32:27 +00:00
list-style: none;
2021-01-19 09:56:21 +00:00
}
a {
2021-01-23 15:32:27 +00:00
text-decoration: none;
2021-01-19 09:56:21 +00:00
}
h1,
h2,
h3,
h4,
h5,
h6 {
2021-01-23 15:32:27 +00:00
font-weight: 500;
2021-01-19 09:56:21 +00:00
}
img {
2021-01-23 15:32:27 +00:00
border: 0;
vertical-align: middle;
2021-01-19 09:56:21 +00:00
}
img[src=''],
img:not([src]) {
2021-01-23 15:32:27 +00:00
border: 0;
opacity: 0;
2021-01-19 09:56:21 +00:00
}
svg,
canvas {
2021-01-23 15:32:27 +00:00
vertical-align: middle;
2021-01-19 09:56:21 +00:00
}
button {
2021-01-23 15:32:27 +00:00
cursor: pointer;
-webkit-appearance: none;
font-size: 13px;
2021-01-19 09:56:21 +00:00
}
table {
2021-01-23 15:32:27 +00:00
border-collapse: collapse;
border-spacing: 0;
2021-01-19 09:56:21 +00:00
}
.joe_main {
2021-01-23 15:32:27 +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 {
display: flex;
width: 100%;
margin: 0 auto;
padding: 0 15px;
}
@media (min-width: 576px) {
2021-01-23 15:32:27 +00:00
.joe_container {
2021-01-24 13:30:43 +00:00
max-width: 540px;
2021-01-23 15:32:27 +00:00
}
2021-01-19 09:56:21 +00:00
}
2021-01-24 13:30:43 +00:00
@media (min-width: 768px) {
2021-01-23 15:32:27 +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-23 15:32:27 +00:00
.joe_container {
2021-01-24 13:30:43 +00:00
max-width: 960px;
}
}
@media (min-width: 1200px) {
.joe_container {
max-width: 1140px;
2021-01-23 15:32:27 +00:00
}
2021-01-19 09:56:21 +00:00
}
2021-01-24 13:30:43 +00:00
@media (min-width: 1400px) {
2021-01-23 15:32:27 +00:00
.joe_container {
2021-01-24 13:30:43 +00:00
max-width: 1320px;
2021-01-23 15:32:27 +00:00
}
2021-01-19 09:56:21 +00:00
}
html {
2021-01-23 15:32:27 +00:00
--background: #fff;
2021-01-19 09:56:21 +00:00
2021-01-23 15:32:27 +00:00
--theme: #f24e4e;
2021-01-19 09:56:21 +00:00
2021-01-23 15:32:27 +00:00
--main: #303133;
--routine: #606266;
--minor: #909399;
--seat: #c0c4cc;
2021-01-19 09:56:21 +00:00
2021-01-23 15:32:27 +00:00
--classA: #dcdfe6;
--classB: #e4e7ed;
--classC: #ebeef5;
--classD: #f2f6fc;
2021-01-19 09:56:21 +00:00
2021-01-23 15:32:27 +00:00
--text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
2021-01-19 09:56:21 +00:00
2021-01-23 15:32:27 +00:00
--box-shadow: 0px 0px 20px -5px rgba(158, 158, 158, 0.22);
2021-01-19 09:56:21 +00:00
}
html[dark='true'] {
2021-01-23 15:32:27 +00:00
--background: #303133;
--box-shadow: none;
2021-01-19 09:56:21 +00:00
}