Skip to content

Commit

Permalink
Add spacing around figure
Browse files Browse the repository at this point in the history
  • Loading branch information
ericholscher committed Jan 13, 2025
1 parent ee38451 commit 39fad44
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/_static/conf/css/main-2025.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/_static/conf/css/main-2025.min.css.map

Large diffs are not rendered by default.

16 changes: 16 additions & 0 deletions docs/_static/conf/scss/main-2025.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1369,4 +1369,20 @@ pre {

.hero #offcanvas-nav.uk-open ul li {
display:block;
}


figure {
text-align: center; /* Center align the entire figure (including image and caption) */
}

figure figcaption {
margin-top: 10px; /* Add spacing between the image and the caption */
}

figure .caption-text {
display: block; /* Ensures the text behaves like a block element */
text-align: center; /* Centers the caption text */
font-size: 1rem; /* Optional: Adjust font size if needed */
color: #333; /* Optional: Customize text color */
}
3 changes: 1 addition & 2 deletions docs/conf/portland/2025/news/cfp-reminder.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ template: {{year}}/generic.html
og:image: _static/conf/images/headers/{{shortcode}}-{{year}}-opengraph.jpg
---


```{eval-rst}
.. post:: Jan 13, 2025
:tags: {{shortcode}}-{{year}}
Expand All @@ -28,7 +27,7 @@ If you already have an idea but are having a difficult time getting your proposa

```{figure} /_static/conf/images/headers/portland-2024-all-speakers.jpg
Thanks to our lovely 2024 speakers
Thanks to our lovely 2024 speakers!
```

## [Buy your ticket](https://www.writethedocs.org/conf/{{shortcode}}/{{year}}/tickets/) for the conference
Expand Down

0 comments on commit 39fad44

Please sign in to comment.