aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/static/css
diff options
context:
space:
mode:
authorGravatar Leon Sandøy <[email protected]>2021-04-25 21:25:10 +0200
committerGravatar GitHub <[email protected]>2021-04-25 21:25:10 +0200
commitbd5f444e86cebb8d3928af0696a4a7b9c6a1a1fb (patch)
tree0a98b8040f455a3279ab91cb8510f86fe6ec32d6 /pydis_site/static/css
parentMerge pull request #468 from python-discord/content-app-improvements (diff)
parentIncrease padding between text and images in lists. (diff)
Merge pull request #478 from python-discord/content-migration
Dewikification: Migrate site content to markdown.
Diffstat (limited to 'pydis_site/static/css')
-rw-r--r--pydis_site/static/css/content/page.css9
1 files changed, 9 insertions, 0 deletions
diff --git a/pydis_site/static/css/content/page.css b/pydis_site/static/css/content/page.css
index 3ac41d1b..d831f86d 100644
--- a/pydis_site/static/css/content/page.css
+++ b/pydis_site/static/css/content/page.css
@@ -68,3 +68,12 @@ ul.menu-list.toc {
.toc > ul > li {
list-style-type: disc;
}
+
+/*
+ * Increase space between images and any text above the image in a list.
+ * This is used instead of a newline between the image and the text in markdown
+ * so the image remains left-aligned with the list item.
+ */
+li img {
+ margin-top: 0.5em;
+}