forked from scientific-python/scientific-python-hugo-theme
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathposts.css
More file actions
109 lines (88 loc) · 1.49 KB
/
posts.css
File metadata and controls
109 lines (88 loc) · 1.49 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
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
.post-list {
display: flex;
flex-wrap: wrap;
column-gap: 2rem;
}
.post-list article {
flex-grow: 2;
flex-basis: 48%;
padding-top: 1.5rem;
}
.post-title a {
/* ".content-padding a" rule conflicts. */
color: var(--pst-color-text-base) !important;
}
.post-meta {
color: var(--pst-color-text-muted);
}
.post-list .post-title {
font-size: 1.25rem;
font-weight: bold;
}
.post-author {
display: inline;
}
.post-author:not(:first-child):before {
content: "";
}
.post-date {
padding-left: 0.5rem;
}
/* Reduce space between label icon and labels */
.post-tag:nth-child(2) {
padding-left: 0.1rem;
}
.post-tag {
padding-left: 0.3rem;
}
.post-author:not(:first-child) {
padding-left: 0.5rem;
}
.post-meta {
padding-bottom: 1rem;
}
.post-meta .icon {
font-size: 1.5rem;
}
.post-meta svg {
fill: gray;
}
.post-content p:not(:last-child) {
margin-bottom: 0.25rem;
}
.post-summary img {
border: 1px solid #bbb;
float: right;
max-width: 15em;
margin: 0.5em;
}
.post-list .post-summary {
padding-top: 0.5rem;
}
.post-featuredImage img {
/* FIXME: Use color variable. */
border: 1px #bbb solid;
max-width: 20rem;
margin: 0.5em;
float: left;
margin-right: 1.25rem;
}
.post-please-comment {
display: none;
}
.read-more {
font-style: italic;
}
.tag-cloud {
position: sticky;
align-self: flex-start;
top: 6rem;
margin: 0;
padding: 0;
line-height: 1.3em;
}
.tag-cloud-title {
font-size: 2rem;
margin-top: 3.75rem;
padding-bottom: 0.625rem;
}