diff options
author | 2020-10-23 22:30:26 +0100 | |
---|---|---|
committer | 2020-10-23 22:30:26 +0100 | |
commit | c5380778751af515e98ab9f7f74b7424e5508c52 (patch) | |
tree | 7b11a44d8dbb5ba63744c471fb9efa1bac6f82fa /pydis_site | |
parent | Allow requesting API data from internal DNS (diff) | |
parent | Update Python Discord badge to 100k members. (diff) |
Merge branch 'master' into allow-internal-dns-api
Diffstat (limited to 'pydis_site')
-rw-r--r-- | pydis_site/static/css/home/timeline.css | 20 | ||||
-rw-r--r-- | pydis_site/templates/home/timeline.html | 21 |
2 files changed, 33 insertions, 8 deletions
diff --git a/pydis_site/static/css/home/timeline.css b/pydis_site/static/css/home/timeline.css index 73698c7c..07e17e15 100644 --- a/pydis_site/static/css/home/timeline.css +++ b/pydis_site/static/css/home/timeline.css @@ -3497,8 +3497,8 @@ mark { align-items: center; -ms-flex-negative: 0; flex-shrink: 0; - width: 40px; - height: 40px; + width: 30px; + height: 30px; border-radius: 50%; box-shadow: 0 0 0 4px hsl(0, 0%, 100%), inset 0 2px 0 rgba(0, 0, 0, 0.08), 0 3px 0 4px rgba(0, 0, 0, 0.05); box-shadow: 0 0 0 4px var(--color-white), inset 0 2px 0 rgba(0, 0, 0, 0.08), 0 3px 0 4px rgba(0, 0, 0, 0.05) @@ -3509,17 +3509,23 @@ mark { color: white; } +@media (max-width: 64rem) { + .cd-timeline__img i { + font-size: 0.9em; + } +} + .cd-timeline__img img { - width: 50px; - height: 50px; + width: 40px; + height: 40px; margin-left: 2px; margin-top: 2px; } @media (max-width: 64rem) { .cd-timeline__img img { - width: 30px; - height: 30px; + width: 20px; + height: 20px; margin-left: 2px; margin-top: 2px; } @@ -3532,7 +3538,7 @@ mark { -ms-flex-order: 1; order: 1; margin-left: calc(5% - 30px); - will-change: transform + will-change: transform; } .cd-timeline__block:nth-child(even) .cd-timeline__img { diff --git a/pydis_site/templates/home/timeline.html b/pydis_site/templates/home/timeline.html index 5c71f3a7..54cbdc1b 100644 --- a/pydis_site/templates/home/timeline.html +++ b/pydis_site/templates/home/timeline.html @@ -479,6 +479,25 @@ </div> </div> + <div class="cd-timeline__block"> + <div class="cd-timeline__img cd-timeline__img--picture"> + <img src={% static "images/timeline/cd-icon-picture.svg" %} alt="Picture"> + </div> + + <div class="cd-timeline__content text-component"> + <h2>Python Discord hosts the 2020 CPython Core Developer Q&A</h2> + <div class="video-container"> + <iframe class="video" src="https://www.youtube.com/embed/gXMdfBTcOfQ" frameborder="0" + allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" + allowfullscreen></iframe> + </div> + + <div class="flex justify-between items-center"> + <span class="cd-timeline__date">Oct 21st, 2020</span> + </div> + </div> + </div> + <div class="cd-timeline__block"> <div class="cd-timeline__img pastel-dark-blue cd-timeline__img--picture"> <i class="fa fa-users"></i> @@ -490,7 +509,7 @@ and one we're very proud of. To commemorate it, we create this timeline.</p> <div class="flex justify-between items-center"> - <span class="cd-timeline__date">Sep ??, 2020</span> + <span class="cd-timeline__date">Oct 22nd, 2020</span> </div> </div> </div> |