Articles.less 1.09 KB
Newer Older
jim's avatar
jim committed
1
@import '~antd/lib/style/themes/default.less';
ζ„šι“'s avatar
ζ„šι“ committed
2
@import '../../utils/utils.less';
3 4

.listContent {
afc163's avatar
afc163 committed
5 6
  .description {
    line-height: 22px;
niko's avatar
niko committed
7
    max-width: 720px;
8
  }
afc163's avatar
afc163 committed
9
  .extra {
10 11 12
    color: @text-color-secondary;
    margin-top: 16px;
    line-height: 22px;
afc163's avatar
afc163 committed
13
    & > :global(.ant-avatar) {
14
      vertical-align: top;
niko's avatar
niko committed
15
      margin-right: 8px;
16 17
      width: 20px;
      height: 20px;
afc163's avatar
afc163 committed
18 19
      position: relative;
      top: 1px;
20 21 22 23
    }
    & > em {
      color: @disabled-color;
      font-style: normal;
niko's avatar
niko committed
24
      margin-left: 16px;
25 26 27
    }
  }
}
afc163's avatar
afc163 committed
28
a.listItemMetaTitle {
niko's avatar
niko committed
29 30
  color: @heading-color;
}
31 32 33 34
.listItemExtra {
  width: 272px;
  height: 1px;
}
niko's avatar
niko committed
35
.selfTrigger {
afc163's avatar
afc163 committed
36
  margin-left: 12px;
niko's avatar
niko committed
37
}
38

nikogu's avatar
nikogu committed
39
@media screen and (max-width: @screen-xs) {
niko's avatar
niko committed
40 41 42 43
  .selfTrigger {
    display: block;
    margin-left: 0;
  }
nikogu's avatar
nikogu committed
44 45 46 47 48 49 50 51 52
  .listContent {
    .extra {
      & > em {
        display: block;
        margin-left: 0;
        margin-top: 8px;
      }
    }
  }
niko's avatar
niko committed
53 54 55 56 57 58
}
@media screen and (max-width: @screen-md) {
  .selfTrigger {
    display: block;
    margin-left: 0;
  }
nikogu's avatar
nikogu committed
59
}
60 61 62 63 64 65
@media screen and (max-width: @screen-lg) {
  .listItemExtra {
    width: 0;
    height: 1px;
  }
}