forked from drowl87/hextra_mirror

* feat: add prefix to tailwind css classes * fix: remove unnecessary prefixes * fix: add missing prefix in other places * chore: regenerate hugo_stats.json * chore: run `npm run build:css` * chore: add `hx-` prefix to _index.fa.md * fix: lang switcher display issue * fix: add `hx-` prefix to showcase/index.fa.md * fix: lang switch param mistake
39 lines
1.2 KiB
CSS
39 lines
1.2 KiB
CSS
.search-wrapper {
|
|
li {
|
|
@apply hx-mx-2.5 hx-break-words hx-rounded-md contrast-more:hx-border hx-text-gray-800 contrast-more:hx-border-transparent dark:hx-text-gray-300;
|
|
a {
|
|
@apply hx-block hx-scroll-m-12 hx-px-2.5 hx-py-2;
|
|
}
|
|
|
|
.title {
|
|
@apply hx-text-base hx-font-semibold hx-leading-5;
|
|
}
|
|
|
|
.active {
|
|
@apply hx-rounded-md hx-bg-primary-500/10 contrast-more:hx-border-primary-500;
|
|
}
|
|
}
|
|
|
|
.no-result {
|
|
@apply hx-block hx-select-none hx-p-8 hx-text-center hx-text-sm hx-text-gray-400;
|
|
}
|
|
|
|
.prefix {
|
|
@apply hx-mx-2.5 hx-mb-2 hx-mt-6 hx-select-none hx-border-b hx-border-black/10 hx-px-2.5 hx-pb-1.5 hx-text-xs hx-font-semibold
|
|
hx-uppercase hx-text-gray-500 first:hx-mt-0 dark:hx-border-white/20 dark:hx-text-gray-300 contrast-more:hx-border-gray-600
|
|
contrast-more:hx-text-gray-900 contrast-more:dark:hx-border-gray-50 contrast-more:dark:hx-text-gray-50;
|
|
}
|
|
|
|
.excerpt {
|
|
@apply hx-overflow-hidden hx-text-ellipsis hx-mt-1 hx-text-sm hx-leading-[1.35rem] hx-text-gray-600 dark:hx-text-gray-400 contrast-more:dark:hx-text-gray-50;
|
|
display: -webkit-box;
|
|
line-clamp: 1;
|
|
-webkit-line-clamp: 1;
|
|
-webkit-box-orient: vertical;
|
|
}
|
|
|
|
.match {
|
|
@apply hx-text-primary-600;
|
|
}
|
|
}
|