-
Notifications
You must be signed in to change notification settings - Fork 0
/
notes.css
92 lines (92 loc) · 2.38 KB
/
notes.css
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
#allposts #notes {
margin: 0 0 0.25em;
padding-left: 0.25em;
padding-right: 0.25em;
background: var(--sidebar);
overflow: hidden scroll;
-ms-overflow-style: none; /* IE and Edge */
scrollbar-width: none; /* Firefox */
}
#notes::-webkit-scrollbar {
display: none;
}
#notes h2 {
text-transform: uppercase;
padding: 1.5em 0.5em 0 1em;
margin-bottom: 0.5em;
height: 2.5em;
font-size: 0.75em;
font-weight: 600;
color: var(--channels);
}
#notes ol { list-style: none; }
#notes li:not(.more_notes_link_container) {
margin: 0;
padding: 0.25em 0.5em;
display: grid;
grid-template-columns: 2em 1fr;
column-gap: 0.75em;
align-items: center;
border-radius: 0.25em;
}
#notes li:not(.more_notes_link_container):hover { background-color: var(--channels-hover) }
#notes img {
border-radius: 100%;
}
#notes .action {
font-size: 0;
display: flex;
flex-direction: column;
}
#notes .action, #notes .action a { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#notes a.source_tumblelog {
color: var(--secondary);
font-size: 0.75rem;
}
#notes .avatar_frame { position: relative }
#notes .avatar_frame::after {
content: "";
background: var(--sidebar) no-repeat center;
background-size: 70%;
position: absolute;
bottom: 0;
right: -0.25em;
display: block;
height: 1.25em;
width: 1.25em;
border-radius: 100%;
}
#notes .like .avatar_frame::after { background-image: url("https://wovenstarlight.github.io/discord-theme/like.svg") }
#notes .reblog .avatar_frame::after { background-image: url("https://wovenstarlight.github.io/discord-theme/reblog.svg") }
#notes .original_post .avatar_frame::after { background-image: url("https://wovenstarlight.github.io/discord-theme/star.svg") }
#notes .with_commentary blockquote { font-size: 0.75em }
#notes .with_commentary blockquote a { color: var(--text-muted) }
#notes .more_notes_link_container { margin: 1em }
#notes .more_notes_link {
display: block;
background-color: var(--bg-standard);
padding: 0.5em;
border-radius: 0.5em;
font-variant: small-caps;
transition: .2s;
}
#notes .more_notes_link:hover { background-color: var(--bg-dark) }
@media (min-width: 1100px) {
#allposts {
display: grid;
grid-template-columns: 1fr 15em;
}
#allposts #notes {
width: 15em;
position: fixed;
top: 3em;
right: 0;
bottom: 4em;
padding-bottom: 1em;
}
.post {
height: -webkit-fit-content;
height: -moz-fit-content;
height: fit-content;
}
}