Files
SEONexus/code/public/static/css/modules/head/head_21.css
2025-12-31 00:49:32 +08:00

86 lines
1.6 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/* head_21.css */
.__PFX__-h21-wrap{
padding:12px 12px 6px;
background:
radial-gradient(circle at 0% 0%, var(--grad-start) 0, transparent 55%),
radial-gradient(circle at 100% 0%, var(--grad-end) 0, transparent 55%),
var(--bg-color);
border-bottom:1px solid var(--border-color);
}
.__PFX__-h21-top{
display:flex;
flex-direction:column;
gap:8px;
}
.__PFX__-h21-logo{
font-size:20px;
font-weight:700;
color:var(--primary-color);
}
.__PFX__-h21-search{
display:flex;
gap:6px;
}
.__PFX__-h21-search input{
flex:1;
padding:7px 10px;
border-radius:999px;
border:1px solid var(--border-color);
background:var(--bg-soft-color);
font-size:13px;
}
.__PFX__-h21-searchBtn{
padding:7px 10px;
border-radius:999px;
border:none;
background:var(--primary-color);
color:#fff;
font-size:12px;
}
/* 类别导航横向滚动PC 居中展示 */
.__PFX__-h21-nav{
margin-top:8px;
overflow-x:auto;
}
.__PFX__-h21-navInner{
display:flex;
gap:10px;
padding:4px 2px 2px;
min-width:100%;
}
.__PFX__-h21-navInner a{
font-size:12px;
padding:4px 8px;
border-radius:999px;
background:var(--bg-soft-color);
white-space:nowrap;
}
.__PFX__-h21-navInner a.active{
background:var(--primary-color);
color:#fff;
}
@media(min-width:768px){
.__PFX__-h21-top{
flex-direction:row;
align-items:center;
justify-content:space-between;
}
.__PFX__-h21-logo{
font-size:22px;
}
.__PFX__-h21-navInner{
justify-content:flex-start;
}
}