diff options
author | 2021-11-05 10:09:35 +0530 | |
---|---|---|
committer | 2021-11-05 10:09:35 +0530 | |
commit | 747a7b9cb465c85a064ac6e1a0444bcf8a81ec65 (patch) | |
tree | 1bb529b764bed5c727a3956b7bb432a18ec82d43 /pydis_site/static/css | |
parent | Merge branch 'main' into otn_softdel (diff) | |
parent | Merge pull request #617 from python-discord/mbaruh-patch-1 (diff) |
Pull from upstream/main and resolve conflicts.
Diffstat (limited to 'pydis_site/static/css')
-rw-r--r-- | pydis_site/static/css/content/page.css | 13 | ||||
-rw-r--r-- | pydis_site/static/css/home/index.css | 12 |
2 files changed, 23 insertions, 2 deletions
diff --git a/pydis_site/static/css/content/page.css b/pydis_site/static/css/content/page.css index d831f86d..2d4bd325 100644 --- a/pydis_site/static/css/content/page.css +++ b/pydis_site/static/css/content/page.css @@ -77,3 +77,16 @@ ul.menu-list.toc { li img { margin-top: 0.5em; } + +.collapsible { + cursor: pointer; + width: 100%; + border: none; + outline: none; +} + +.collapsible-content { + overflow: hidden; + max-height: 0; + transition: max-height 0.2s ease-out; +} diff --git a/pydis_site/static/css/home/index.css b/pydis_site/static/css/home/index.css index ee6f6e4c..7ec8af74 100644 --- a/pydis_site/static/css/home/index.css +++ b/pydis_site/static/css/home/index.css @@ -215,12 +215,20 @@ h1 { } #sponsors .columns { + display: block; justify-content: center; margin: auto; max-width: 80%; } +#sponsors a { + margin: auto; + display: inline-block; +} + #sponsors img { - height: 5rem; - margin: auto 1rem; + width: auto; + height: auto; + + max-height: 5rem; } |