index.scss 2.01 KB
@import './normalize.scss';
@import './sprite.scss';
* {
  margin: 0;
  padding: 0;
}
html,
body .app {
  color: #333333;
  font-family: Arial, Helvetica, 'STHeiti STXihei', 'Microsoft YaHei', Tohoma, sans-serif;
  background-color: #F7F7F7;
  -webkit-overflow-scrolling: touch;
  height: 100%;
  // overflow: hidden;
}

img {
  width: 100%;
  height: 100%;
  vertical-align: top;
}

.flex {
  display: flex;
  align-items: center;
}

.center{
  text-align:center;
}
.text-hide {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.text-two-line {
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  word-break: break-all;
}

.text-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.text-space {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.text-start {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.x-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.y-center {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.sticky {
  position: static;
}
.text-12 {
  font-size: 12px;
  font-weight: 400;
}
.text-14 {
  font-size: 14px;
  font-weight: 400;
}
.text-17 {
  font-size: 14px;
}
.text-20 {
  font-size: 20px;
  font-weight: 500;
  color: #ffffff;
}
.text-16 {
  font-size: 16px;
}
.color-3 {
  color: #333333;
}
.color-6 {
  color: #666666;
}
.color-32 {
  color: #323232;
}
.color-9 {
  color: #999999;
}
.line-28 {
  line-height: 28px;
}
.line-17 {
  line-height: 17px;
}
.line-22 {
  line-height: 22px;
}
.line-60{
  line-height: 60px;
}

.weight-6 {
  font-weight: 600;
}
.weight-5 {
  font-weight: 500;
}
.weight-4 {
  font-weight: 400;
}
.hg {
  height: 28px;
}

.button {
  width: 343px;
  height: 42px;
  background: #3975c6;
  border-radius: 21px;
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
  line-height: 42px;
  text-align: center;
  margin: 0 auto;
}
.bottom {
  vertical-align: bottom;
}