summaryrefslogtreecommitdiff
path: root/stylesheets
diff options
context:
space:
mode:
authorczaks <marcin@6irc.net>2015-04-23 07:41:36 +0200
committerczaks <marcin@6irc.net>2015-04-23 07:41:49 +0200
commit3f029853802308ca51cc979bc01074bcbc3e9fc9 (patch)
tree14635977c335193ccd36e753a691aad0e6cbcf9e /stylesheets
parent271dcb7a6501ae402344ea6685c7313f49e645d5 (diff)
gallery-view.js: initial commit
Diffstat (limited to 'stylesheets')
-rw-r--r--stylesheets/style.css55
1 files changed, 55 insertions, 0 deletions
diff --git a/stylesheets/style.css b/stylesheets/style.css
index 5ae23cd6..4c4c40f5 100644
--- a/stylesheets/style.css
+++ b/stylesheets/style.css
@@ -1060,3 +1060,58 @@ table.fileboard th, table.fileboard td {
table.fileboard .intro a {
margin-left: 0px;
}
+
+/* Gallery view */
+#gallery_images {
+ position: absolute;
+ right: 0px;
+ bottom: 0px;
+ top: 0px;
+ width: 15%;
+ background-color: rgba(0, 0, 0, 0.4);
+ overflow: auto;
+}
+#gallery_toolbar {
+ position: absolute;
+ right: 15%;
+ left: 0px;
+ bottom: 0px;
+ height: 32px;
+ background-color: rgba(0, 0, 0, 0.4);
+ text-align: right;
+}
+#gallery_images img {
+ width: 100%;
+}
+#gallery_toolbar a {
+ font-size: 28px;
+ padding-right: 5px;
+}
+#gallery_main {
+ position: absolute;
+ left: 0px;
+ right: 15%;
+ bottom: 32px;
+ top: 0px;
+ padding: 10px;
+}
+
+#gallery_images img {
+ opacity: 0.6;
+ -webkit-transition: all 0.5s;
+ transition: all 0.5s;
+}
+#gallery_images img:hover, #gallery_images img.active {
+ opacity: 1;
+}
+#gallery_images img.active {
+ -webkit-box-shadow: 0px 0px 29px 2px rgba(255,255,255,1);
+ -moz-box-shadow: 0px 0px 29px 2px rgba(255,255,255,1);
+ box-shadow: 0px 0px 29px 2px rgba(255,255,255,1);
+ z-index: 1;
+}
+#gallery_main img {
+ max-width: 100%;
+ max-height: 100%;
+ position: absolute;
+}