mirror of
https://github.com/iv-org/invidious.git
synced 2025-08-07 05:52:37 -04:00
Minor CSS cleanup
This commit is contained in:
parent
f2c35b975f
commit
420c2be348
4 changed files with 83 additions and 16 deletions
|
@ -11,8 +11,8 @@
|
|||
<% if !featured_channel_categories.empty? %>
|
||||
<% featured_channel_categories.each do | category | %>
|
||||
<div class="channel-section pure-u-1">
|
||||
<details open="">
|
||||
<summary style="display: revert;">
|
||||
<details open="" class="category">
|
||||
<summary style="display: revert;" class="category-heading">
|
||||
<span style="font-weight: bold;">
|
||||
<% if category.url %>
|
||||
<a href="<%=category.url%>">
|
||||
|
@ -24,7 +24,7 @@
|
|||
</h3>
|
||||
</summary>
|
||||
<% contents = category.contents%>
|
||||
<div class="pure-g section-contents">
|
||||
<div class="pure-g category-contents">
|
||||
<% if contents.is_a?(Array) %>
|
||||
<% contents.each do |item|%>
|
||||
<% if !item.is_a?(SearchChannel)%>
|
||||
|
|
|
@ -26,8 +26,8 @@
|
|||
</div>
|
||||
|
||||
<div class="trailer-metadata pure-u-1 pure-u-md-1-3">
|
||||
<a style="color:rgb(209, 209, 209)"><%= HTML.escape(section.title) %></a>
|
||||
<p style="color: gray;">
|
||||
<a class="trailer-title"><%= HTML.escape(section.title) %></a>
|
||||
<p class="trailer-timestamp">
|
||||
<%= translate(locale, "`x` views", number_to_short_text(section.views || 0)) %>
|
||||
<%= translate(locale, "Shared `x` ago", recode_date(section.published, locale)) %>
|
||||
</p>
|
||||
|
@ -40,8 +40,8 @@
|
|||
<% else %>
|
||||
<div class="category pure-u-1">
|
||||
<details open = "">
|
||||
<summary style="display: revert;">
|
||||
<a class="category-heading" href="<%=section.url%>"> <%= section.title %> </a>
|
||||
<summary style="display: revert;" class="category-heading">
|
||||
<a href="<%=section.url%>"> <%= section.title %> </a>
|
||||
</summary>
|
||||
|
||||
<div class="category-description h-box">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue