Show Sone logo when not logged in, show avatar when logged in.
[Sone.git] / src / main / resources / static / css / sone.css
index afb97c0..5f43ae3 100644 (file)
@@ -67,16 +67,10 @@ textarea {
 
 #sone #profile.online .picture {
        position: absolute;
-       background-image: url("../images/sone.png");
-       width: 80px;
-       height: 80px;
 }
 
 #sone #profile.offline .picture {
        position: absolute;
-       background-image: url("../images/sone-offline.png");
-       width: 80px;
-       height: 80px;
 }
 
 #sone #profile.offline .edit-profile-link, #sone #profile.offline .profile-link {
@@ -138,6 +132,16 @@ textarea {
        border-bottom: none;
 }
 
+#sone .post > .avatar {
+       position: absolute;
+}
+
+#sone .post > .inner-part {
+       margin-left: 48px;
+       padding-left: 0.5em;
+       min-height: 48px;
+}
+
 #sone .post .author {
        display: inline;
        font-weight: bold;
@@ -149,7 +153,6 @@ textarea {
 }
 
 #sone .post .status-line {
-       clear: both;
        margin-top: 0.5ex;
        font-size: 85%;
 }
@@ -201,6 +204,16 @@ textarea {
        padding-top: 0.2ex;
 }
 
+#sone .post .reply > .avatar {
+       position: absolute;
+}
+
+#sone .post .reply > .inner-part {
+       margin-left: 36px;
+       padding-left: 0.5em;
+       min-height: 36px;
+}
+
 #sone .post .reply {
        clear: both;
        background-color: #f0f0ff;
@@ -251,12 +264,12 @@ textarea {
 
 #sone .post .create-reply input[type=text] {
        margin-left: 0.5ex;
-       width: 50em;
+       width: 45em;
 }
 
 #sone .post .create-reply textarea {
        margin-left: 0.5ex;
-       width: 50em;
+       width: 45em;
        height: 4em;
 }
 
@@ -356,7 +369,7 @@ textarea {
 
 }
 
-#sone #tail .import-key, #sone #import-key .import-key {
+#sone #tail {
        margin-top: 1em;
        border-top: solid 1px #ccc;
        padding-top: 1em;