diff --git a/app/views/layouts/crawler.html.erb b/app/views/layouts/crawler.html.erb index 732043da7..82091e398 100644 --- a/app/views/layouts/crawler.html.erb +++ b/app/views/layouts/crawler.html.erb @@ -11,7 +11,38 @@ <%= render_google_universal_analytics_code %> <%= yield :head %> <style> - img { max-width: 100%; width: auto; height: auto; } + header img { + max-width: 90%; + } + + img { max-width: 100%; width: auto; height: auto; } + + #main-outlet > div { + margin-bottom: 15px; + } + + footer nav a { + margin-right: 15px; + } + + footer nav { + line-height: 30px; + } + + body { + max-width: 98%; + padding-left: 1%; + } + .topic-list > div > a { + margin-right: 10px; + } + .topic-list > div .posts { + margin-left: 10px; + } + .topic-list > div { + margin-bottom: 15px; + } + </style> </head> <body> diff --git a/app/views/list/list.erb b/app/views/list/list.erb index 386a74f34..23f6f8cc3 100644 --- a/app/views/list/list.erb +++ b/app/views/list/list.erb @@ -25,9 +25,9 @@ </a> <%= page_links(t) %> <% if (!@category || @category.has_children?) && t.category %> - <span>[<a href='<%= t.category.url %>'><%= t.category.name %></a>]</span> + <span class='category'>[<a href='<%= t.category.url %>'><%= t.category.name %></a>]</span> <% end %> - <span title='<%= t 'posts' %>'>(<a href="<%=t.last_post_url%>"><%= t.posts_count %></a>)</span> + <span class='posts' title='<%= t 'posts' %>'>(<a href="<%=t.last_post_url%>"><%= t.posts_count %></a>)</span> </div> <% end %> </div> diff --git a/app/views/topics/show.html.erb b/app/views/topics/show.html.erb index 583a0d640..010999cc9 100644 --- a/app/views/topics/show.html.erb +++ b/app/views/topics/show.html.erb @@ -20,7 +20,7 @@ <%= server_plugin_outlet "topic_header" %> <hr> -<%- unless mobile_view? %> +<%- if include_crawler_content? %> <% @topic_view.posts.each do |post| %> <div itemscope itemtype='http://schema.org/Article'>