From f721601e676a752a76757f449242b876dbecb1d0 Mon Sep 17 00:00:00 2001 From: tdro Date: Sat, 7 May 2022 01:14:13 -0400 Subject: assets/css/default.css: Streamline self embed Remove auxiliary elements to make self embeds more compact. --- assets/css/default.css | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) (limited to 'assets') diff --git a/assets/css/default.css b/assets/css/default.css index 81fea52..d764b8e 100644 --- a/assets/css/default.css +++ b/assets/css/default.css @@ -406,16 +406,16 @@ figure { iframe { width: 100%; - border: 1px solid #ccc; - border: 1px solid var(--border-darker); + border: 2px solid #ccc; + border: 2px solid var(--border-darker); background-color: #fefefe; border-radius: 0.75rem !important; min-height: 16rem; } self-embed iframe { - min-height: 16rem; - max-height: 16rem; + min-height: 14rem; + max-height: 14rem; } img { @@ -1621,6 +1621,16 @@ kbd { micro-card { width: 100vw; } + micro-summary { + min-height: 14rem; + } + :not(#main):target micro-summary, + :not(#main):target micro-summary:hover { + outline: none; + } + :target::before { + display: none; + } footer, column-middle nav, navigation-separator hr[hidden] { -- cgit v1.2.3