@@ -98,6 +98,49 @@ th,td {
9898.rst-content dl .group > dd {
9999 margin-left : 0 !important ;
100100}
101+
102+ /* Mobile-responsive styles for distribution table */
103+ @media screen and (max-width : 768px ) {
104+ /* Stack table cells vertically on mobile */
105+ table .distribution-table ,
106+ table .distribution-table tbody ,
107+ table .distribution-table tr ,
108+ table .distribution-table td {
109+ display : block !important ;
110+ width : 100% !important ;
111+ }
112+
113+ /* Remove table cell borders and padding adjustments */
114+ table .distribution-table td {
115+ border : none !important ;
116+ padding : 20px 0 !important ;
117+ text-align : center !important ;
118+ }
119+
120+ /* Add separator between distribution items */
121+ table .distribution-table td : not (: last-child ) {
122+ border-bottom : 2px solid # e1e4e8 !important ;
123+ margin-bottom : 20px !important ;
124+ padding-bottom : 30px !important ;
125+ }
126+
127+ /* Ensure images scale properly on mobile */
128+ table .distribution-table img {
129+ max-width : 250px !important ;
130+ width : 100% !important ;
131+ height : auto !important ;
132+ }
133+
134+ /* Adjust text sizing for mobile */
135+ table .distribution-table span [style *= "font-size: 20px" ] {
136+ font-size : 18px !important ;
137+ }
138+
139+ table .distribution-table span [style *= "font-size: 15px" ] {
140+ font-size : 14px !important ;
141+ padding : 10px 20px !important ;
142+ }
143+ }
101144.rst-content p .breathe-sectiondef-title {
102145 text-decoration : underline; /* for API sub-headings */
103146 font-size : 1.25rem ;
0 commit comments