|
3 | 3 |
|
4 | 4 | } |
5 | 5 |
|
6 | | -/* Completely hide social icons on small mobile viewports (<=600px) as requested */ |
7 | | -@media (max-width: 600px) { |
8 | | - .md-social, |
9 | | - .md-footer .md-social, |
10 | | - .md-social *, |
11 | | - .md-footer .md-social * { |
12 | | - display: none !important; |
13 | | - visibility: hidden !important; |
14 | | - } |
15 | | -} |
16 | | - |
17 | 6 | .md-header__button.md-logo img { |
18 | 7 | width: 34px; |
19 | 8 | height: auto; |
|
299 | 288 | } |
300 | 289 | } |
301 | 290 |
|
302 | | -/* Center the outer social container on small mobile viewports only |
303 | | - Keep social icons inline (do not stack them). */ |
304 | 291 | @media (max-width: 600px) { |
305 | 292 | /* Center the social container itself */ |
306 | 293 | .md-social, |
|
325 | 312 | } |
326 | 313 | } |
327 | 314 |
|
| 315 | +\ |
| 316 | +.md-footer-meta__inner.md-grid { |
| 317 | + display: flex !important; |
| 318 | + flex-direction: column !important; |
| 319 | + align-items: center !important; |
| 320 | + justify-content: center !important; |
| 321 | + gap: 0.25rem !important; |
| 322 | + text-align: center !important; |
| 323 | +} |
| 324 | + |
| 325 | +.md-footer-meta__inner.md-grid .md-social { |
| 326 | + display: block !important; |
| 327 | +} |
| 328 | + |
| 329 | +.md-footer-meta__inner.md-grid .md-social a { |
| 330 | + display: inline-block !important; |
| 331 | + margin: 0 0.25rem !important; |
| 332 | +} |
| 333 | + |
| 334 | +/* Center only the copyright line without affecting social icons */ |
| 335 | +.md-footer .md-copyright, |
| 336 | +.md-footer-meta__inner.md-grid .md-copyright { |
| 337 | + display: block !important; |
| 338 | + width: 100% !important; |
| 339 | + text-align: center !important; |
| 340 | + margin: 0.25rem 0 !important; |
| 341 | +} |
| 342 | + |
| 343 | +.md-footer .md-social, |
| 344 | +.md-footer-meta__inner.md-grid .md-social { |
| 345 | + display: inline-block !important; |
| 346 | + vertical-align: middle !important; |
| 347 | +} |
| 348 | + |
| 349 | + |
| 350 | + |
328 | 351 |
|
329 | 352 |
|
330 | 353 |
|
0 commit comments