Extract display of an album into its own template
[Sone.git] / src / main / resources / static / css / sone.css
index 8b588b8..557ea46 100644 (file)
@@ -738,6 +738,9 @@ textarea {
        height: 250px;
        overflow: hidden;
        padding: -1px;
+}
+
+#sone .image-container {
        border: solid 1px #000;
 }
 
@@ -761,6 +764,26 @@ textarea {
        width: 95%;
 }
 
+#sone .album-container .image-container {
+       position: absolute;
+}
+
+#sone .album-container .link-to-album {
+       display: none;
+}
+
+#sone .album-container:hover .link-to-album {
+       display: block;
+       float: right;
+       z-index: 1;
+       padding: 0.5ex;
+       background-color: #eee;
+       position: relative;
+       top: 250px;
+       right: 0.5ex;
+       margin-top: -2em;
+}
+
 #sone .image .album-sone {
        font-size: 80%;
 }