diff --git a/public/s/css/f0ck.css b/public/s/css/f0ck.css index 64ad9fe..6454e59 100644 --- a/public/s/css/f0ck.css +++ b/public/s/css/f0ck.css @@ -2867,10 +2867,45 @@ img#f0ck-image, div.imageDoor, div.posts a, video { grid-template-columns: auto 1fr; align-items: center; background: var(--nav-bg); - padding: 5px; } +.profile_head_avatar { + margin: 5px; +} + +.profile_head_username { + font-weight: bold; + font-size: 20px; +} + .layersoffear { display: grid; - padding-left: 20px; +} + +.user_content_wrapper { + display: grid; + grid-template-columns: 1fr 1fr; + grid-column-gap: 5px; + padding: 5px; +} + +.f0cks h5, .favs h5 { + background: var(--dropdown-bg); +} + +.f0cks-header, .favs-header { + display: grid; + grid-template-columns: 1fr auto; + background: var(--img-border-color); + padding: 0px 5px 0px 5px; +} + +div.f0cks div.posts { + padding: 5px; + background: var(--dropdown-bg); +} + +div.favs div.posts { + padding: 5px; + background: var(--dropdown-bg); } \ No newline at end of file diff --git a/views/user.html b/views/user.html index 8930e95..ac10386 100644 --- a/views/user.html +++ b/views/user.html @@ -11,33 +11,39 @@ {{ user.user }}
- ID: {{ user.user_id }} {{ count.f0cks }} f0ck{{ count.f0cks == 1 ? '' : 's' }} {{ count.favs }} fav{{ count.favs == 1 ? '' : 's' }} Joined: {{ user.created_at }} + ID: {{ user.user_id }} – Joined: {{ user.created_at }}
- -

f0cks:

- @if('items' in f0cks) -
- @each(f0cks.items as item) -

- @endeach +
+
+
+ f0ck{{ count.f0cks == 1 ? '' : 's' }}: {{ count.f0cks }} view +
+ @if('items' in f0cks) +
+ @each(f0cks.items as item) +

+ @endeach +
+ @else + no f0cks given + @endif +
+
+
+ fav{{ count.favs == 1 ? '' : 's' }}: {{ count.favs }} view +
+ @if('items' in favs) +
+ @each(favs.items as item) +

+ @endeach +
+ @else + no favorites + @endif +
- show all f0cks - @else - no f0cks given - @endif - -

favs:

- @if('items' in favs) -
- @each(favs.items as item) -

- @endeach -
- show all favs - @else - no favorites - @endif
@include(snippets/footer)