File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2828 --ifm-color-primary-lightest : # 4fddbf ;
2929 --docusaurus-highlighted-code-line-bg : rgba (0 , 0 , 0 , 0.3 );
3030}
31+
32+ /* Targeting screens smaller than 996px (Docusaurus mobile/tablet breakpoint) */
33+ @media screen and (max-width : 996px ) {
34+ : root {
35+ /* Reduce the base font size globally for mobile */
36+ --ifm-font-size-base : 14px ;
37+
38+ /* Shrink button padding and font size */
39+ --ifm-button-padding-vertical : 6px ;
40+ --ifm-button-padding-horizontal : 12px ;
41+ --ifm-button-font-size : 0.8rem ;
42+ }
43+
44+ /* Specific fix for input fields and textareas */
45+ input ,
46+ textarea ,
47+ select {
48+ font-size : 16px !important ; /* Prevents iOS from auto-zooming on focus */
49+ padding : 8px !important ;
50+ width : 100% ; /* Ensures they don't overflow the container */
51+ box-sizing : border-box;
52+ }
53+
54+ /* Adjust standard button classes if they feel too bulky */
55+ .button {
56+ margin-bottom : 0.5rem ;
57+ display : inline-block;
58+ width : auto;
59+ }
60+
61+ /* If your inputs are inside a specific container that is too wide */
62+ .container {
63+ padding-left : 1rem ;
64+ padding-right : 1rem ;
65+ }
66+ }
You can’t perform that action at this time.
0 commit comments