-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathextra.css
More file actions
48 lines (41 loc) · 1.14 KB
/
Copy pathextra.css
File metadata and controls
48 lines (41 loc) · 1.14 KB
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
[data-md-color-scheme="default"] {
--md-primary-fg-color: #2f8bff;
--md-accent-fg-color: #1f5db0;
--md-accent-fg-color--transparent: #1f5db0;
}
[data-md-color-scheme="slate"] {
--md-hue: 200;
--md-primary-fg-color: #2f8bff;
--md-accent-fg-color: #1f5db0;
--md-accent-fg-color--transparent: #1f5db0;
}
/* Latest news cards on the home page (generated by hooks/latest_posts.py) */
.latest-posts > ul > li {
position: relative;
display: flex;
flex-direction: column;
}
/* Stretch the title link over the whole card */
.latest-posts > ul > li strong a::after {
content: "";
position: absolute;
inset: 0;
}
.latest-posts__meta {
display: block;
font-size: .7rem;
color: var(--md-default-fg-color--light);
}
.latest-posts__more {
margin-top: auto;
font-size: .7rem;
color: var(--md-accent-fg-color);
}
[data-md-color-scheme="slate"] .latest-posts__more {
color: var(--md-primary-fg-color);
}
/* Material's pin badge (md-pin) is a flex item on the Announcements page - align it inline here */
.latest-posts__meta .md-pin {
display: inline-block;
vertical-align: middle;
}