Skip to content

Commit ced262d

Browse files
authored
Minor style improvements to ablog (#1185)
1 parent 9a10f9d commit ced262d

File tree

1 file changed

+13
-5
lines changed
  • src/pydata_sphinx_theme/assets/styles/extensions

1 file changed

+13
-5
lines changed

src/pydata_sphinx_theme/assets/styles/extensions/_ablog.scss

+13-5
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
&.ablog-cloud {
3737
flex-direction: row;
3838
flex-flow: wrap;
39-
gap: 0.25rem;
39+
gap: 0.5rem;
4040

4141
// Vertical-align tag clouds
4242
li {
@@ -110,21 +110,29 @@
110110
.ablog-post {
111111
list-style: none;
112112

113-
// Post metadata
113+
// Post metadata tags (author, links ,etc) should be a bit smaller
114114
.ablog-archive {
115+
display: flex;
116+
flex-direction: row;
117+
flex-wrap: wrap;
118+
gap: 1rem;
115119
list-style: none;
120+
font-size: 0.75rem;
116121
padding-left: 0;
117122
}
118123

119-
// Title line should be a bit bigger
124+
// Title line should be a bit bigger and bold to stand out
120125
.ablog-post-title {
121126
margin-top: 0;
122-
font-size: 1.5rem;
127+
font-size: 1.25rem;
128+
129+
a {
130+
font-weight: bold;
131+
}
123132
}
124133

125134
// Read more button should be a bit bigger
126135
.ablog-post-expand {
127-
font-size: 1.25rem;
128136
margin-bottom: 0.5rem;
129137
}
130138
}

0 commit comments

Comments
 (0)