Template:Glavna/Sodržańje/styles.css
< Template:Glavna | Sodržańje
/*
* Topics block on the main page.
*/
.mp-topics {
column-count: 2;
column-width: 15rem;
}
.mp-topics > * {
align-items: flex-start;
display: flex;
flex-basis: 50%;
margin-bottom: 1rem;
page-break-inside: avoid;
}
/* Styles for icon */
.mp-topics__icon {
flex: 0 auto;
margin-right: 0.5rem;
}
@supports (mix-blend-mode: screen) {
.mp-topics__icon {
background: currentColor;
border-radius: 4px;
}
}
.mp-topics__icon > img {
mix-blend-mode: screen;
border-radius: 8px;
}
/* Content */
.mp-topics__content,
.mp-topics__content > ul {
/* Required in Firefox */
page-break-inside: avoid;
}