Explorar el Código

profile tweaks

George S. Baugh hace 5 años
padre
commit
61536a90b2
Se han modificado 2 ficheros con 6 adiciones y 1 borrados
  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 ) {