Browse Source

profile tweaks

George S. Baugh 5 years ago
parent
commit
61536a90b2
2 changed files with 6 additions and 1 deletions
  1. 5 0
      www/styles/screen.css
  2. 1 1
      www/templates/posts.tx

+ 5 - 0
www/styles/screen.css

@@ -347,3 +347,8 @@ p.posteditortitle {
     background-position: center;
     background-size: contain;
 }
+
+.profile {
+    background-size: 75%;
+    background-position-y: center;
+}

+ 1 - 1
www/templates/posts.tx

@@ -81,7 +81,7 @@
                 <div style="background-image:url(<: $post.href :>);" class="responsive preview"></div>
             : }
             : if ( $post.is_profile ) {
-                <div style="background-image:url(<: $post.wallpaper :>);" class="banner">
+                <div style="background-image:url(<: $post.wallpaper :>);" class="banner profile">
                     <div style="background-image:url(<: $post.preview :>);" class="circle portrait"></div>
             : }
             : if( $post.data ) {