File tree Expand file tree Collapse file tree 2 files changed +36
-12
lines changed
Expand file tree Collapse file tree 2 files changed +36
-12
lines changed Original file line number Diff line number Diff line change 5252 color : var (--primary );
5353 }
5454 }
55-
55+
5656 & .unclickable {
5757 pointer-events : none ;
5858 }
59-
59+
6060 :hover {
6161 color : var (--text-one );
6262 background-color : var (--surface-three );
6363 }
6464 }
65-
65+
6666 a {
6767 text-decoration : none ;
6868 user-select : none ;
7272 justify-content : center ;
7373 padding : 10px 16px ;
7474 }
75-
75+
7676 span {
77+ display : flex ;
78+ justify-content : center ;
79+
7780 font-weight : 400 ;
7881 font-size : 0.9rem ;
7982 letter-spacing : 0.02rem ;
Original file line number Diff line number Diff line change 7575 <Navigation href =" /" label =" Home" >Home</Navigation >
7676 <Navigation queryKey =" manager" href =" /download" label =" Download" >Download</Navigation >
7777 <Navigation queryKey =" patches" href =" /patches" label =" Patches" >Patches</Navigation >
78- <Navigation
79- queryKey ={[' announcements' , ' announcementTags' ]}
80- href =" /announcements"
81- label =" Announcements"
82- >
83- Announcements
84- </Navigation >
78+ <span class =" mobile-only" >
79+ <Navigation
80+ queryKey ={[' announcements' , ' announcementTags' ]}
81+ href =" /announcements"
82+ label =" Announcements"
83+ >
84+ Announcements
85+ </Navigation >
86+ </span >
8587 <Navigation queryKey =" contributors" href =" /contributors" label =" Contributors" >
8688 Contributors
8789 </Navigation >
9193 </ul >
9294 </div >
9395 <div id =" secondary-navigation" >
96+ <span class =" desktop-only" >
97+ <Navigation
98+ queryKey ={[' announcements' , ' announcementTags' ]}
99+ href =" /announcements"
100+ label =" Announcements"
101+ >
102+ <svg
103+ xmlns =" http://www.w3.org/2000/svg"
104+ height =" 24px"
105+ viewBox =" 0 -960 960 960"
106+ width =" 24px"
107+ fill =" currentColor"
108+ >
109+ <path
110+ d =" M720-440v-80h160v80H720Zm48 280-128-96 48-64 128 96-48 64Zm-80-480-48-64 128-96 48 64-128 96ZM200-200v-160h-40q-33 0-56.5-23.5T80-440v-80q0-33 23.5-56.5T160-600h160l200-120v480L320-360h-40v160h-80Zm360-146v-268q27 24 43.5 58.5T620-480q0 41-16.5 75.5T560-346Z"
111+ />
112+ </svg >
113+ </Navigation >
114+ </span >
94115 <button
95116 on:click ={() => (dialogs .settings = ! dialogs .settings )}
96117 class:selected ={dialogs .settings }
125146<style lang =" scss" >
126147 #secondary-navigation {
127148 display : flex ;
128-
149+ gap : 1 rem ;
129150 button {
130151 border-radius : 10px ;
131152 padding : 10px 16px ;
You can’t perform that action at this time.
0 commit comments