Add generic parsed class that displays whitespace correctly.
[Sone.git] / src / main / resources / static / css / sone.css
index 371a86d..25faa7a 100644 (file)
@@ -93,6 +93,10 @@ textarea {
        border: none;
 }
 
+#sone .parsed {
+       white-space: pre-wrap;
+}
+
 #sone #notification-area {
        margin-top: 1em;
 }
@@ -239,11 +243,15 @@ textarea {
        font-weight: bold;
 }
 
-#sone .post .text {
+#sone .post .text, #sone .post .raw-text {
        display: inline;
        white-space: pre-wrap;
 }
 
+#sone .post .text.hidden, #sone .post .raw-text.hidden {
+       display: none;
+}
+
 #sone .post .status-line {
        margin-top: 0.5ex;
        font-size: 85%;
@@ -254,6 +262,10 @@ textarea {
        color: rgb(28, 131, 191);
 }
 
+#sone .show-source, #sone .show-reply-source {
+       display: inline;
+}
+
 #sone .post .bookmarks {
        display: inline;
        color: rgb(28, 131, 191);
@@ -537,6 +549,37 @@ textarea {
        position: relative;
 }
 
+#sone .backlinks {
+       font-size: 80%;
+}
+
+#sone .backlinks .backlink {
+       display: inline;
+}
+
+#sone .album {
+       float: left;
+}
+
+#sone .image {
+       width: 200px;
+       height: 150px;
+       display: table-cell;
+       vertical-align: middle;
+       text-align: center;
+       padding: 0.5ex;
+}
+
+#sone .image img {
+       padding: 1ex;
+       border: solid 1px #000;
+       background-color: #fff;
+}
+
+#sone .backlinks .separator {
+       display: inline;
+}
+
 #sone #tail {
        margin-top: 1em;
        border-top: solid 1px #ccc;