Template:Before and after/styles.css: Difference between revisions
Template page
More actions
Content deleted Content added
Tesinormed (talk | contribs) No edit summary |
Tesinormed (talk | contribs) No edit summary |
||
| Line 10: | Line 10: | ||
text-align: left; |
text-align: left; |
||
white-space: pre-wrap; |
white-space: pre-wrap; |
||
} |
|||
.template--before_and_after :nth-child(3n-2) ul { |
|||
list-style: none; |
|||
} |
} |
||
| Line 19: | Line 23: | ||
text-align: right; |
text-align: right; |
||
white-space: pre-wrap; |
white-space: pre-wrap; |
||
} |
|||
.template--before_and_after :nth-child(3n) ul { |
|||
list-style: none; |
|||
} |
} |
||
Revision as of 08:22, January 31, 2025
.template--before_and_after {
margin: 0 auto;
width: 80%;
display: grid;
grid-template-columns: 3fr 2fr 3fr;
gap: var(--space-sm);
}
.template--before_and_after :nth-child(3n-2) {
text-align: left;
white-space: pre-wrap;
}
.template--before_and_after :nth-child(3n-2) ul {
list-style: none;
}
.template--before_and_after :nth-child(3n-1) {
text-align: center;
}
.template--before_and_after :nth-child(3n) {
text-align: right;
white-space: pre-wrap;
}
.template--before_and_after :nth-child(3n) ul {
list-style: none;
}