Template:InfoCard/styles.css: Difference between revisions
Jump to navigation
Jump to search
Created page with ".wiki-template-infocard { border: 1px solid var( --border-color-subtle, #c8ccd1 ); box-shadow: 0 1px 1px rgba( 0, 0, 0, 0.15 ); border-radius: 2px; padding: 1em; display: flex; flex-direction: column; justify-content: space-between; align-content: stretch; } .wiki-template-infocard-title { padding: 0 0 0.5625em 0; margin: 0; } .wiki-template-infocard-content { clear: both; flex: 1 1 auto; } .wiki-template-infocard-footer { padding-top: 1.5em; } @media sc..." |
(No difference)
|
Latest revision as of 20:20, 30 January 2025
.wiki-template-infocard {
border: 1px solid var( --border-color-subtle, #c8ccd1 );
box-shadow: 0 1px 1px rgba( 0, 0, 0, 0.15 );
border-radius: 2px;
padding: 1em;
display: flex;
flex-direction: column;
justify-content: space-between;
align-content: stretch;
}
.wiki-template-infocard-title {
padding: 0 0 0.5625em 0;
margin: 0;
}
.wiki-template-infocard-content {
clear: both;
flex: 1 1 auto;
}
.wiki-template-infocard-footer {
padding-top: 1.5em;
}
@media screen {
html.skin-theme-clientpref-night .wiki-template-infocard-title img {
filter: invert(1);
}
}
@media screen and (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .wiki-template-infocard-title img {
filter: invert(1);
}
}