Extract display of an album into its own template
[Sone.git] / src / main / resources / static / css / sone.css
index b7ae3b7..557ea46 100644 (file)
@@ -355,6 +355,7 @@ textarea {
 
 #sone .post .linked-album {
        display: table;
+       margin-top: 1ex;
        border-collapse: collapse;
 }
 
@@ -392,8 +393,12 @@ textarea {
 }
 
 #sone .post .linked-image .about-image .title {
+       font-size: 110%;
        font-weight: bold;
-       margin-bottom: 0.5ex;
+}
+
+#sone .post .linked-image .about-image .description {
+       margin-top: 0.5ex;
 }
 
 #sone .post .status-line {
@@ -733,6 +738,9 @@ textarea {
        height: 250px;
        overflow: hidden;
        padding: -1px;
+}
+
+#sone .image-container {
        border: solid 1px #000;
 }
 
@@ -756,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%;
 }