Template:Communityportal/styles.css

From Nautical Wiki
Revision as of 20:48, 3 October 2019 by John (talk | contribs) (Created page with "#siteContainer { text-align: center; } .siteItem { display: inline-block; clear: both; padding: 0 0.1%; } @media screen and ( max-width: 720px ) { .siteItem { padding:...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
  1. siteContainer { text-align: center; }

.siteItem { display: inline-block; clear: both; padding: 0 0.1%; }

@media screen and ( max-width: 720px ) { .siteItem { padding: unset; width: 49.5%; margin: 2% 0; } .siteItem:nth-of-type(even) { float: left; clear: none; } .siteItem:nth-of-type(odd) { float: right; } #siteContainer:after { content: ; clear: both; display: block; } }