@@ -69,13 +69,11 @@ Top navigation bar for the application. It provides a slot for the left side, th
69
69
style:z-index ={$overlay_open && ($searching || $on_this_page_open ) ? 80 : null }
70
70
aria-label =" Primary"
71
71
>
72
- <a class ="home-link" href ="/" title ={home_title }>
73
- <strong >svelte</strong >
74
- </a >
72
+ <a class ="home-link" href ="/" title ={home_title } aria-label =" Svelte" ></a >
75
73
76
74
{#if title }
77
75
<div class =" current-section mobile" >
78
- | {title }
76
+ {title }
79
77
</div >
80
78
{/if }
81
79
@@ -167,6 +165,7 @@ Top navigation bar for the application. It provides a slot for the left side, th
167
165
font-size : 0.8em ;
168
166
color : var (--sk-text-3 );
169
167
margin-left : 0.4em ;
168
+ padding : 0.1rem 0 0 0 ;
170
169
}
171
170
172
171
@media (max-width : 800px ) {
@@ -184,7 +183,7 @@ Top navigation bar for the application. It provides a slot for the left side, th
184
183
.menu :global(a ) {
185
184
color : var (--sk-text-2 );
186
185
line-height : 1 ;
187
- padding : 0 0.3 em ;
186
+ padding : 0.1 rem 0.5 rem 0 0.5 rem ;
188
187
white-space : nowrap ;
189
188
height : 100% ;
190
189
display : flex ;
@@ -202,31 +201,12 @@ Top navigation bar for the application. It provides a slot for the left side, th
202
201
}
203
202
204
203
.home-link {
205
- max-width : max-content ;
204
+ --padding-right : 1rem ;
205
+ width : 13rem ;
206
206
height : 100% ;
207
- display : flex ;
208
- background-image : url (../branding/svelte-logo.svg );
209
- background-position : calc (var (--sk-page-padding-side ) - 1rem ) 50% ;
210
- background-repeat : no-repeat ;
211
- background-size : auto 70% ;
212
- align-items : center ;
213
- padding-left : calc (var (--sk-page-padding-side ) + 4rem );
214
- padding-right : 2rem ;
215
- text-decoration : none ;
216
- text-transform : uppercase ;
217
- letter-spacing : 0.05em ;
218
- font-size : 1.8rem ;
219
- color : var (--sk-text-4 );
220
-
221
- strong {
222
- position : relative ;
223
- color : var (--sk-text-1 );
224
- font-weight : inherit ;
225
-
226
- @media (min-width : 800px ) {
227
- top : 1px ;
228
- }
229
- }
207
+ background : url (../branding/svelte.svg ) no-repeat var (--sk-page-padding-side ) 50% /
208
+ calc (100% - var (--sk-page-padding-side ) - var (--padding-right )) auto ;
209
+ padding : 0 var (--padding-right ) 0 calc (var (--sk-page-padding-side ) + 0rem );
230
210
}
231
211
232
212
.mobile-menu {
@@ -306,6 +286,11 @@ Top navigation bar for the application. It provides a slot for the left side, th
306
286
}
307
287
308
288
@media (min-width : 800px ) {
289
+ .home-link {
290
+ --padding-right : 2rem ;
291
+ width : 18rem ;
292
+ }
293
+
309
294
nav {
310
295
display : grid ;
311
296
grid-template-columns : auto 1fr 1fr ;
0 commit comments