~avalos/devault-css

devault-css/scss/events.scss -rw-r--r-- 680 bytes
f1ef5a23avalos t 5 months ago
                                                                                
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
.event-list {
  margin-bottom: 1rem;
}

.event {
  text-overflow: ellipsis;
  overflow: hidden;
  padding: 0.5rem;
  margin: 0.5rem 0;
  background: $event-background;
  @include anchor_with_contrast($background: $event-background);

  .text-muted {
    color: color_adjust_contrast_AERT($text-muted, $event-background);
  }

  &:first-child {
    margin-top: 0;
  }

  &:last-child {
    margin-bottom: 0;
  }

  h4 {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    margin-bottom: 0;
    padding: 0;
  }

  blockquote {
    margin-bottom: 0.5rem;

    *:last-child {
      margin-bottom: 0;
    }
  }

  *:last-child {
    margin-bottom: 0;
  }
}