File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7777 gap : 1.1rem ;
7878 background : transparent;
7979 box-shadow : none;
80+ flex-wrap : wrap;
81+ justify-content : center;
8082 }
8183 nav a ,
8284 nav button {
195197 padding : 1.2em 0.5em 1em 0.5em ;
196198 }
197199 }
200+ @media (max-width : 700px ) {
201+ header {
202+ flex-direction : column;
203+ align-items : center;
204+ justify-content : flex-start;
205+ padding : 1.1rem 0.7rem 0.5rem 0.7rem ;
206+ }
207+ .logo-row {
208+ justify-content : center;
209+ width : 100% ;
210+ margin-bottom : 0.7em ;
211+ }
212+ nav {
213+ flex-direction : row;
214+ flex-wrap : wrap;
215+ justify-content : center;
216+ width : 100% ;
217+ gap : 0.7em ;
218+ margin-bottom : 0.5em ;
219+ padding : 0.5em 0 ;
220+ border-radius : 12px ;
221+ box-shadow : var (--shadow );
222+ }
223+ nav a ,
224+ nav button {
225+ justify-content : center;
226+ width : auto;
227+ min-width : 0 ;
228+ margin : 0 ;
229+ font-size : 1.13em ;
230+ padding : 0.6em 0.9em ;
231+ border-radius : 8px ;
232+ }
233+ .sponsor-btn ,
234+ .stars-btn ,
235+ .toggle-btn {
236+ font-size : 1.13em ;
237+ padding : 0.6em 0.9em ;
238+ border-radius : 8px ;
239+ }
240+ }
198241 </ style >
199242 </ head >
200243 < body >
209252 < span class ="brand "> SproutPHP</ span >
210253 </ div >
211254 < nav >
212- < a href ="index.html "> Home</ a >
255+ < a href ="./ index.html "> Home</ a >
213256 < a href ="https://sproutphp.github.io/documentation/ "> Docs</ a >
214257 < a
215258 href ="https://github.com/sponsors/yanikkumar "
You can’t perform that action at this time.
0 commit comments