File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9393.hsection {
9494 width : 70% ;
9595 margin : 0 auto;
96+ overflow-x : hidden;
9697}
9798
9899.preview-image {
99100 width : 150% ;
101+ max-width : 150% ;
100102 display : block;
101103 content : url ('/static/images/misc/preview.png' );
102104 position : relative;
223225 100% {
224226 transform : translateX (0 );
225227 }
228+ }
229+
230+ /* Mobile responsive styles */
231+ @media (max-width : 768px ) {
232+ .htitle {
233+ font-size : 2.5em ;
234+ }
235+
236+ .hsubtitle {
237+ font-size : var (--text-lg );
238+ }
239+
240+ .hsection {
241+ width : 90% ;
242+ }
243+
244+ .preview-image {
245+ width : 100% ;
246+ max-width : 100% ;
247+ }
248+
249+ .h2columns > div {
250+ min-width : 100% ;
251+ }
252+
253+ .logo {
254+ width : 120px ;
255+ height : 120px ;
256+ }
257+
258+ .logo-container {
259+ height : 120px ;
260+ }
261+ }
262+
263+ @media (max-width : 600px ) {
264+ .htitle {
265+ font-size : 2em ;
266+ }
267+
268+ .hsubtitle {
269+ font-size : var (--text-base );
270+ }
271+
272+ .hsubtext {
273+ font-size : var (--text-sm );
274+ }
275+
276+ .hsection {
277+ width : 95% ;
278+ }
279+
280+ .h2columns ,
281+ .h3columns {
282+ padding : 0 0.5rem ;
283+ }
284+
285+ .logo {
286+ width : 100px ;
287+ height : 100px ;
288+ }
289+
290+ .logo-container {
291+ height : 100px ;
292+ }
226293}
Original file line number Diff line number Diff line change @@ -6,12 +6,14 @@ html, body {
66 background : var (--bg );
77 color : var (--fg );
88 line-height : 1.6 ;
9+ overflow-x : hidden;
910}
1011
1112body {
1213 width : 100% ;
1314 max-width : var (--container-width );
1415 margin : 0 auto;
16+ overflow-x : hidden;
1517}
1618
1719a {
5658 border-bottom : 1px solid var (--border );
5759 top : 0 ;
5860 background-color : var (--bg );
61+ flex-wrap : wrap;
62+ gap : 0.5rem ;
5963}
6064
6165.nav-left {
@@ -69,14 +73,24 @@ nav {
6973
7074.nav-links {
7175 display : flex;
76+ flex-wrap : wrap;
7277 list-style : none;
7378 gap : 1rem ;
7479}
7580
7681.nav-right {
82+ display : flex;
83+ align-items : center;
84+ flex-wrap : wrap;
85+ gap : 0.5rem ;
86+ }
87+
88+ .nav-icons {
7789 display : flex;
7890 align-items : center;
7991 gap : 0.5rem ;
92+ flex-wrap : nowrap;
93+ white-space : nowrap;
8094}
8195
8296.nav-right .icon-btn ,
@@ -420,4 +434,64 @@ blockquote {
420434
421435.lightbox-close : hover {
422436 opacity : 0.7 ;
437+ }
438+
439+ /* Mobile responsive navigation */
440+ @media (max-width : 768px ) {
441+ nav {
442+ padding : 0.5em ;
443+ margin : 0 0.5em ;
444+ justify-content : flex-start;
445+ }
446+
447+ .nav-left {
448+ flex : 0 0 auto;
449+ }
450+
451+ .nav-right {
452+ flex : 1 1 auto;
453+ justify-content : flex-end;
454+ }
455+
456+ .nav-right .nav-links {
457+ margin-right : 0.5rem ;
458+ }
459+
460+ .insights-container ,
461+ .insight-page ,
462+ .team-container {
463+ width : 90% ;
464+ }
465+ }
466+
467+ @media (max-width : 600px ) {
468+ nav {
469+ padding : 0.5em 0.25em ;
470+ margin : 0 0.25em ;
471+ justify-content : center;
472+ }
473+
474+ .nav-left {
475+ flex : 0 0 100% ;
476+ justify-content : center;
477+ margin-bottom : 0.5rem ;
478+ }
479+
480+ .nav-right {
481+ flex : 1 1 auto;
482+ justify-content : center;
483+ }
484+
485+ .nav-right .nav-links {
486+ margin-right : 0 ;
487+ justify-content : center;
488+ }
489+
490+ .nav-links {
491+ gap : 0.75rem ;
492+ }
493+
494+ .nav-icons {
495+ flex-shrink : 0 ;
496+ }
423497}
Original file line number Diff line number Diff line change 1111 < a href ="" class ="external-link "> < li > Docs</ li > </ a >
1212 < a href ="/team/ "> < li > Team</ li > </ a >
1313 </ ul >
14- < a href ="https://github.com/codeclash-ai/codeclash " class ="icon-btn " aria-label ="GitHub " title ="Check out our code on GitHub " target ="_blank " rel ="noopener noreferrer ">
15- < img src ="/static/images/logos/github-mark.svg " class ="theme-icon " alt ="GitHub " />
16- </ a >
17- < a href ="https://join.slack.com/t/swe-bench/shared_invite/zt-36pj9bu5s-o3_yXPZbaH2wVnxnss1EkQ " class ="icon-btn " aria-label ="Slack " title ="Join us on Slack " target ="_blank " rel ="noopener noreferrer ">
18- < img src ="/static/images/logos/slack.svg " class ="theme-icon " alt ="Slack " />
19- </ a >
20- < button
21- id ="theme-toggle "
22- class ="theme-toggle "
23- aria-label ="Toggle theme "
24- title ="Toggle dark/bright mode "
25- >
26- < img src ="/static/images/misc/sun.svg " class ="theme-icon sun-icon " alt ="Light mode " />
27- < img src ="/static/images/misc/moon.svg " class ="theme-icon moon-icon " alt ="Dark mode " />
28- </ button >
14+ < div class ="nav-icons ">
15+ < a href ="https://github.com/codeclash-ai/codeclash " class ="icon-btn " aria-label ="GitHub " title ="Check out our code on GitHub " target ="_blank " rel ="noopener noreferrer ">
16+ < img src ="/static/images/logos/github-mark.svg " class ="theme-icon " alt ="GitHub " />
17+ </ a >
18+ < a href ="https://join.slack.com/t/swe-bench/shared_invite/zt-36pj9bu5s-o3_yXPZbaH2wVnxnss1EkQ " class ="icon-btn " aria-label ="Slack " title ="Join us on Slack " target ="_blank " rel ="noopener noreferrer ">
19+ < img src ="/static/images/logos/slack.svg " class ="theme-icon " alt ="Slack " />
20+ </ a >
21+ < button
22+ id ="theme-toggle "
23+ class ="theme-toggle "
24+ aria-label ="Toggle theme "
25+ title ="Toggle dark/bright mode "
26+ >
27+ < img src ="/static/images/misc/sun.svg " class ="theme-icon sun-icon " alt ="Light mode " />
28+ < img src ="/static/images/misc/moon.svg " class ="theme-icon moon-icon " alt ="Dark mode " />
29+ </ button >
30+ </ div >
2931 </ div >
3032</ nav >
You can’t perform that action at this time.
0 commit comments