formatting fix
This commit is contained in:
parent
5a9200e814
commit
14c5fa7237
2 changed files with 30 additions and 38 deletions
|
|
@ -46,12 +46,10 @@
|
|||
}
|
||||
|
||||
& > li {
|
||||
display: grid;
|
||||
text-align: left;
|
||||
|
||||
grid-template-columns: auto 1fr;
|
||||
grid-template-rows: auto auto;
|
||||
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-start;
|
||||
text-align: start;
|
||||
|
||||
&::before {
|
||||
display: inline-block;
|
||||
|
|
@ -64,24 +62,19 @@
|
|||
mask-repeat: no-repeat;
|
||||
mask-size: contain;
|
||||
mask-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGNsYXNzPSJsdWNpZGUgbHVjaWRlLWNpcmNsZS1jaGVjay1pY29uIGx1Y2lkZS1jaXJjbGUtY2hlY2siPjxjaXJjbGUgY3g9IjEyIiBjeT0iMTIiIHI9IjEwIi8+PHBhdGggZD0ibTkgMTIgMiAyIDQtNCIvPjwvc3ZnPg==);
|
||||
grid-column: 1;
|
||||
grid-row: 1/ -1;
|
||||
place-self: center;
|
||||
}
|
||||
|
||||
& > span {
|
||||
grid-column: 2;
|
||||
& > div {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
flex-direction: column;
|
||||
justify-content: flex-start;
|
||||
|
||||
&:only-child {
|
||||
align-self: center;
|
||||
grid-row: 1/-1;
|
||||
}
|
||||
|
||||
&:first-child {
|
||||
& :first-child {
|
||||
font-size: 1.1em;
|
||||
}
|
||||
|
||||
&:last-child:not(:only-child) {
|
||||
& :last-child:not(:only-child) {
|
||||
font-size: 0.9em;
|
||||
font-weight: lighter;
|
||||
font-style: italic;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue