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