global.less 1.0 KB
Newer Older
璃白.'s avatar
璃白. 已提交
1 2
@import "./variable.less";
@import "./iconfont.less";
璃白.'s avatar
fix  
璃白. 已提交
3
@import "./markdown.less";
璃白.'s avatar
璃白. 已提交
4
@import "./card.less";
璃白.'s avatar
璃白. 已提交
5 6 7 8

* {
  padding: 0;
  margin: 0;
璃白.'s avatar
fix  
璃白. 已提交
9
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
璃白.'s avatar
璃白. 已提交
10 11
  font-family: -apple-system, SF UI Text, Arial, PingFang SC, Hiragino Sans GB,
    Microsoft YaHei, WenQuanYi Micro Hei, sans-serif, SimHei, SimSun;
璃白.'s avatar
璃白. 已提交
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
}

html,
body,
#app {
  padding: 0;
  margin: 0;
  min-height: 100vh;
}

ul,
ol,
li,
input,
textarea {
  list-style: none;
  outline: none;
  border: none;
  padding: 0;
}

璃白.'s avatar
璃白. 已提交
33 34 35 36 37 38 39 40 41 42 43 44 45 46
/* 可以设置不同的进入和离开动画 */
/* 设置持续时间和动画函数 */
.slide-fade-enter-active {
  transition: all 0.3s ease;
}
.slide-fade-leave-active {
  transition: all 0.3s cubic-bezier(1, 0.5, 0.8, 1);
}
.slide-fade-enter, .slide-fade-leave-to
/* .slide-fade-leave-active for below version 2.1.8 */ {
  transform: translateX(40px);
  opacity: 0;
}

璃白.'s avatar
fix  
璃白. 已提交
47 48 49
// img {
//   display: block;
//   margin: 0;
璃白.'s avatar
璃白. 已提交
50 51 52 53 54 55 56 57 58 59
// }

.md_flex_card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  .flex-1 {
    flex: 1;
  }
}