~cytrogen/masto-fe

ref: 7cfcd23dadc97a0ef287a2a542e3eb21c88eb70f masto-fe/app/javascript/flavours/glitch/styles/containers.scss -rw-r--r-- 1.9 KiB
7cfcd23d — Cytrogen Convert 17 SCSS files to CSS custom properties (Phase 3-4) 14 days 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
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
111
.container-alt {
  width: 700px;
  margin: 0 auto;

  @media screen and (width <= 740px) {
    width: 100%;
    margin: 0;
  }
}

.logo-container {
  margin: 50px auto;

  h1 {
    display: flex;
    justify-content: center;
    align-items: center;

    .logo {
      height: 42px;
      margin-inline-end: 10px;
    }

    a {
      display: flex;
      justify-content: center;
      align-items: center;
      color: var(--primary-text-color);
      text-decoration: none;
      outline: 0;
      padding: 12px 16px;
      line-height: 32px;
      font-weight: 500;
      font-size: 14px;
    }
  }
}

.compose-standalone {
  .compose-form {
    width: 400px;
    margin: 0 auto;
    padding: 20px 0;
    margin-top: 40px;
    box-sizing: border-box;

    @media screen and (width <= 400px) {
      width: 100%;
      margin-top: 0;
      padding: 20px;
    }
  }
}

.account-header {
  width: 400px;
  margin: 0 auto;
  display: flex;
  font-size: 13px;
  line-height: 18px;
  box-sizing: border-box;
  padding: 20px 0;
  margin-top: 40px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--ui-base-color);

  @media screen and (width <= 440px) {
    width: 100%;
    margin: 0;
    padding: 20px;
  }

  .avatar {
    width: 40px;
    height: 40px;
    background-size: 40px 40px;

    margin-inline-end: 10px;

    img {
      width: 100%;
      height: 100%;
      display: block;
      margin: 0;
      border-radius: 4px;
      border-radius: var(--ui-avatar-border-size);
      background-position: 50%;
      background-clip: padding-box;
    }
  }

  .name {
    flex: 1 1 auto;
    color: var(--secondary-text-color);
    width: calc(100% - 90px);

    .username {
      display: block;
      font-weight: 500;
      text-overflow: ellipsis;
      overflow: hidden;
    }
  }

  .logout-link {
    display: block;
    font-size: 32px;
    line-height: 40px;
    margin-inline-start: 10px;
  }
}