handling text alignments
This commit is contained in:
parent
7d0cbf91a4
commit
97160081cd
|
|
@ -8,6 +8,15 @@ article > *:not(.entry-content, .chapter-header-block),
|
||||||
}
|
}
|
||||||
|
|
||||||
.wp-block-table {
|
.wp-block-table {
|
||||||
|
.has-text-align-left {
|
||||||
|
@apply text-left;
|
||||||
|
}
|
||||||
|
.has-text-align-center {
|
||||||
|
@apply text-center;
|
||||||
|
}
|
||||||
|
.has-text-align-right {
|
||||||
|
@apply text-right;
|
||||||
|
}
|
||||||
thead {
|
thead {
|
||||||
@apply bg-gray rounded-xl border-b-0;
|
@apply bg-gray rounded-xl border-b-0;
|
||||||
th {
|
th {
|
||||||
|
|
@ -21,27 +30,18 @@ article > *:not(.entry-content, .chapter-header-block),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
tr {
|
tr {
|
||||||
@apply mt-8;
|
@apply mt-8 border-t border-neutral-200;
|
||||||
td:first-child {
|
|
||||||
@apply border-l-0;
|
|
||||||
}
|
|
||||||
td:last-child {
|
|
||||||
@apply border-r-0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
tr:first-child {
|
|
||||||
td {
|
td {
|
||||||
|
@apply py-3 border-0;
|
||||||
|
}
|
||||||
|
&:first-child {
|
||||||
@apply border-t-0;
|
@apply border-t-0;
|
||||||
}
|
}
|
||||||
}
|
&:last-child {
|
||||||
tr:last-child {
|
|
||||||
td {
|
|
||||||
@apply border-b-0;
|
@apply border-b-0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
td {
|
|
||||||
@apply border border-neutral-200 py-3;
|
|
||||||
}
|
|
||||||
.table-cell-icon {
|
.table-cell-icon {
|
||||||
@apply mx-auto p-2 w-fit h-auto rounded-full flex items-center justify-center relative grow-0;
|
@apply mx-auto p-2 w-fit h-auto rounded-full flex items-center justify-center relative grow-0;
|
||||||
aspect-ratio: 1;
|
aspect-ratio: 1;
|
||||||
|
|
@ -144,7 +144,7 @@ article > *:not(.entry-content, .chapter-header-block),
|
||||||
margin-top: 9px;
|
margin-top: 9px;
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a:not(.wp-block-button__link, .cta) {
|
||||||
@apply text-primary underline font-bold;
|
@apply text-primary underline font-bold;
|
||||||
/* text-decoration: underline; */
|
/* text-decoration: underline; */
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user