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) { %>
|
<% if (final_description.length || fs_hitokoto.enable) { %>
|
||||||
<div class="description hitokoto">
|
<div class="description hitokoto">
|
||||||
<% for (const idx in final_description) { %>
|
<% for (const idx in final_description) { %>
|
||||||
<div><%= final_description[idx] %></div>
|
<div class="desc-item"><%= final_description[idx] %></div>
|
||||||
<% } %>
|
<% } %>
|
||||||
</div>
|
</div>
|
||||||
<% } %>
|
<% } %>
|
||||||
|
|
|
@ -40,6 +40,10 @@ $first-screen-font-color = $temp-font-color ? convert($temp-font-color) : var(--
|
||||||
line-height 1.8
|
line-height 1.8
|
||||||
text-align center
|
text-align center
|
||||||
|
|
||||||
|
.desc-item {
|
||||||
|
color $first-screen-font-color
|
||||||
|
}
|
||||||
|
|
||||||
+keep-tablet() {
|
+keep-tablet() {
|
||||||
font-size $first-screen-font-size * 0.9
|
font-size $first-screen-font-size * 0.9
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue