Clear before showing upload-image section.
[Sone.git] / src / main / resources / static / css / sone.css
index e46540a..1767090 100644 (file)
@@ -171,6 +171,14 @@ textarea {
        margin-bottom: 1ex;
 }
 
+#sone .profile-avatar {
+       display: inline-block;
+       width: 80px;
+       height: 80px;
+       overflow: hidden;
+       position: absolute;
+}
+
 #sone .profile-link {
        font-weight: bold;
        color: rgb(28, 131, 191);
@@ -280,6 +288,13 @@ textarea {
        margin-right: 1ex;
 }
 
+#sone .menu-avatar {
+       display: inline-block;
+       width: 64px;
+       height: 64px;
+       overflow: hidden;
+}
+
 #sone .post .sone-menu .inner-menu {
        margin-left: 64px;
        padding-left: 1ex;
@@ -294,6 +309,13 @@ textarea {
        position: absolute;
 }
 
+#sone .post-avatar {
+       display: inline-block;
+       width: 48px;
+       height: 48px;
+       overflow: hidden;
+}
+
 #sone .post > .inner-part {
        margin-left: 48px;
        padding-left: 0.5em;
@@ -438,6 +460,13 @@ textarea {
        position: absolute;
 }
 
+#sone .reply-avatar {
+       display: inline-block;
+       width: 36px;
+       height: 36px;
+       overflow: hidden;
+}
+
 #sone .post .reply > .inner-part {
        margin-left: 36px;
        padding-left: 0.5em;
@@ -771,6 +800,10 @@ textarea {
        float: right;
 }
 
+#sone .clear {
+       clear: both;
+}
+
 #sone h1 {
        font-family: inherit;
        font-size: 200%;
@@ -816,3 +849,28 @@ textarea {
 #sone #sort-options {
        margin-bottom: 1em;
 }
+
+#sone ul#avatar-selection {
+       padding: 0;
+}
+
+#sone #avatar-selection li {
+       display: inline-block;
+}
+
+#sone #avatar-selection li .post-avatar {
+       vertical-align: middle;
+       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;
+}