Difference between revisions of "Template:InfoCard/styles.css"
Jump to navigation
Jump to search
(4 intermediate revisions by the same user not shown) | |||
Line 23: | Line 23: | ||
width: 10em; | width: 10em; | ||
display: inline-block; | display: inline-block; | ||
− | margin: | + | margin: auto; |
+ | text-align: center; | ||
} | } |
Latest revision as of 13:43, 17 April 2024
.wiki-template-infocard { border: 1px solid #ccc; box-shadow: 0 2px 2px rgba( 0, 0, 0, 0.15 ); border-radius: 2px; padding: 1em; } .wiki-template-infocard-title { padding: 0 0 0.5625em 0; margin: 0; } .wiki-template-infocard-content-center { display: block; margin: auto; } .wiki-template-infocard-small { border: 1px solid #ccc; box-shadow: 0 2px 2px rgba( 0, 0, 0, 0.15 ); border-radius: 2px; padding: .5em; width: 10em; display: inline-block; margin: auto; text-align: center; }