Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

libai / guodong

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Snippets
  • Members
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • guodong
  • gzh
  • hot
  • css
  • index.less
Find file
BlameHistoryPermalink
  • libai's avatar
    测试 · 7a32642b
    libai committed 4 years ago
    7a32642b
index.less 2.46 KB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132
//@font-face {
//  font-family:LT;
//  src: url('../lib/方正兰亭黑.TTF');
//}
body{
  width: 10rem;
  margin: 0 auto;
  background: #F5F5F5;
  //font-family: LT;
}
.face-box{
  height: 0.7rem;
  line-height: 1rem;
  font-size: 0;
  position: relative;
  img{
    vertical-align: middle;
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 50%;
    position: absolute;
    right: 3.3rem;
    top: 0.15rem;
  }
  .face-name{
    color: #010101;
    display: inline-block;
    line-height: 1rem;
    font-size: 0.3rem;
    width: 2.2rem;
    position: absolute;
    right: 1rem;

  }
  .face-out{
    color: #723D01;
    display: inline-block;
    line-height: 1rem;
    font-size: 0.3rem;
    width: 0.9rem;
    position: absolute;
    right: 0rem;
  }

}
.hot-ul{
  width: 10rem;
  margin-top:-0.3rem;
  li{
    position: relative;
    width: 9.2rem;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 0.2rem;
    min-height: 5.8rem;
    margin-top:0.7rem;
    .banner{
      width: 9.2rem;
      border-radius: 0.2rem 0.2rem 0 0;
      height: 4.6rem;
    }
    .subtitle{
      position: absolute;
      width: 9.2rem;
      height: 0.9rem;
      line-height: 0.9rem;
      text-indent: 0.3rem;
      color: #ffffff;
      font-size: 0.43rem !important;
      background: rgba(0, 0, 0, 0.3);
      top: 3.7rem;

    }
    .content{
      //position: absolute;
      width: 8.8rem;

      min-height: 1rem;
      margin: 0.15rem 0.2rem 0 0.2rem;
      margin-top: -0.1rem;
      padding-bottom:0.1rem;
      padding-top: 0.1rem;
      //display: -webkit-box;
      //-webkit-box-orient: vertical;
      //-webkit-line-clamp: 2;
      //overflow: hidden;
      font-size: 0.35rem;
      color: #000;
      line-height: 0.5rem;
    }
    .title{
      position: absolute;
      min-width: 1.6rem;
      height: 0.65rem;
      background: #FF6600;
      border-radius: 0.1rem 0 0 0.1rem;
      line-height: 0.65rem;
      text-align: center;
      padding-left: 0.15rem;
      padding-right: 0.15rem;
      font-size: 0.34rem;
      color: #ffffff;
      right: -0.17rem;
      top: 0.3rem;
      background-size: 100% 100%;
    }
  }
}
.act-end{
  opacity: 0.8;
}
.end{
  position: absolute;
  right:0;
  top: 2.6rem;
  z-index:80;
  width: 3rem;
}
.t{
  position: absolute;
  right: -0.175rem;
  top: 1.05rem;
}
.triangle-topleft {
  position: absolute;
  right: -0.169rem;
  top: 0.95rem;
  width: 0;
  height: 0;
  border-top: 0.2rem solid #DF4803;
  border-right: 0.17rem solid transparent;
}