Merge branch 'release-0.9.7'
[Sone.git] / src / main / resources / static / css / sone.css
index 2d9d503..5ea5f64 100644 (file)
@@ -440,6 +440,50 @@ textarea {
        color: green;
 }
 
+#sone .post .linked-elements {
+       margin-top: 1ex;
+}
+
+#sone .linked-element.loaded .image {
+       display: inline-block;
+       border: solid 1px black;
+       width: 160px;
+       height: 120px;
+       background-size: cover;
+       background-position: center;
+       margin-right: 1ex;
+       margin-bottom: 1ex;
+}
+
+#sone .linked-element.loaded .html-page {
+       display: inline-block;
+       width: 160px;
+       max-height: 120px;
+       overflow: hidden;
+       vertical-align: top;
+}
+
+#sone .reply .linked-element.loaded .html-page {
+       width: 120px;
+       max-height: 90px;
+}
+
+#sone .linked-element.loaded .html-page .heading {
+       font-size: 115%;
+       font-weight: 600;
+       text-overflow: ellipsis;
+       overflow: hidden;
+       white-space: nowrap;
+}
+
+#sone .linked-element.loaded .html-page .description {
+       font-size: 85%;
+}
+
+#sone .linked-element.loaded .html-page {
+       display: inline-block;
+}
+
 #sone .post .replies {
        clear: both;
        padding-top: 0.2ex;
@@ -496,6 +540,21 @@ textarea {
        font-size: inherit;
 }
 
+#sone .post .reply .linked-elements {
+       margin-top: 1ex;
+}
+
+#sone .post .reply .linked-element.loaded .image {
+       display: inline-block;
+       border: solid 1px black;
+       width: 120px;
+       height: 90px;
+       background-size: cover;
+       background-position: center;
+       margin-right: 1ex;
+       margin-bottom: 1ex;
+}
+
 #sone .post .show-reply-form {
        display: inline;
 }
@@ -800,6 +859,10 @@ textarea {
        float: right;
 }
 
+#sone .clear {
+       clear: both;
+}
+
 #sone h1 {
        font-family: inherit;
        font-size: 200%;
@@ -856,5 +919,17 @@ textarea {
 
 #sone #avatar-selection li .post-avatar {
        vertical-align: middle;
-       margin-bottom: 0.5em;
+       margin-top: 0.5em;
+}
+
+#sone #avatar-selection li#no-avatar {
+       display: block;
+}
+
+#sone form#options ul {
+       padding-left: 1em;
+}
+
+#sone form#options li {
+       list-style-type: none;
 }