-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_toot.scss
96 lines (76 loc) · 1.75 KB
/
_toot.scss
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
@use "utilities/initial-variables" as iv;
@use "components/card";
@use "grid/columns";
@use "helpers/visibility";
$toot-background-colour: #313543;
$toot-account-colour: #9baec8;
$toot-text-colour: #fff;
$toot-hashtag-colour: #d9e1e8;
$toot-link-colour: #8c8dff;
$toot-meta-colour: #606984;
.toot {
@extend .card;
@extend .column;
background-color: $toot-background-colour;
color: $toot-text-colour;
padding: 0;
margin-top: 1rem;
margin-bottom: 1rem;
&-content {
@extend .card-content;
.media {
.title {
color: $toot-text-colour;
}
.subtitle {
color: $toot-account-colour;
}
&:hover {
.title {
text-decoration: underline;
}
}
}
.content a:hover {
text-decoration: underline;
}
a.hashtag {
color: $toot-hashtag-colour;
&:hover {
text-decoration: none;
}
& span:hover {
text-decoration: underline;
}
}
a {
color: $toot-link-colour;
.ellipsis::after {
content: "…";
}
.invisible {
@extend .is-hidden;
}
}
figure {
margin: 0 !important;
img {
border-radius: iv.$radius;
}
}
}
&-gallery {
img {
border-radius: iv.$radius;
}
}
&-meta {
color: $toot-meta-colour;
a {
color: inherit;
}
time:hover {
text-decoration: underline;
}
}
}