Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor style improvements to ablog #1185

Merged
merged 1 commit into from
Feb 16, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 13 additions & 5 deletions src/pydata_sphinx_theme/assets/styles/extensions/_ablog.scss
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
&.ablog-cloud {
flex-direction: row;
flex-flow: wrap;
gap: 0.25rem;
gap: 0.5rem;

// Vertical-align tag clouds
li {
Expand Down Expand Up @@ -110,21 +110,29 @@
.ablog-post {
list-style: none;

// Post metadata
// Post metadata tags (author, links ,etc) should be a bit smaller
.ablog-archive {
display: flex;
flex-direction: row;
flex-wrap: wrap;
gap: 1rem;
list-style: none;
font-size: 0.75rem;
padding-left: 0;
}

// Title line should be a bit bigger
// Title line should be a bit bigger and bold to stand out
.ablog-post-title {
margin-top: 0;
font-size: 1.5rem;
font-size: 1.25rem;

a {
font-weight: bold;
}
}

// Read more button should be a bit bigger
.ablog-post-expand {
font-size: 1.25rem;
margin-bottom: 0.5rem;
}
}
Expand Down