about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/styles/components/metadata.scss
blob: 29a6330e9c0395c4b8aca80dc73d001cdb30eb3f (plain) (blame)
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
.account__header .account__header__fields {
  font-size: 15px;
  line-height: 20px;
  overflow: hidden;
  margin: 20px -10px -20px;
  border-bottom: 0;

  a {
    text-decoration: none;

    &:hover{
      text-decoration: underline;
    }
  }

  dl {
    border-top: 1px solid lighten($ui-base-color, 8%);
    display: flex;
  }

  dt,
  dd {
    box-sizing: border-box;
    padding: 14px 20px;
    text-align: center;
    max-height: 48px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  dt {
    color: $darker-text-color;
    background: lighten($ui-base-color, 13%);
    width: 120px;
    flex: 0 0 auto;
    font-weight: 500;

    a {
      color: $primary-text-color;
    }
  }

  dd {
    flex: 1 1 auto;
    color: $primary-text-color;
    background: $ui-base-color;

    a {
      color: $highlight-text-color;
    }
  }
}