File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -652,7 +652,7 @@ ${extraHead}</head>
652652 <a href="${ base } index.html#skills">${ t . nav . skills } </a>
653653 <a href="${ base } index.html#tools">${ t . nav . tools } </a>
654654 <a href="${ base } index.html#faq">${ t . nav . faq } </a>
655- <a href="${ base } sponsors.html">${ t . nav . sponsors } </a>
655+ <a href="${ base } sponsors.html"${ pageClean === 'sponsors' ? ' class="active" aria-current="page"' : '' } >${ t . nav . sponsors } </a>
656656 <a href="https://aiolaola.com/?utm_source=sp1" target="_blank" rel="noopener">${ t . nav . learn } </a>
657657 <a href="https://github.com/jnMetaCode/superpowers-zh" target="_blank" rel="noopener">${ t . nav . github } </a>
658658 ${ langSwitch }
Original file line number Diff line number Diff line change @@ -69,6 +69,7 @@ body::before {
6969.nav nav > * { flex : 0 0 auto; white-space : nowrap; }
7070.nav nav a { color : var (--text-dim ); transition : color .2s ; }
7171.nav nav a : hover { color : var (--text ); }
72+ .nav nav a .active { color : var (--text ); } /* 当前页:只提亮,不加粗 */
7273
7374main { position : relative; z-index : 1 ; }
7475section { max-width : var (--maxw ); margin : 0 auto; padding : 80px 24px ; }
You can’t perform that action at this time.
0 commit comments