mirror of
https://github.com/imfing/hextra.git
synced 2025-05-13 13:16:26 -04:00

* 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
22 lines
544 B
CSS
22 lines
544 B
CSS
@media (max-width: 767px) {
|
|
.sidebar-container {
|
|
@apply hx-fixed hx-pt-[calc(var(--navbar-height))] hx-top-0 hx-w-full hx-bottom-0 hx-z-[15] hx-overscroll-contain hx-bg-white dark:hx-bg-dark;
|
|
transition: transform 0.8s cubic-bezier(0.52, 0.16, 0.04, 1);
|
|
will-change: transform, opacity;
|
|
contain: layout style;
|
|
backface-visibility: hidden;
|
|
}
|
|
}
|
|
|
|
.sidebar-container {
|
|
li > div {
|
|
@apply hx-h-0;
|
|
}
|
|
li.open > div {
|
|
@apply hx-h-auto hx-pt-1;
|
|
}
|
|
li.open > a > span > svg > path {
|
|
@apply hx-rotate-90;
|
|
}
|
|
}
|