about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/styles/components/signed_out.scss
blob: efb49305dc73302a322e196b4b878f893750b7eb (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
54
55
56
57
58
59
60
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
.sign-in-banner {
  padding: 10px;

  p {
    color: $darker-text-color;
    margin-bottom: 20px;

    a {
      color: $secondary-text-color;
      text-decoration: none;
      unicode-bidi: isolate;

      &:hover {
        text-decoration: underline;

        .fa {
          color: lighten($dark-text-color, 7%);
        }
      }
    }
  }

  .button {
    margin-bottom: 10px;
  }
}

.server-banner {
  padding: 20px 0;

  &__introduction {
    color: $darker-text-color;
    margin-bottom: 20px;

    strong {
      font-weight: 600;
    }

    a {
      color: inherit;
      text-decoration: underline;

      &:hover,
      &:active,
      &:focus {
        text-decoration: none;
      }
    }
  }

  &__hero {
    display: block;
    border-radius: 4px;
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    aspect-ratio: 1.9;
    border: 0;
    background: $ui-base-color;
    object-fit: cover;
  }

  &__description {
    margin-bottom: 20px;
  }

  &__meta {
    display: flex;
    gap: 10px;
    max-width: 100%;

    &__column {
      flex: 0 0 auto;
      width: calc(50% - 5px);
      overflow: hidden;
    }
  }

  &__number {
    font-weight: 600;
    color: $primary-text-color;
    font-size: 14px;
  }

  &__number-label {
    color: $darker-text-color;
    font-weight: 500;
    font-size: 14px;
  }

  h4 {
    text-transform: uppercase;
    color: $darker-text-color;
    margin-bottom: 10px;
    font-weight: 600;
  }

  .account {
    padding: 0;
    border: 0;
  }

  .account__avatar-wrapper {
    margin-left: 0;
  }

  .spacer {
    margin: 10px 0;
  }
}