index.less 1.38 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11
@import "~antd/lib/style/themes/default.less";

.exception {
  display: flex;
  align-items: center;
  height: 100%;

  .imgBlock {
    flex: 0 0 62.5%;
    width: 62.5%;
    padding-right: 152px;
12 13 14 15 16 17 18 19 20 21 22 23
    zoom: 1;
    &:before,
    &:after {
      content: " ";
      display: table;
    }
    &:after {
      clear: both;
      visibility: hidden;
      font-size: 0;
      height: 0;
    }
ddcat1115's avatar
ddcat1115 committed
24 25 26 27
  }

  .imgEle {
    height: 360px;
ddcat1115's avatar
ddcat1115 committed
28 29
    width: 100%;
    max-width: 430px;
ddcat1115's avatar
ddcat1115 committed
30 31 32
    float: right;
    background-repeat: no-repeat;
    background-position: 50% 50%;
afc163's avatar
afc163 committed
33
    background-size: contain;
34 35 36 37 38 39
  }

  .content {
    flex: auto;

    h1 {
ddcat1115's avatar
ddcat1115 committed
40 41 42 43 44
      color: #434e59;
      font-size: 72px;
      font-weight: 600;
      line-height: 72px;
      margin-bottom: 24px;
45 46 47 48 49
    }

    .desc {
      color: @text-color-secondary;
      font-size: 20px;
ddcat1115's avatar
ddcat1115 committed
50
      line-height: 28px;
51 52 53 54 55 56 57 58 59 60
      margin-bottom: 16px;
    }

    .actions {
      button:not(:last-child) {
        margin-right: 8px;
      }
    }
  }
}
ddcat1115's avatar
ddcat1115 committed
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

@media screen and (max-width: @screen-xl) {
  .exception {
    .imgBlock {
      padding-right: 88px;
    }
  }
}

@media screen and (max-width: @screen-sm) {
  .exception {
    display: block;
    text-align: center;
    .imgBlock {
      padding-right: 0;
      margin: 0 auto 24px;
    }
  }
}

@media screen and (max-width: @screen-xs) {
  .exception {
    .imgBlock {
      margin-bottom: -24px;
      overflow: hidden;
    }
  }
}