File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -257,6 +257,7 @@ a:hover {
257257 top : var (--header-height );
258258 z-index : 99 ;
259259 background : var (--color-primary-dark );
260+ box-shadow : 0 1px 0 rgba (255 , 255 , 255 , 0.1 ) inset;
260261}
261262
262263.nav-toggle {
@@ -265,9 +266,7 @@ a:hover {
265266
266267.site-tabs {
267268 display : flex;
268- align-items : flex-end;
269269 padding : 0 var (--space-md );
270- padding-top : var (--space-xs );
271270 max-width : calc (var (--max-content ) + 2 * var (--sidebar-width ) + 2 * var (--space-xl ));
272271 margin : 0 auto;
273272}
@@ -278,23 +277,23 @@ a:hover {
278277 font-weight : 500 ;
279278 text-transform : uppercase;
280279 letter-spacing : 0.04em ;
281- padding : var (--space-xs ) var (--space-sm );
280+ padding : 0 var (--space-sm );
281+ height : var (--tab-height );
282282 display : flex;
283283 align-items : center;
284+ border-bottom : 2px solid transparent;
284285 white-space : nowrap;
285- border-radius : 4px 4px 0 0 ;
286286}
287287
288288.site-tabs a : hover {
289289 color : # fff ;
290- background : rgba (255 , 255 , 255 , 0.1 );
291290 text-decoration : none;
292291}
293292
294293.site-tabs a .active {
295- color : var ( --color-fg ) ;
294+ color : # fff ;
296295 font-weight : 700 ;
297- background : var (--color-bg );
296+ border-bottom : 3 px solid var (--color-accent );
298297}
299298
300299/* Three-column layout */
You can’t perform that action at this time.
0 commit comments