Skip to content

Commit deb7ec2

Browse files
committed
more responsive
1 parent 001f237 commit deb7ec2

1 file changed

Lines changed: 255 additions & 16 deletions

File tree

style.css

Lines changed: 255 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ td[data-label="Free Limit"] strong {
4747
}
4848
#assistant-entry span::before {
4949
content: "Ask Grok";
50-
font-size: 0.8rem;
50+
font-size: 0.6rem;
5151
line-height: 1.5rem;
5252
}
5353
#assistant-entry svg {
@@ -71,7 +71,7 @@ td[data-label="Free Limit"] strong {
7171
}
7272
.chat-assistant-sheet-header span.font-semibold::before {
7373
content: "Grok";
74-
font-size: 0.8rem;
74+
font-size: 0.6rem;
7575
font-weight: 600;
7676
}
7777
.chat-assistant-sheet-header svg.size-5.text-primary.dark\:text-primary-light {
@@ -193,8 +193,8 @@ td[data-label="Free Limit"] strong {
193193

194194
.pilot-table th,
195195
.pilot-table td {
196-
padding: 0.5rem;
197-
font-size: 0.8rem;
196+
padding: 0.3rem;
197+
font-size: 0.6rem;
198198
}
199199

200200
.text-hero {
@@ -223,8 +223,8 @@ td[data-label="Free Limit"] strong {
223223

224224
.pilot-table th,
225225
.pilot-table td {
226-
padding: 0.5rem;
227-
font-size: 0.8rem;
226+
padding: 0.3rem;
227+
font-size: 0.6rem;
228228
}
229229

230230
.text-hero {
@@ -320,8 +320,8 @@ td[data-label="Free Limit"] strong {
320320

321321
.pilot-table th,
322322
.pilot-table td {
323-
padding: 0.25rem;
324-
font-size: 0.7rem;
323+
padding: 0.2rem;
324+
font-size: 0.6rem;
325325
}
326326

327327
.text-hero {
@@ -363,7 +363,7 @@ td[data-label="Free Limit"] strong {
363363
}
364364

365365
.pilot-table {
366-
min-width: 500px;
366+
min-width: 380px;
367367
}
368368

369369
.pilot-table th:first-child,
@@ -382,7 +382,7 @@ td[data-label="Free Limit"] strong {
382382
}
383383

384384
.pilot-table {
385-
min-width: 450px;
385+
min-width: 380px;
386386
}
387387
}
388388

@@ -393,7 +393,7 @@ td[data-label="Free Limit"] strong {
393393
}
394394

395395
.pilot-table {
396-
min-width: 400px;
396+
min-width: 320px;
397397
}
398398
}
399399

@@ -404,7 +404,7 @@ td[data-label="Free Limit"] strong {
404404
}
405405

406406
.pilot-table {
407-
min-width: 350px;
407+
min-width: 320px;
408408
}
409409
}
410410

@@ -418,15 +418,15 @@ td[data-label="Free Limit"] strong {
418418
/* Mobile info boxes */
419419
@media (max-width: 640px) {
420420
.pilot-section .info {
421-
font-size: 0.8rem;
422-
padding: 0.5rem;
421+
font-size: 0.6rem;
422+
padding: 0.3rem;
423423
}
424424
}
425425

426426
@media (max-width: 375px) {
427427
.pilot-section .info {
428-
font-size: 0.8rem;
429-
padding: 0.5rem;
428+
font-size: 0.6rem;
429+
padding: 0.3rem;
430430
}
431431
}
432432

@@ -593,3 +593,242 @@ td[data-label="Free Limit"] strong {
593593
margin-top: 3.5rem !important;
594594
}
595595
}
596+
597+
/* iPhone 16 Pro and Pro Max specific styles */
598+
@media (max-width: 430px) and (min-width: 376px) {
599+
.pilot-hero {
600+
min-height: 18rem;
601+
padding-left: 0.75rem;
602+
padding-right: 0.75rem;
603+
}
604+
605+
.pilot-section {
606+
padding-top: 2rem;
607+
padding-bottom: 2rem;
608+
padding-left: 0.75rem;
609+
padding-right: 0.75rem;
610+
}
611+
612+
.pilot-section-title {
613+
font-size: 15px;
614+
}
615+
616+
.pilot-table th,
617+
.pilot-table td {
618+
padding: 0.4rem;
619+
font-size: 0.75rem;
620+
}
621+
622+
.text-hero {
623+
font-size: 1.4rem !important;
624+
line-height: 1.2;
625+
}
626+
627+
.pilot-hero-button,
628+
.pilot-footer-button {
629+
padding: 0.6rem 1.2rem !important;
630+
font-size: 0.9rem !important;
631+
}
632+
633+
.pilot-hero p {
634+
font-size: 13px !important;
635+
}
636+
637+
.footer-section {
638+
padding-bottom: 3rem !important;
639+
margin-top: 2.5rem !important;
640+
}
641+
642+
.footer-text {
643+
font-size: 1.2rem !important;
644+
}
645+
646+
.footer-buttons .not-prose.group button {
647+
padding: 0.6rem 1.2rem !important;
648+
font-size: 0.9rem !important;
649+
}
650+
}
651+
652+
/* Enhanced table scaling for all mobile sizes */
653+
@media (max-width: 640px) {
654+
.pilot-table {
655+
min-width: 380px;
656+
}
657+
658+
.pilot-table th,
659+
.pilot-table td {
660+
padding: 0.4rem;
661+
font-size: 0.75rem;
662+
}
663+
}
664+
665+
@media (max-width: 480px) {
666+
.pilot-table {
667+
min-width: 380px;
668+
}
669+
670+
.pilot-table th,
671+
.pilot-table td {
672+
padding: 0.3rem;
673+
font-size: 0.6rem;
674+
}
675+
}
676+
677+
@media (max-width: 430px) {
678+
.pilot-table {
679+
min-width: 320px;
680+
}
681+
682+
.pilot-table th,
683+
.pilot-table td {
684+
padding: 0.2rem;
685+
font-size: 0.65rem;
686+
}
687+
}
688+
689+
@media (max-width: 375px) {
690+
.pilot-table {
691+
min-width: 320px;
692+
}
693+
694+
.pilot-table th,
695+
.pilot-table td {
696+
padding: 0.2rem;
697+
font-size: 0.6rem;
698+
}
699+
}
700+
701+
@media (max-width: 320px) {
702+
.pilot-table {
703+
min-width: 280px;
704+
}
705+
706+
.pilot-table th,
707+
.pilot-table td {
708+
padding: 0.15rem;
709+
font-size: 0.55rem;
710+
}
711+
}
712+
713+
/* More aggressive table container margins for better scrolling */
714+
@media (max-width: 640px) {
715+
.pilot-table-container {
716+
margin-left: -1rem;
717+
margin-right: -1rem;
718+
border-radius: 0;
719+
}
720+
}
721+
722+
@media (max-width: 480px) {
723+
.pilot-table-container {
724+
margin-left: -1.25rem;
725+
margin-right: -1.25rem;
726+
}
727+
}
728+
729+
@media (max-width: 430px) {
730+
.pilot-table-container {
731+
margin-left: -1.5rem;
732+
margin-right: -1.5rem;
733+
}
734+
}
735+
736+
@media (max-width: 375px) {
737+
.pilot-table-container {
738+
margin-left: -1.75rem;
739+
margin-right: -1.75rem;
740+
}
741+
}
742+
743+
@media (max-width: 320px) {
744+
.pilot-table-container {
745+
margin-left: -2rem;
746+
margin-right: -2rem;
747+
}
748+
}
749+
750+
/* iPhone 16 Pro Max specific (430px width) */
751+
@media (max-width: 430px) {
752+
.pilot-hero {
753+
min-height: 17rem;
754+
}
755+
756+
.pilot-section {
757+
padding-top: 1.75rem;
758+
padding-bottom: 1.75rem;
759+
}
760+
761+
.pilot-section-title {
762+
font-size: 14px;
763+
}
764+
765+
.text-hero {
766+
font-size: 1.3rem !important;
767+
}
768+
769+
.pilot-hero p {
770+
font-size: 12px !important;
771+
}
772+
773+
.footer-section {
774+
padding-bottom: 3.5rem !important;
775+
margin-top: 3rem !important;
776+
}
777+
778+
.footer-text {
779+
font-size: 1.1rem !important;
780+
}
781+
}
782+
783+
/* Table content optimization for mobile */
784+
@media (max-width: 640px) {
785+
.pilot-table th:not(:first-child),
786+
.pilot-table td:not(:first-child) {
787+
max-width: 120px;
788+
word-wrap: break-word;
789+
overflow-wrap: break-word;
790+
}
791+
}
792+
793+
@media (max-width: 480px) {
794+
.pilot-table th:not(:first-child),
795+
.pilot-table td:not(:first-child) {
796+
max-width: 100px;
797+
}
798+
}
799+
800+
@media (max-width: 430px) {
801+
.pilot-table th:not(:first-child),
802+
.pilot-table td:not(:first-child) {
803+
max-width: 80px;
804+
}
805+
}
806+
807+
@media (max-width: 375px) {
808+
.pilot-table th:not(:first-child),
809+
.pilot-table td:not(:first-child) {
810+
max-width: 70px;
811+
}
812+
}
813+
814+
@media (max-width: 320px) {
815+
.pilot-table th:not(:first-child),
816+
.pilot-table td:not(:first-child) {
817+
max-width: 60px;
818+
}
819+
}
820+
821+
/* Better table header styling for mobile */
822+
@media (max-width: 640px) {
823+
.pilot-table th {
824+
font-weight: 600;
825+
background-color: rgba(0, 0, 0, 0.8);
826+
}
827+
}
828+
829+
/* Improved table row spacing */
830+
@media (max-width: 640px) {
831+
.pilot-table tr {
832+
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
833+
}
834+
}

0 commit comments

Comments
 (0)