Skip to content

Commit

Permalink
enh: Zoom iframes out
Browse files Browse the repository at this point in the history
  • Loading branch information
TEParsons committed Oct 5, 2024
1 parent d3d6ca1 commit 5efac31
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs_src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ Below are some implementations of Landing with various styles, as an example.
## Catppuccin
Catppuccin is a community-driven pastel theme that aims to be the middle ground between low and high contrast themes. It consists of 4 soothing warm flavors with 26 eye-candy colors each, perfect for coding, designing, and much more!

<iframe src=https://teparsons.github.io/mkdocs-landing/gallery/catppuccin></iframe>
<iframe src=https://teparsons.github.io/mkdocs-landing/gallery/catppuccin class=zoomed-out></iframe>
[<i class="fa-regular fa-file-code"></i> mkdocs.yaml file](https://github.com/TEParsons/mkdocs-landing/blob/main/gallery/catppuccin/mkdocs.yaml)
6 changes: 6 additions & 0 deletions mkdocs_landing/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,12 @@ iframe {
margin: 1rem -1rem;
border: 2px solid var(--overlay);
border-radius: 1rem;

}
iframe.zoomed-out {
zoom: 0.5;
height: 60rem;
border-width: 4px;
}

.altmetric-citation {
Expand Down

0 comments on commit 5efac31

Please sign in to comment.