File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,38 +32,58 @@ body {
3232 padding-left : 30px ;
3333}
3434
35+
3536.col.software {
37+ width : 100% ;
38+ text-align : center ;
39+ height : 100% ;
40+ padding-left : 20px ; // ↓ reduce from 50
41+ padding-right : 20px ;
42+
43+ table {
44+ border : none ;
3645 width : 100% ;
37- text-align :center ;
38- height :100% ;
39- padding-left :50px ;
40- padding-right :50px ;
41-
42- table {
43- align :center ;
44- border :none ;
45- }
46-
47- tr {
48- colspan :2 ;
49- border :none ;
50- }
51-
52- td {
53- padding-top :20px ;
54- padding-right :40px ;
55- padding-left :40px ;
56- text-align :center ;
57- border :none ;
58- }
59-
46+ }
47+
48+ tr {
49+ border : none ;
50+ }
51+
52+ td {
53+ padding-top : 20px ;
54+ padding-right : 15px ; // ↓ reduce from 40
55+ padding-left : 15px ;
56+ text-align : center ;
57+ border : none ;
58+ box-sizing : border-box ; // IMPORTANT
59+ }
6060}
6161
6262img .software-logo {
6363 max-width : 120px ;
6464 height : auto ;
6565}
6666
67+ /* Tablet + mobile: force 2 columns instead of 3 */
68+ @media screen and (max-width : 900px ) {
69+
70+ .software table {
71+ width : 100% ;
72+ }
73+
74+ .software table tr {
75+ display : flex ;
76+ flex-wrap : wrap ;
77+ justify-content : center ;
78+ }
79+
80+ .software table td {
81+ width : 48% ; /* 2 columns */
82+ margin : 1% ;
83+ box-sizing : border-box ;
84+ }
85+ }
86+
6787img .social-media {
6888 height : 1.3em ;
6989 display : inline ;
You can’t perform that action at this time.
0 commit comments