CardList.less 1.16 KB
Newer Older
1 2 3 4
@import "~antd/lib/style/themes/default.less";
@import "../../utils/utils.less";

.cardList {
nikogu's avatar
nikogu committed
5
  margin-bottom: -24px;
6 7 8 9 10 11 12 13 14 15
  :global {
    .ant-card-meta-content {
      margin-top: 0;
    }
  }
}

.extraImg {
  margin-top: -60px;
  text-align: center;
16 17 18 19
  width: 195px;
  img {
    width: 100%;
  }
20 21 22
}

.newButton {
nikogu's avatar
nikogu committed
23
  background-color: #fff;
24 25 26
  border-color: @border-color-base;
  color: @text-color-secondary;
  width: 100%;
niko's avatar
niko committed
27
  height: 185px;
28 29 30 31
}

.cardDescription {
  .textOverflowMulti();
nikogu's avatar
nikogu committed
32
  color: @text-color;
33 34 35 36 37 38 39 40 41 42
}

.pageHeaderContent {
  position: relative;
}

.contentLink {
  margin-top: 16px;
  a {
    margin-right: 32px;
niko's avatar
niko committed
43 44 45
    img {
      width: 24px;
    }
46 47 48 49 50 51 52 53 54 55 56 57 58 59
  }
  img {
    vertical-align: middle;
    margin-right: 8px;
  }
}

@media screen and (max-width: @screen-lg) {
  .contentLink {
    a {
      margin-right: 16px;
    }
  }
}
niko's avatar
niko committed
60 61 62 63 64
@media screen and (max-width: @screen-md) {
  .extraImg {
    display: none;
  }
}
65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82

@media screen and (max-width: @screen-sm) {
  .pageHeaderContent {
    padding-bottom: 30px;
  }
  .contentLink {
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 1000px;
    a {
      margin-right: 16px;
    }
    img {
      margin-right: 4px;
    }
  }
}