From 9e515868d5303aedf7d22f532f2c99ceebf452fb Mon Sep 17 00:00:00 2001 From: Eyal Gruss Date: Fri, 29 Mar 2024 17:09:48 +0300 Subject: [PATCH] factor out object css --- resen/seasons/style.css | 12 ------------ resen/style.css | 14 +++++++++++--- 2 files changed, 11 insertions(+), 15 deletions(-) delete mode 100644 resen/seasons/style.css diff --git a/resen/seasons/style.css b/resen/seasons/style.css deleted file mode 100644 index da0392b..0000000 --- a/resen/seasons/style.css +++ /dev/null @@ -1,12 +0,0 @@ -object { - display: block; - margin-inline: auto; - max-width: var(--media_width); -} - -@media (max-width: 480px) { - object { - margin-inline: var(--anti_margin); - max-width: none; - } -} \ No newline at end of file diff --git a/resen/style.css b/resen/style.css index bbeaafc..5fb10c2 100644 --- a/resen/style.css +++ b/resen/style.css @@ -572,9 +572,12 @@ iframe { background-repeat: no-repeat; border-color: var(--on); border-style: solid; + margin-top: 2rem; +} + +iframe, object { display: block; margin-inline: auto; - margin-top: 2rem; width: var(--media_width); } @@ -1005,12 +1008,17 @@ a.sponsors { margin-inline: 0; } + .kw, nav { + margin-inline: calc(var(--anti_margin) + 8px); + } + li:not(.mono *) { margin-inline-start: 0; } - .kw, nav { - margin-inline: calc(var(--anti_margin) + 8px); + object { + margin-inline: var(--anti_margin); + --media_width: none; } .refs > blockquote {