From 01245acdb2b3b71b81b45115486fc7e4224e5c55 Mon Sep 17 00:00:00 2001 From: lexi Date: Sat, 14 May 2022 23:34:16 -0500 Subject: [PATCH] Maintain aspect ratio of YouTube embeds (#1231) --- docs/linux-desktop/overview.en.md | 20 ++++++------------- .../multi-factor-authentication.en.md | 10 +++------- docs/stylesheets/extra.css | 16 +++++++++++++++ 3 files changed, 25 insertions(+), 21 deletions(-) diff --git a/docs/linux-desktop/overview.en.md b/docs/linux-desktop/overview.en.md index d6841c89..83ce5474 100644 --- a/docs/linux-desktop/overview.en.md +++ b/docs/linux-desktop/overview.en.md @@ -28,13 +28,9 @@ For frozen distributions, package maintainers are expected to backport patches t We don’t believe holding packages back and applying interim patches is a good idea, as it diverges from the way the developer might have intended the software to work. [Richard Brown](https://rootco.de/aboutme/) has a presentation about this: - +
+ +
## Traditional vs Atomic updates @@ -46,13 +42,9 @@ A transactional update system creates a snapshot that is made before and after a The Atomic update method is used for immutable distributions like Silverblue, Tumbleweed, and NixOS and can achieve reliability with this model. [Adam Šamalík](https://twitter.com/adsamalik) provided a presentation on how `rpm-ostree` works with Silverblue: - +
+ +
## “Security-focused” distributions diff --git a/docs/security/multi-factor-authentication.en.md b/docs/security/multi-factor-authentication.en.md index 4867be6f..9eaf1549 100644 --- a/docs/security/multi-factor-authentication.en.md +++ b/docs/security/multi-factor-authentication.en.md @@ -76,13 +76,9 @@ When you create an account the public key is sent to the service, then when you This presentation discusses the history of password authentication, the pitfalls (such as password reuse), and discussion of FIDO2 and [WebAuthn](https://webauthn.guide) standards. - +
+ +
FIDO2 and WebAuthn have superior security and privacy properties when compared to any MFA methods. diff --git a/docs/stylesheets/extra.css b/docs/stylesheets/extra.css index 1a783ee2..7c41d9f7 100644 --- a/docs/stylesheets/extra.css +++ b/docs/stylesheets/extra.css @@ -155,3 +155,19 @@ h1, h2, h3, .md-header__topic { .no-js .md-sidebar { align-self: auto; } + +/* Maintain 16:9 aspect ratio on embedded YT videos */ +.yt-embed { + position: relative; + width: 100%; + padding-bottom: 56.25%; + height: 0; +} + +.yt-embed iframe { + position: absolute; + top:0; + left: 0; + width: 100%; + height: 100%; +} \ No newline at end of file