aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/static/css/home
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2020-10-12 00:40:12 +0100
committerGravatar Joe Banks <[email protected]>2020-10-12 00:40:12 +0100
commit410bfd8996af861beedacc6711adce26dc5f684b (patch)
tree440d926210ae7bebb72393c838e4806aec06adbb /pydis_site/static/css/home
parentAdd logo to new logo timeline item (diff)
Responsively size YouTube embeds
Diffstat (limited to 'pydis_site/static/css/home')
-rw-r--r--pydis_site/static/css/home/timeline.css14
1 files changed, 14 insertions, 0 deletions
diff --git a/pydis_site/static/css/home/timeline.css b/pydis_site/static/css/home/timeline.css
index f2920686..77b2f8da 100644
--- a/pydis_site/static/css/home/timeline.css
+++ b/pydis_site/static/css/home/timeline.css
@@ -29,6 +29,20 @@ button, input, textarea, select {
margin: 0
}
+.video-container {
+ position: relative;
+ width: 100%;
+ height: 0;
+ padding-bottom: 56.25%;
+}
+.video {
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+}
+
.btn, .form-control, .link, .reset {
background-color: transparent;
padding: 0;