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 52
52
color : var (--primary );
53
53
}
54
54
}
55
-
55
+
56
56
& .unclickable {
57
57
pointer-events : none ;
58
58
}
59
-
59
+
60
60
:hover {
61
61
color : var (--text-one );
62
62
background-color : var (--surface-three );
63
63
}
64
64
}
65
-
65
+
66
66
a {
67
67
text-decoration : none ;
68
68
user-select : none ;
72
72
justify-content : center ;
73
73
padding : 10px 16px ;
74
74
}
75
-
75
+
76
76
span {
77
+ display : flex ;
78
+ justify-content : center ;
79
+
77
80
font-weight : 400 ;
78
81
font-size : 0.9rem ;
79
82
letter-spacing : 0.02rem ;
Original file line number Diff line number Diff line change 75
75
<Navigation href =" /" label =" Home" >Home</Navigation >
76
76
<Navigation queryKey =" manager" href =" /download" label =" Download" >Download</Navigation >
77
77
<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 >
85
87
<Navigation queryKey =" contributors" href =" /contributors" label =" Contributors" >
86
88
Contributors
87
89
</Navigation >
91
93
</ul >
92
94
</div >
93
95
<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 >
94
115
<button
95
116
on:click ={() => (dialogs .settings = ! dialogs .settings )}
96
117
class:selected ={dialogs .settings }
125
146
<style lang =" scss" >
126
147
#secondary-navigation {
127
148
display : flex ;
128
-
149
+ gap : 1 rem ;
129
150
button {
130
151
border-radius : 10px ;
131
152
padding : 10px 16px ;
You can’t perform that action at this time.
0 commit comments