UX: Style edits (#19927)

This commit is contained in:
Jordan Vidrine
2023-02-15 11:02:16 -06:00
committed by GitHub
parent c20b381508
commit d40143371b
3 changed files with 87 additions and 31 deletions

View File

@@ -9,12 +9,9 @@
<%= theme_lookup("head_tag") %>
<%= render_google_universal_analytics_code %>
<%= yield :head %>
<% if show_browser_update? %>
<style>.buorg {position:absolute; z-index:111111; width:100%; top:0px; left:0px; background:#FDF2AB; text-align:left; font-family: sans-serif; color:#000; font-size: 14px;} .buorg div {padding: 8px;} .buorg a, .buorg a:visited {color:#E25600; text-decoration: underline;} @media print { .buorg { display: none !important; } }</style>
<% end %>
<%= build_plugin_html 'server:before-head-close-crawler' %>
</head>
<body class="crawler">
<body class="crawler <% if show_browser_update? %>browser-update<% end %>">
<%= theme_lookup("header") %>
<%= render partial: "layouts/noscript_header" %>
<div id="main-outlet" class="wrap" role="main">

View File

@@ -38,7 +38,7 @@
<% end %>
<% end %>
<div itemscope itemtype='http://schema.org/ItemList'>
<div class="topic-list-container" itemscope itemtype='http://schema.org/ItemList'>
<meta itemprop='itemListOrder' content='http://schema.org/ItemListOrderDescending'>
<table class='topic-list'>
@@ -109,7 +109,7 @@
</div>
<% if @list.topics.length > 0 && @list.more_topics_url %>
<div role='navigation' itemscope itemtype='http://schema.org/SiteNavigationElement'>
<div class="navigation" role='navigation' itemscope itemtype='http://schema.org/SiteNavigationElement'>
<% if params[:page].to_i > 0 %>
<span itemprop='name'><a href='<%= @list.prev_topics_url %>' rel='prev' itemprop='url'><%= t 'prev_page' %></a> &nbsp;</span>
<% end %>