diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css index fa1d945..3de6ff1 100644 --- a/app/assets/stylesheets/application.css +++ b/app/assets/stylesheets/application.css @@ -276,6 +276,14 @@ div#inside { margin-right: 11px; } +@media screen and (min-resolution: 2dppx) { + #l_holder { + background: #ee0000 url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABmJLR0QAAAD/AAauuCqnAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wsCAS8I72AnqAAAACZpVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVAgb24gYSBNYWOV5F9bAAABE0lEQVRYw+2WMUoEMRSG34uDs4jaW1go2HgBvYOdjb3VnsDKSvAAdh7BM4i9LNiJsJ3gtDMqKDOzZOaLjcIimXUZd3dE8kGa5Cf5XlLkiQQCHaNNC1VVHRhjLqbZBOhHUXTTRiCasFZ+jh1VXfYFnHNvIjJ0zo3mdkVlWW4D7+4bwGOWZWsLeSfg2iNwOYu9zZS5Z8/c6yIF5kYQCAJB4H8LAGfAeScCRVFsisipiBx2IhDHcV9VVUTqWQise+ZWmsLW2n0ROflqLX5VSZqmq0Dq+Q2HeZ5vjGeTJOnVdX0MvIzl7lodbK3dA66AJ9cAUAEPwC1wD4w8mUGrjsgYs6WqRxP7OdUlEdn9oZZKAoHAX+YDqSbY/ekOWr0AAAAASUVORK5CYII=) no-repeat; + background-size: 16px; + background-position: 1px 1px; + } +} + #header h1 { font-size: 11pt; margin: 0px; diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 80ed987..91e6ac8 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -11,6 +11,7 @@ + <% if @short_url %> diff --git a/app/views/stories/_listdetail.html.erb b/app/views/stories/_listdetail.html.erb index 36cba6b..2336509 100644 --- a/app/views/stories/_listdetail.html.erb +++ b/app/views/stories/_listdetail.html.erb @@ -61,7 +61,8 @@ class="story <%= story.vote && story.vote[:vote] == 1 ? "upvoted" : "" %> <% if @user && @user.show_avatars? %> + src="<%= ms.user.avatar_url(16) %>" + srcset="<%= ms.user.avatar_url(32) %> 32w" class="avatar"> <% end %> <% if story.user_is_author? %> @@ -89,7 +90,8 @@ class="story <%= story.vote && story.vote[:vote] == 1 ? "upvoted" : "" %>
<% if @user && @user.show_avatars? %> + src="<%= story.user.avatar_url(16) %>" + srcset="<%= story.user.avatar_url(32) %> 32w" class="avatar"> <% end %> <% if story.user_is_author? %> authored diff --git a/app/views/users/show.html.erb b/app/views/users/show.html.erb index d694edb..058e52f 100644 --- a/app/views/users/show.html.erb +++ b/app/views/users/show.html.erb @@ -17,7 +17,8 @@ <% if @showing_user.is_active? %>
- +
<% end %> diff --git a/public/favicon.ico b/public/favicon.ico index e80e606..450c4fe 100644 Binary files a/public/favicon.ico and b/public/favicon.ico differ