css: fix site name flickering black on page load.
Fix regression in 7bbe6e9d. Caused by CSS specificity conflict.
This commit is contained in:
@@ -10,6 +10,7 @@ $spacer: 0.25rem; /* 4px */
|
||||
|
||||
.font-arial { font-family: var(--arial-font); }
|
||||
.font-monospace { font: var(--monospace-font); }
|
||||
.font-header { font-family: var(--header-font); }
|
||||
.font-bold { font-weight: bold; }
|
||||
|
||||
.cursor-pointer { cursor: pointer; }
|
||||
@@ -46,7 +47,9 @@ $spacer: 0.25rem; /* 4px */
|
||||
|
||||
.pointer-events-none { pointer-events: none; }
|
||||
.select-none { user-select: none; }
|
||||
.leading-none { line-height: 1; }
|
||||
|
||||
.leading-none { line-height: 1; }
|
||||
.leading-normal { line-height: 1.5; }
|
||||
|
||||
.absolute { position: absolute; }
|
||||
.relative { position: relative; }
|
||||
|
||||
@@ -61,7 +61,7 @@
|
||||
<%= render "news_updates/listing" %>
|
||||
|
||||
<header id="top" class="mb-4">
|
||||
<%= link_to Danbooru.config.app_name, root_path, id: "app-name-header", class: "heading" %>
|
||||
<%= link_to Danbooru.config.app_name, root_path, id: "app-name-header", class: "font-bold font-header leading-normal" %>
|
||||
|
||||
<div id="maintoggle" class="mobile-only">
|
||||
<a href="#"><%= menu_icon(id: "maintoggle-on") %></a>
|
||||
|
||||
Reference in New Issue
Block a user