style(first-screen): optimized font color setting
This commit is contained in:
parent
4d89ea984f
commit
bfcde2c571
|
@ -11,7 +11,7 @@ const { enable: sc_enable, links: sc_links } = theme.social_contact
|
|||
<% if (final_description.length || fs_hitokoto.enable) { %>
|
||||
<div class="description hitokoto">
|
||||
<% for (const idx in final_description) { %>
|
||||
<div><%= final_description[idx] %></div>
|
||||
<div class="desc-item"><%= final_description[idx] %></div>
|
||||
<% } %>
|
||||
</div>
|
||||
<% } %>
|
||||
|
|
|
@ -40,6 +40,10 @@ $first-screen-font-color = $temp-font-color ? convert($temp-font-color) : var(--
|
|||
line-height 1.8
|
||||
text-align center
|
||||
|
||||
.desc-item {
|
||||
color $first-screen-font-color
|
||||
}
|
||||
|
||||
+keep-tablet() {
|
||||
font-size $first-screen-font-size * 0.9
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue