diff options
| author | 2021-10-17 13:41:51 +0100 | |
|---|---|---|
| committer | 2021-10-17 13:41:51 +0100 | |
| commit | f5ab651b1f8e2dc9f498198087750d4c38010320 (patch) | |
| tree | d101820efaa59f066e37d3aa4d6908663498a1ba /pydis_site/static/css | |
| parent | Direct appeals to the appeals server (diff) | |
| parent | Merge pull request #613 from python-discord/mbaruh-patch-1 (diff) | |
Merge branch 'main' into new-ban-appeals-process
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;  } | 
