Difference between revisions of "Template:Communityportal/styles.css"

From Nautical Wiki
Jump to: navigation, search
(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

  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; } }