diff options
author | tdro <tdro@noreply.example.com> | 2022-05-07 01:14:13 -0400 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2022-05-07 01:14:13 -0400 |
commit | f721601e676a752a76757f449242b876dbecb1d0 (patch) | |
tree | c6e2b03a73796a7ba82ee07943996bf5c82bd78d /assets | |
parent | 8d52e2c7584979bafeac33ed644ad10d6a57812b (diff) | |
download | canory-f721601e676a752a76757f449242b876dbecb1d0.tar.gz canory-f721601e676a752a76757f449242b876dbecb1d0.tar.bz2 canory-f721601e676a752a76757f449242b876dbecb1d0.zip |
assets/css/default.css: Streamline self embed
Remove auxiliary elements to make self embeds more compact.
Diffstat (limited to 'assets')
-rw-r--r-- | assets/css/default.css | 18 |
1 files changed, 14 insertions, 4 deletions
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] { |