summaryrefslogtreecommitdiff
path: root/style/plugins/caption.scss
diff options
context:
space:
mode:
Diffstat (limited to 'style/plugins/caption.scss')
-rw-r--r--style/plugins/caption.scss22
1 files changed, 22 insertions, 0 deletions
diff --git a/style/plugins/caption.scss b/style/plugins/caption.scss
new file mode 100644
index 0000000..fec2093
--- /dev/null
+++ b/style/plugins/caption.scss
@@ -0,0 +1,22 @@
+#imagelightbox-caption {
+ background-color: #666;
+ bottom: 0;
+ color: #fff;
+ left: 0;
+ padding: 10px;
+ position: fixed;
+ right: 0;
+ text-align: center;
+ z-index: 10001;
+ animation: fade-in .25s linear;
+}
+
+@keyframes fade-in {
+ 0% {
+ opacity: 0;
+ }
+ 100% {
+ opacity: 1;
+ }
+}
+