feat: Add click to zoom for images

This commit is contained in:
Alireza committed 2021-06-30 21:37:09 -04:00
1 parent 39cc3baaad
commit 87de2620e3
5 files changed
+41 -3

No files matched your search

+6
View File
@@ -26,6 +26,7 @@
--ifm-color-secondary: #e8f7f7;
--ifm-code-font-size: 95%;
--ifm-background-color: #ffffff;
--ifm-zoom-image-background-color: #ffffffe5;
--ifm-background-surface-color: #ffffff;
--ifm-menu-color: #1e427e;
--ifm-code-background: #e8f7f7;
@@ -55,6 +56,7 @@ html[data-theme="dark"] {
--ifm-color-secondary: #050719;
--ifm-blockquote-color: #7bb2ce;
--ifm-background-color: #080b2b;
--ifm-zoom-image-background-color: #080b2be5;
--ifm-background-surface-color: #080b2b;
--ifm-menu-color: #7bb2ce;
--ifm-toc-link-color: #7bb2ce;
@@ -67,6 +69,10 @@ html[data-theme="dark"] {
--ifm-alert-color: #000000;
}
.medium-zoom-overlay {
background: var(--ifm-zoom-image-background-color) !important;
}
.header-github-link:hover {
opacity: 0.6;
}