Difference between revisions of "Template:Communityportal/styles.css"
From Nautical Wiki
(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:...") |
(No difference)
|
Latest revision as of 21:48, 3 October 2019
- 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; } }