From e5665d755be57e044bd91058f95ebf0d36e2d470 Mon Sep 17 00:00:00 2001
From: Francis Rowe
+
When a visitor clicks the tumbnail, the fullsize preview will appear in the
center of the screen.
+## Example
+An example page is available in the gh-pages branch, or online on [GitHub Pages](https://thelastproject.github.io/CSSBox/).
+
## License
Creative Commons Zero 1.0
diff --git a/site/common/css/cssbox/cssbox.css b/site/common/css/cssbox/cssbox.css
index 9efc9f0..ca96b53 100644
--- a/site/common/css/cssbox/cssbox.css
+++ b/site/common/css/cssbox/cssbox.css
@@ -1,20 +1,32 @@
/* The work below, CSSBox, is released under the Creative Commons Zero 1.0 license
and is available on https://notabug.org/SylvieLorxu/CSSBox */
-img.cssbox_full {
+span.cssbox_full {
position: fixed;
+ height: 100%;
+ width: 100%;
+ background-color: rgba(0,0,0,0.8);
+ top: 0;
+ left: 0;
+ opacity: 0;
+ visibility: hidden;
+ transition: visibility 0s, opacity 0.5s linear;
+}
+
+span.cssbox_full img {
+ position: fixed;
+ background-color: white;
margin: 0;
padding: 0px;
+ max-height: 90%;
+ max-width: 90%;
top: 50%;
left: 50%;
margin-right: -50%;
transform: translate(-50%, -50%);
border: 5px solid black;
- visibility: hidden;
- opacity: 0;
- transition: visibility 0s, opacity 0.5s linear;
}
-img.cssbox_thumb:focus + img.cssbox_full {
+img.cssbox_thumb:focus + span.cssbox_full {
visibility: visible;
opacity: 1;
}
diff --git a/site/faq/index.php b/site/faq/index.php
index 0170578..2c41548 100644
--- a/site/faq/index.php
+++ b/site/faq/index.php
@@ -713,11 +713,11 @@
SOIC-8 SPI flash chip:
-
+
SOIC-16 SPI flash chip:
-
+
Back to top of page -- cgit v0.9.1