diff options
author | 2020-10-23 22:00:27 +1000 | |
---|---|---|
committer | 2020-10-23 22:00:27 +1000 | |
commit | f1ee1f154494728f305381df19d9f293b8667805 (patch) | |
tree | 8368755dbf29ada00cef5cd395282ef09ed4081d /pydis_site/static | |
parent | Use sections, remove unused CSS, improve repo cards. (diff) |
Fix video aspect in timeline, quote img src urls.
After updating the frontpage and creating an fixed-aspect-ratio style pair, I found I could just reuse them in the timeline to fix the inconsistent responsive aspect ratio that was occurring there.
Some img src values also were not quoted; while this can work fine, it can break if the url has spaces or certain characters and is inconsistent with the rest of the project.
Diffstat (limited to 'pydis_site/static')
-rw-r--r-- | pydis_site/static/css/home/timeline.css | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/pydis_site/static/css/home/timeline.css b/pydis_site/static/css/home/timeline.css index 07e17e15..89de0887 100644 --- a/pydis_site/static/css/home/timeline.css +++ b/pydis_site/static/css/home/timeline.css @@ -61,20 +61,6 @@ button, input, textarea, select { background-color: #576297 !important; } -.video-container { - position: relative; - width: 100%; - height: 0; - padding-bottom: 75%; -} -.video { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; -} - .pydis-logo-banner { background-color: #7289DA !important; border-radius: 10px; |