summaryrefslogtreecommitdiff
path: root/style/plugins/caption.scss
diff options
context:
space:
mode:
authorVictor Häggqvist <[email protected]>2016-01-16 14:14:59 +0100
committerVictor Häggqvist <[email protected]>2016-01-16 14:14:59 +0100
commit7307889639b68064e642ae65bf98d9856c10922b (patch)
treeda71fa8e52c05b163c2e3150286d148845763872 /style/plugins/caption.scss
parentbe8351486ad1e8c04d4d521a151d54861932ee0b (diff)
finalize convertion of existing plugins
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;
+ }
+}
+